Jump to content

start principle flappybird


Cedric
 Share

Recommended Posts

Hey there,

 

Can someone explain me how to make a "ready" type a thing where you click a button and it starts the game, just like in flappy bird?

I can find the code, but thats beside the point:

 

My code, wich is a class: readyButton.js: http://pastebin.com/VkBJzgvU

 

the game has to run in the background while the button is displayed, then once the button is clicked the ball (it's a pong game) has to be launched.

 

thanks in advance.

 

Cedric

 

 
Link to comment
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...
 Share

  • Recently Browsing   0 members

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