Recommended Posts

A mobile only game(Chrome only), and the second that I made so far (mostly it's just me experimenting stuff xD ). It uses javascript api to detect motion and move a ball through a maze. The maze is re-generated on every run. 

I use p2js for physics and on the devices that I tried out works pretty well.

https://play.google.com/store/apps/details?id=com.cadsotic.aMazeBallfree

plic.png

Share this post


Link to post
Share on other sites

that was fun. Works just fine on iphone 5c.

Maybe some hazards here and there? Was a bit easy.

Otherwise. Good job. :)

I'm working on a maze generater using phaser right this moment.

Nice too see someone else accomplished the same feat.

Share this post


Link to post
Share on other sites

The game is now on Google play store :)

https://play.google.com/store/apps/details?id=com.cadsotic.aMazeBall

There have been some important changes to the finished game. My initial version had used p2 physics sprites for all of the collidable bodies that have made up the maze, however in the final version I ended up using csv tilemap and the performance improved by alot. I knew going in that p2 can't handle alot of bodies but with tilemap it runs very smooth. 

The visual lag is not from the p2 but from the scale.manager.

The examples that helped me the most were these two

http://phaser.io/examples/v2/tilemaps/create-from-array

http://phaser.io/examples/v2/tilemaps/csv-map-with-p2

I'm really happy with the result. TY PHASER. :)

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.