Balanash Posted April 3, 2014 Share Posted April 3, 2014 Hello, I am actually making a game and I post this topic to gather advices from whoever would like to help a beginner .(maybe I'll make some language mistakes, I'm sorry for that) Let's introduce the project: I would like to make a simple arcade game. My character is placed at bottom-left corner of the level (square level), he's running on a rotating disk (we see only the top part of the disk) The goal is to avoid walls and hit baddies ( ) who come from the right. My problem is that I don't know how to make the rotating disk, I'm pretty new with phaser. I hope you can help me with that. Thank you. Balanash Link to comment Share on other sites More sharing options...
TomFiveThumbs Posted April 4, 2014 Share Posted April 4, 2014 Sorry I'm having trouble picturing this rotating disk.. could you give a visual example? Link to comment Share on other sites More sharing options...
valueerror Posted April 4, 2014 Share Posted April 4, 2014 damn.. i've seen a game like this in the phaser game list.. but i can't remember the name.. i'll post it if i find it Link to comment Share on other sites More sharing options...
Balanash Posted April 15, 2014 Author Share Posted April 15, 2014 Here is the visual example. Thanks for your help. Link to comment Share on other sites More sharing options...
Pedro Alpera Posted April 15, 2014 Share Posted April 15, 2014 It´s not the same idea but I think this tutorial can be helpful: http://www.allworkallplay.org/blog/orbital-debris-making-an-html5-game-with-phaser/ Link to comment Share on other sites More sharing options...
Luis Felipe Posted April 15, 2014 Share Posted April 15, 2014 This is a very basic solution for the disk. If the character is always at the bottom left corner then the disc could be simply sprite that rotates using:// 'sprite' would be the actual disc sprite.sprite.body.angularAcceleration = 50;Instead of '50' you could also use a variable. You could then increment/decrease the speed to make the game harder/easier. Link to comment Share on other sites More sharing options...
Recommended Posts