Jump to content

Simple arcade game [2.0.1]


Balanash
 Share

Recommended Posts

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 ( :ph34r: ) 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.  :unsure:

 

Thank you.

 

Balanash

 
Link to comment
Share on other sites

  • 2 weeks later...

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

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...