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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.