OK,
I have another problem.I am trying this tut. and dont' know howto do this.
<><><>Variable[0002] "Hero Y" Subtract 22
Anybody know howto do this?All I can do is something like
<><><>Variable[0002 Hero Y] -,22 apparently the above is differant cuz the way i tryed doesn't seem to work.What am I doing wrong?Here is the whole code:
<>If "Jumping" is ON then
<><>If "Falling" is OFF then
<><><>Variable[0002] "Hero Y" Subtract 22
<><><>Wait 0.0
<><><>Variable[0002] "Hero Y" Subtract 20
<><><>Wait 0.0
<><><>Variable[0002] "Hero Y" Subtract 16
<><><>Wait 0.0
<><><>Variable[0002] "Hero Y" Subtract 12
<><><>Wait 0.0
<><><>Variable[0002] "Hero Y" Subtract 08
<><><>Wait 0.0
<><><>Variable[0002] "Hero Y" Subtract 05
<><><>Wait 0.0
<><><>Variable[0002] "Hero Y" Subtract 02
<><><>Wait 0.0
<><><>Variable[0002] "Hero Y" Subtract 01
<><><>Wait 0.0
<><><>Wait 0.0
<><><>Wait 0.0
<><><>Wait 0.0
<><><>Variable[0002] "Hero Y" Add 01
<><><>Call Common Event: [Floor Checker]
<><><>If "Grounded" is ON then
<><><><>Jump to Label 2
<><><><>End
<><><>Wait 0.0
<><><>Variable[0002] "Hero Y" Add 02
<><><>Call Common Event: [Floor Checker]
<><><>If "Grounded" is ON then
<><><><>Jump to Label 2
<><><><>End
<><><>Wait 0.0
<><><>Variable[0002] "Hero Y" Add 05
<><><>Call Common Event: [Floor Checker]
<><><>If "Grounded" is ON then
<><><><>Jump to Label 2
<><><><>End
<><><>Wait 0.0
<><><>Variable[0002] "Hero Y" Add 08
<><><>Call Common Event: [Floor Checker]
<><><>If "Grounded" is ON then
<><><><>Jump to Label 2
<><><><>End
<><><>Wait 0.0
<><><>Variable[0002] "Hero Y" Add 12
<><><>Call Common Event: [Floor Checker]
<><><>If "Grounded" is ON then
<><><><>Jump to Label 2
<><><><>End
<><><>Wait 0.0
<><><>Variable[0002] "Hero Y" Add 16
<><><>Call Common Event: [Floor Checker]
<><><>If "Grounded" is ON then
<><><><>Jump to Label 2
<><><><>End
<><><>Wait 0.0
<><><>Variable[0002] "Hero Y" Add 20
<><><>Call Common Event: [Floor Checker]
<><><>If "Grounded" is ON then
<><><><>Jump to Label 2
<><><><>End
<><><>Wait 0.0
<><><>Label 1
<><><>Variable[0002] "Hero Y" Add 22
<><><>Call Common Event: [Floor Checker]
<><><>If "Grounded" is ON then
<><><><>Jump to Label 2
<><><><>End
<><><>Wait 0.0
<><><>If "Hero Y" is Less than "Floor (Y) then
<><><><>Jump to Label 1
<><><><>End
<><><>End
<><>Else
<><>If Falling is ON then
<><>Jump to Label 1
<><>End
<>Label 2
<>Switch[0004] "Jumping" turn OFF
<>Switch[0006] "Grounded" turn OFF
<>Switch[0005] "Falling" turn OFF
<>End
OK,
I have another problem.I am trying this tut. and dont' know howto do this.
<><><>Variable[0002] "Hero Y" Subtract 22
Anybody know howto do this?All I can do is something like
<><><>Variable[0002 Hero Y] -,22 apparently the above is differant cuz the way i tryed doesn't seem to work.
Those two are the same thing, in different words. It's likely they're using a different translation or just trying to get the point across easier.
The rest of the code looks like it's trying to call a common event in some places and relying on a parallel process event in others (especially the jumping part, which likely isn't working with squares, but with picture coordinates instead, and assuming that when you jump you're going "up" instead of wherever the character is facing). So there may be an issue with either of those Common Events...
Of course the tutorial you're following is for a side-scrolling platform game with RM2k3 and isn't too much use if you're doing a top-down RPG
Thx for the help blue cube.
Yes I agree that jump programing and the whole tree trick you showed earlier is true thus making jumping a BIG headache.I think after all this trouble, I'm just gonna make an optional jump in VERY few and certain areas.For example, the hero is crossing a mountain side with many differant paths to choose from.To get to some places, it will give an option(Jump?,Stay?).Some paths have good things such as secret item while the rest have headaches and make the trip a little longer.All the differant paths at the end,however, will lead the the same point.Thus making the whole jump thing a LOT easier to use and a LOT easier to program your levels.