In this GameMaker video tutorial you will learn how to make a player jump through blocks. This tutorial uses GameMaker 7.0 (Lite). This tutorial uses a little GML code. But it is easy to follow and copy.
(credit Stevmay09)
|
|||||
How to jump through blocksIn this GameMaker video tutorial you will learn how to make a player jump through blocks. This tutorial uses GameMaker 7.0 (Lite). This tutorial uses a little GML code. But it is easy to follow and copy.
(credit Stevmay09) 8 comments to How to jump through blocks |
|||||
|
Copyright © 2012 GameMaker Video Tutorial - All Rights Reserved | RSS 83 queries. 0.453 seconds. |
|||||
Good!
These realy works!!!! And it was so simple that i could convert it in D&D! Any chance of making a vertical platform tutorial (as easy to understand as this one)?
Thank you!
I got this error, what should I do?
___________________________________________
FATAL ERROR in
action number 1
of Step Event
for object obj_jumpthru1:
COMPILATION ERROR in code action
Error in code at line 1:
if obj_player.y > y+16 {instance_change(obj_jumpthru2)}
^
at position 54: Wrong number of arguments to function or script.
VLAD
if obj_player.y > y+16 {instance_change(obj_jumpthru2,true)}
Yeah, what’s the event for obj_solid?
My obj_player gets stuck half way through the platform/jump through block. How do I fix this?
josh i had to change y+16 to -17 on both objects. Your number may have to be diffrent. just play with it to figure out what works.
ERROR in
action number 1
of Step Event
for object Platform_Through2:
Error in code at line 1:
if Character.y < y-4 {instance_change (Platform_Through1,true)}
^
at position 14: Unknown variable y