• Content Count

  • Joined

  • Last visited

About Cybercell

  • Rank

Contact Methods

  • Twitter

Recent Profile Visitors

1386 profile views
  1. Dear Sir,

    We are very interested in your games and would like to buy everything you have.

    How much would this cost?

    Let me know


  2. Fun little game. There is a bug tough. If you press pause just after the time runs out the games pauses and finishes at the same time.
  3. Do you mean screen tearing? Example: If not then I cant seem to find anything wrong with the example.
  4. Hi, I would use vectors to rotate the ball and player. Example gif: Imagine if this circle is the little ball where the player should stand on. Now the white line is the distance the player should be placed from the center of the circle(so it looks like its standing on the ball, also make sure your players anchor point is at this feet). If you want to jump you just apply a force in the direction your hero is facing and let gravity do the work. Hope it helps!
  5. You can create a simple circle graphic and make it a child of your sprite at 0,0. The circle should be at the anchor point of your sprite. Hope this help!
  6. For saving data I use localstorage. ( If only you will be using it is a easy approach, just make sure you do not delete your cache. Often i create simple text box that will output the data. this can be copied into any text editor to save onto hard-drive some where. Hope this helps!
  7. Hi Tom, Thanks for the answer! ;D I have read more about game states and I am following this tutorial: Thanks again.
  8. Hi! I have been running into a problem with the Input.onDown event. Once my code is inside the create function and I add the SayHi function to the onDown event it throws a error. Sample code: class GameInitializer { game: Phaser.Game; constructor() { = new Phaser.Game(window.innerWidth, window.innerHeight, Phaser.AUTO, 'content', { create: this.create }); } create() { console.log(typeof (this.SayHi));//undefined;//Uncaught Error: Phaser.Signal: listener is a required param of add() and should be a Function. } SayHi() { console.log("hi"); }}window.onload = () => { var game = new GameInitializer();};I have tried to figure out what the problem is and noticed that this.SayHi is undefined but have no clue why that is. So my question is how should I go about and fix this? Thanks in advance.