Phyron Posted September 3, 2014 Share Posted September 3, 2014 Hi! I need show the way the ball will follow, like peggle game: Image of peggle: http://static1.gamespot.com/uploads/original/1535/15354745/2640600-5244429411-23989.png I have thought about creating a invisible sprite (1px), and shot this sprite every update, and create sprite of track each position. But I think it is a bad solution Any idea? Link to comment Share on other sites More sharing options...
Nepoxx Posted September 3, 2014 Share Posted September 3, 2014 This should help: http://gamemechanicexplorer.com/#bullets-5 Link to comment Share on other sites More sharing options...
Phyron Posted September 3, 2014 Author Share Posted September 3, 2014 WOW!!Great examples!! THAKS!!! Link to comment Share on other sites More sharing options...
szocske Posted September 3, 2014 Share Posted September 3, 2014 Hi, I was wondering about the same thing!The example "simulates" the scene and the physics with a simple formula it can calculate to get a handful of future positions, and draws them on a bitmap.So I guess the "draw future positions on a bitmap" part can be relevant in general, but is there maybe support for running a clone of the physics "world" for half a second (virtual time) to see what would have happened? Link to comment Share on other sites More sharing options...
Nepoxx Posted September 5, 2014 Share Posted September 5, 2014 Hi, I was wondering about the same thing!The example "simulates" the scene and the physics with a simple formula it can calculate to get a handful of future positions, and draws them on a bitmap.So I guess the "draw future positions on a bitmap" part can be relevant in general, but is there maybe support for running a clone of the physics "world" for half a second (virtual time) to see what would have happened? That's pretty hard to do. It is certainly possible, but I wouldn't advise it. Physics are usually non-deterministic, meaning that two identical runs might not have the same output (the frame time is variable, for instance). Link to comment Share on other sites More sharing options...
Recommended Posts