I want to see class, function and variable/property, dependencies visually, like NDepend, but for ActionScript 2 or AS3 code.
Any programs or ideas? (Use Doxygen in some way?, FlexUnit?)
Short version
Is there a design pattern for distributing vehicle labels in a non-overlapping fashion, placing them as close as possible to the vehicle they refer to? If not, is any of the method I suggest viable? How would you implement this yourself?
Extended version
In the game I'm writing I have a bird-eye vision of my airborne vehicles.…
I'm currently working on a simple AABB collision system and after some fiddling the sweeping of a single box vs. another and the calculation of the response velocity needed to push them apart works flawlessly.
Now on to the new problem, imagine I'm having a stack of boxes which are falling towards a ground box which isn't moving:
Each of these…
I have pieces in my game which have stats and cost assigned to them and they can only be placed at a certain location.
Lets say I have 50 pieces.
e.g.
Piece1 = 100 stats, 10 cost, Position A.
Piece2 = 120 stats, 5 cost, Position B.
Piece3 = 500 stats, 50 cost, Position C.
Piece4 = 200 stats, 25 cost, Position A.
and so on..
I have a board on…
I want to be able to analyze a texture in real time and approximate a polygon to represent a silhouette. Imagine a person standing in front of a green screen and I want to approximately trace around their outline and get a 2D polygon as the result. Are there algorithms to do this and are they fast enough to work frame-to-frame in a game?
(I…
In my game I have a set of tiles placed in a 2D array marked by their Xs and Zs ([1,1],[1,2], etc).
Now, I want a sort of "Paint Bucket" mechanism: Selecting a tile will destroy all adjacent tiles until a condition stops it, let's say, if it hits an object with hasFlag.
Here's what I have so far, I'm sure it's pretty bad, it also freezes…
In the given diagram, I have the extreme left and right points, that is -2 and 4 in this case. So, obviously, I can calculate the width which is 6 in this case.
What we know:
The number of partitions:3 in this case
The partition number at at any point i.e which one is 1st,second or third partition
(numbered starting from left)
What I…
I have a track that can be divided into n number of tracks and a car as GamObject.
The track has transforms such that some part of the track's width lies in negative x axis and other in positive.
Requirement:
One move should cross one track.
On every move(left or right), I want the car to reach exact centre of the next track on either…
First of all, I don't have much experience on game development but I do have experience on development. I do know how to make a map, but I don't know if my solution is a normal or a hacky solution. I don't want to waste my time coding things, and realise they're utterly crap and lose my motivation.
Let's imagine the following map.…
I implement a torpedo object that chases a rotating planet. Specifically, it will turn toward the planet each update. Initially my implement was:
void move() {
vector3<float> to_target = target - get_position();
to_target.normalize();
position += (to_target * speed);
}
which works perfectly for…
I'm looking to draw irregular shapes on an x,y grid, and I'd like to come up with a simple, fast method if possible. My only idea so far is to draw a bunch of circles of random sizes very near each other, but at a random distance apart from a more or less central coordinate, then fill in any blank spaces. I realize this is a…
I have a set of square blocks, I want to draw them in a window. I am sure the coordinates calculation is correct. But on the screen, some squares' edge overlap with other, some are not.
I remember the problem is caused by accuracy of pixels. I remember there's a specific topic related to this kind of problem in 2D image…
Given a free text, I need to analyse this this text and suggest a list of tags from a pre existing list.
What algorithms are out there in the market?
Can they handle a case where, for example, the text have a word like
high cholesterol
and I would like it so suggest
heart disease
although "high cholesterol"…
I have groups of students that need to be allocated into classrooms of a fixed capacity (say, 100 chairs in each).
Each group must only be allocated to a single classroom, even if it is larger than the capacity (ie there can be an overflow, with students standing up)
I need an algorithm to make the allocations with…
SQL Server Analysis Service have many features which are commonly requested and many already exists in the system. Security Data Entry is very important feature and SSAS supports writeback feature. Analysis Services is a tool for aggregating information and providing business users with the ability to analyze…
Preparing myself also to ISTQB certification, I found they call static analysis actually as a static testing, while some engineering book distinct between static analysis and testing, which is the dynamic activity. I tent to think that static analysis is not a testing in the true sense as it does not test, it…
Hi all! Interesting question for you here.
I'm working in Flex/AS3 on (for simplicity) an XML editor. I need to provide undo/redo functionality.
Of course, one solution is to store the entire source text with each edit. However, to conserve memory, I'd like to store the diffs instead (these diffs will…
We have 30+ apache httpd servers, and are looking to perform analysis on the logs both for historical trending and near "real time" monitoring/alerting. I'm mainly interested in things like error rates (4xx/5xx), response time, overall request rate, etc. but it would also be very useful to pull out more…
Reporting and Analysis is the basis for all Oracle EPM reporting components. Through the Java based Reporting and Analysis web application deployed on WebLogic, it enables users to browse through reports for all kind of Oracle EPM reporting components.
Typical users access the web…
Given two sorted lists, each containing n real numbers, is there a O(log?n) time algorithm to compute the element of rank i (where i coresponds to index in increasing order) in the union of the two lists, assuming the elements of the two lists are distinct?
I can think of using a Merge…
Given two sorted lists, each containing n real numbers, is there a O(log?n) time algorithm to compute the element of rank i (where i coresponds to index in increasing order) in the union of the two lists, assuming the elements of the two lists are distinct?
I can think of using a Merge…
i will be analysing vast amount of network traffic related data shortly. i will pre-process the data in order to analyse it. i have found that R and SPSS are among the most popular tools for statistical analysis. i will also be generating quite a lot of graphs and charts. so i was…
Before recognizing a pdf, OCR software do document layout analysis to determine
which parts are texts, tables or images, as shown in the picture below.
![papercrop]http://cache.gawkerassets.com/assets/images/17/2011/07/papercrop.jpg
I want to use some parts of the text while…
I have a heavy-duty algorithm in C# that takes two large Bitmaps of about 10000x5000 and performs photo and ray collision operations on a 3D model to map photos on the 3D model.
I would like to know if it is possible to convert such an algorithm to OpenCL to optimize parallel…
I'm getting such an headache trying to elaborate an appropriate algorithm to go from a START position to a EXIT position in a maze.
For what is worth, the maze is rectangular, maxsize 500x500 and, in theory, is resolvable by DFS with some branch and bound techniques ...
10 3…