Basic Beginner Questions
Posted: Thu Aug 04, 2011 5:05 pm
Hey guys,
for a course on my university I have to create a small game until end of August (not that much time, I know). Since I'm new to programming and Game Creation, I decided to give Game Editor a shot, since it looked pretty easy to get into.
I worked through some of the basic tutorials, drew some sprites and now got a basic scenario with a character and platforms made of tiles. The character is able to move to the left and right and jump. Now I'm already starting to get some "bugs" and need your help to remove them before I go on to the more advanced stuff (will create another thread when I'm further into delevopment then). But simple things first:
1. The character is able to repeat jumps in mid-air (already switched the repeat function for the button down to off, which avoids keeping the button pressed to "fly"). How am I able to tell the program that he only is capable to jump while standing on the floor?
2. As I said, I used the basic tutorial for creating gravity and letting the character jump (using the yvelocity values), but now he tends to randomly fall through the floor and moreover has no hit detection if he walks into walls (falls right through them) or hits them from below. How to fix that?
3. Strangely I don't have encountered the, as you seem to call it on this board, "moonwalk"-problem yet, but the walking animation seems to be faster and choppier than previewed in the small animation window. I guess this has to do with keeping the left/right button pressed and the animation is always repeated then. I also used the "button up"-command to switch back into the idle animation as soon as you stop walking, is this the correct way to do it or will I encounter bugs with that?
Would be very happy to get some help of you "professionals" Thanks in advance!
BS87
for a course on my university I have to create a small game until end of August (not that much time, I know). Since I'm new to programming and Game Creation, I decided to give Game Editor a shot, since it looked pretty easy to get into.
I worked through some of the basic tutorials, drew some sprites and now got a basic scenario with a character and platforms made of tiles. The character is able to move to the left and right and jump. Now I'm already starting to get some "bugs" and need your help to remove them before I go on to the more advanced stuff (will create another thread when I'm further into delevopment then). But simple things first:
1. The character is able to repeat jumps in mid-air (already switched the repeat function for the button down to off, which avoids keeping the button pressed to "fly"). How am I able to tell the program that he only is capable to jump while standing on the floor?
2. As I said, I used the basic tutorial for creating gravity and letting the character jump (using the yvelocity values), but now he tends to randomly fall through the floor and moreover has no hit detection if he walks into walls (falls right through them) or hits them from below. How to fix that?
3. Strangely I don't have encountered the, as you seem to call it on this board, "moonwalk"-problem yet, but the walking animation seems to be faster and choppier than previewed in the small animation window. I guess this has to do with keeping the left/right button pressed and the animation is always repeated then. I also used the "button up"-command to switch back into the idle animation as soon as you stop walking, is this the correct way to do it or will I encounter bugs with that?
Would be very happy to get some help of you "professionals" Thanks in advance!
BS87