343 reputation
112
bio website jakesee.com
location Singapore, Singapore
age
visits member for 2 years, 9 months
seen Jul 2 at 17:35

Thinking


May
28
revised as3 flash game: How to stop gotoAndPlay('label') from looping?
deleted 1 characters in body
May
28
revised as3 flash game: How to stop gotoAndPlay('label') from looping?
added 439 characters in body
May
28
comment as3 flash game: How to stop gotoAndPlay('label') from looping?
Please see edit. Not sure if that is what you want.
May
28
revised as3 flash game: How to stop gotoAndPlay('label') from looping?
added 249 characters in body
May
27
comment Randomly generated track
Actually this is like the A* star algorithm except you do not find the shortest path with least cost; instead you find the path where (cost - length) < 2 (for +/- 2)...
May
27
answered Stack based state design for isometric character movement, am I doing it right?
May
27
answered Opponent car logic in race games
May
27
answered as3 flash game: How to stop gotoAndPlay('label') from looping?
May
27
comment as3 flash game: How to stop gotoAndPlay('label') from looping?
The code will not gotoAndPlay unless the if condition is met. You need to tell us (or flash) the conditions you want to gotoAndPlay and the conditions when you do not want to gotoAndPlay.... we have no idea what logic effects gotoAndPlay has on your game so it's hard to tell the conditions.
May
27
comment as3 flash game: How to stop gotoAndPlay('label') from looping?
You said you know why it is looping. But we don't know why. Can you please explain exactly what is the problem? If you don't want it to loop, then what do you want it to do, and under what conditions?
May
27
comment Randomly generated track
Can you give examples of valid tracks? Don't really understand the specifications of a "track", "Matrix", "Length" and "Corner".
May
27
revised How to iterate through a list of enemies and display results?
added 315 characters in body
May
27
answered How to iterate through a list of enemies and display results?
May
21
comment How to export all animation to Milkshape 3D using WOW Model Viewer?
It's illegal? I got the impression it's fine since so many use it for machinima. I am just going to read the data for my personal educational purposes. Not going to re-redistribute or modify the mesh. I'd better check again.
May
19
comment Determinism in multiplayer simulation with Box2D, and single computer
@itjax thanks for following up. I have changed my code related to inputs and so far there were only 2 instances where the simulations diverged. And I cannot seem to replicate it easily. Currently running the simulations for an extended amount of time on different machines to see if I can reproduce the issue. As of now, it's hard to re-post my problem into a proper question.
May
19
asked How to export all animation to Milkshape 3D using WOW Model Viewer?
May
18
comment Determinism in multiplayer simulation with Box2D, and single computer
Maybe you are imagining me sitting on a couch drinking coffee while waiting for others to guess my mistake. Sorry to say, I am actually trying all ways to debug. Perhaps if you are interested in the bounty, you could at least suggest which part of my code you want to see. Or simply comment whether my steps as posted presents any sync issues and guess where else I can look at. I will appreciate that, really. Afterall, guessing is not bad a technique especially when you have problems never encountered before.
May
18
comment Determinism in multiplayer simulation with Box2D, and single computer
+1 Thanks for your very constructive suggestion. I actually got the bodies collection in the same order, but you made me realise there may be a race condition between glutKeyboardFunc and glutTimerFunc... I just need to check now.
May
18
comment Determinism in multiplayer simulation with Box2D, and single computer
@JoeWreschnig I don't understand, why don't I need to confirm whether Box2D is deterministic first? I definitely think I should know my tools first even before I start coding to have anything to debug in the first place. From the vague FAQ (to me only, I have bad English I suppose) I had the impression that Box2D is deterministic (see my definition above) so I wrote a simple setup to test and I find it to behave otherwise. That's the primary reason this question is here. Is not about the client-server setup. If I run my own bad physics replacing b2World.Simulation(), everything syncs.
May
18
comment Determinism in multiplayer simulation with Box2D, and single computer
@PatrickHughes Can I humbly direct a simple question to you please: Is Box2D deterministic, given the same code, same compiler, running 2 separate instances in the same computer with exactly the same inputs (ie. I send single keyboard input to both instances), with the same number of simulation steps and fixed const time step?