Jump to content

HTML5 Platformer and On Screen Controls


pdiddles03
 Share

Recommended Posts

For my game, i am using on screen controls to control my character. Each level has multiple sections. Think mega man, when the user reaches the end of the section, it goes to the next one, i am achieving this by using Game States. but i am encountering an issue where when i change the game state, those controls no longer exist where i am performing the touch event, so there is no "onUp" event happening when i let the button go. I'm about to the point where I am just going to use Img tags to remedy this problem, does anybody have a fix for this?

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

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