Limbe Posted March 31, 2015 Share Posted March 31, 2015 Hi everyone, I am currently creating my first Phaser game, and i have to admit it's a pretty cool framework!However I do need your help. What I want to do: a kind of a Line Rider game, where the player can draw a path (a line) on which a sprite could collide. What I did: When the pointer is down, a bitmap data rectangle is add to the game, and I use its name to create a sprite. I can draw a line of tiny rectangles (4*4 pixels) and my player can jump on them. I do have two main problem:- First, when too many sprites are created, the game freezes really bad - And my player sprite is not sliding on the path i created, even though it’s submitted to gravity. I found a great API which would have allowed me to do that: Box2D. Unfortunately I can't pay 50$ for this project :-/ I think I may be on the wrong way: do you have any suggestions on how I could implement this? Thanks a lot, Limbe Link to comment Share on other sites More sharing options...
Limbe Posted April 2, 2015 Author Share Posted April 2, 2015 Up Link to comment Share on other sites More sharing options...
Recommended Posts