Jump to content

Don't push the red button game

- - - - -

This topic has been archived. This means that you cannot reply to this topic.
1 reply to this topic

#1
Demon

Demon

    Newbie

  • Members
  • PipPip
  • 18 posts
For those of you who don't know what this is it's Do Not Press the Red Button Game - MostFunGames.com this can easily be done in vb quickly.

How it'll be done

This will make use of form show when the correct button,picture box.link label etc. is clicked.

What you'll need

Multiple forms
Something to do the action such as link label,button,picture box (I suggest picture box)
Labels for things to say like "Muhaha I've disguised myself as a penguin"
http://www.aidis.org..._red_button.jpg And there's a button.

Placement

It depends on you,you can have 1 billion buttons depending on how much you'd like to annoy the user.

Code

For one of your buttons or clickable items just place this code:

The code would be Form2.Show()

Of course it'll need to be changed depending on which form you want it to go to.At the very last form use the code:
Form1.Show() or End
Depending on if you'd like it to go to the beginning or end.

Happy coding

#2
TeenChristian

TeenChristian

    Programming God

  • Members
  • PipPipPipPipPipPipPip
  • 639 posts
I love the Red Button! I may (or may not :D) program this in C++.
My Personal Blog l Learning C++ l I'll be famous soon enough.