The RPG Maker Resource Kit
Other Game Creation => Other Game Making Programs => Topic started by: &&&&&&&&&&&&& on November 26, 2007, 06:24:34 PM
-
Can sombody make me a diagram of how the gravity works? Maybe even teach me how to use it? I keep putting diffrent numbers in the gravity... thing, and the objects just go flying off the screen. >_>
-
Ok, I guess you already know how to send them vertically, so at each "step" you need to check whether you are in the air or on a solid, and if you are in the air then set gravity, gravity is cumulative each step, it just keeps increasing, so after a given amount of time the gravity pulling down becomes more than the upwards(vertical speed) force. So now you will continually fall increasing in speed, so you have to create the opposite action for when you contact the ground. the "ELSE" so that when you contact a solid it will stop gravity (by setting it to 0 at direction 270). and also you have to stop your vertical speed by setting it to 0 also, so that after you hit a solid they both are reset to be used again.
(Note: anything directly after a "check" (the little octagons in actions) is the only thing that the check applies to, if you want more action to be included in the condition of the "check" then enclose them in a start and end block.)
Here is a step to make the character fall but stop at solids:
(https://rmrk.net/proxy.php?request=http%3A%2F%2Fi240.photobucket.com%2Falbums%2Fff312%2FL-A-B_51%2Fstep.jpg&hash=e712409dd290d484f50f12d0dbcc2469e6afe6c8)
tried to put notes about what is taking place kind of.
If you copy this exactly it won't funtion due to some notes being after the checks and not specific actions, or group of actions.
Hope this helps.
-
Thank you. <3
EDIT- I made this. >_>
-
Hey I tried to download your mario exe but all it is, is a file, was that right?
-
Hey I tried to download your mario exe but all it is, is a file, was that right?
I don't know... for me it's an EXE.
-
I tried again and I think I might know what the problem is, when I download your mario game it gives me a file named INDEX. not a .gmk file(with the hammer in the center of the red circle and the right corner of a page folded down). The file I downloaded from you is like a quick save that will only work if I have the original INDEX.gmk it was saved from. It's a bit confusing, but it's telling me I don't have the program that created it, so I can't open it. Do you have enough to make a stand along demo, just for a quick trial?
-
Hmmm...
EDIT- This is what I have so far.
-
Ok, I took a look at what you had so far, and I noticed it being a little blocky in movement and when you jumped. So I made a new Mario object (keeping the old one the way it was) And I put it in the level you had. I enhanced all the collisions and what-not. But I had a few suggestions as well. (see below) So if you have any questions about anything I changed or how to add more to it just ask.
New changes:
- Made a new object for Mario so that you can compare the old and the new one for learning purposes.
- Added basic variable jumping.
- Added a debug restart function within object "Mario_Redone".
- Added Player mask.
- Smoothed movements.
- Made have a basic animation.
- Got rid of getting stuck on blocks, pipes, and ground.
- Pretty much changed the entire engine to provide a more "Mario-ish" feel but keeping some of the same aspects you already had.
Suggestions:
- Make a "background tileset" and make the level out of that rather then objects. I can help even more if you were to do this.
- I'm not going to do Super Mario for you at this point in time. You'll never learn if I do everything. But I'll be glad to help if you need it.
- Consider naming objects and sprites a bt better for orginizational purposes. Grouping things also helps to. ;)
Known Bugs:
- I started on Goombas a bit but I didn't quite finish them.
- Some Goombas bounce off of objects right and some don't. I can fix this if you follow suggestion #1.
- For some strange reason, Mario gets stuck on pipes later in the level...the ones in the beginning are fine...I couldn't figure this part out.
- J-Crew