|
-
February 1st, 2012, 06:56 PM
#1
Need some help with a game
Hey, I'm making a game in which you control a character with the right and left arrow keys, you reach the location of a door, click it and proceed to the next level.
The way I'm doing it is: the character is a button with an image, that moves when the right and left arrow keys are pressed. when the character reaches the location of a door(also a button) and clicks it, he proceeds to the next level. The character's location is reset to the initial, the image of the picturebox that is the background switches, and some buttons with images appear, and others disappear.
I know I'm "cheating" in every possible way, but I just wanna make somthing simple for a school project.
The problem is, since I'm doing everything in the same form, it's getting completely clogged up with buttons and I've only made 4 levels so far, and I can only see the initial image, so I need to predict the location of some items so that they will fit in the background of a certain level when I tell them to become visible.
So, I need you to tell me if there is a better approach for this. I've tried new forms for every level, but I think it's worse because I have to transport variables, and the timers that make the character move don't work in other forms.
So, any ideas?
thanks in advance
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|