place_meeting(); Instance_place(); and many other types listed in the manual depending on what it is you are trying to achieve.
what was it? and why the semi colon before the else?
can you give a bit more detail on what you are trying to achieve?
I am guessing that if you are doing a platform game you have already understood...
This is a valid comment and goes to show how wonderfully diverse coding can be :)
the speed difference between an array and ds_grid would be negligible compared to the benefits of the of the ds_ functions i would have thought.
i would have thought that this is what ds_list() / ds_grid() and their associated functions would be perfect for.
cam_angle -= 1;
player_angle += 1;
image_angle = player_angle;
extrapolate to suit your code. just a guess...
does fixing your player instance to the platforms y position work?
Nothing.creation code is effectively the same. It is just more versatile when used in the room editor as it allows you to manipulate each instance...
see this link to your other question.
i use this in the room editor to give individual instances of the same object individual creation code or variable values
if you use the variable...
If you set the alarm to -1 it stops and doesn't run the code inside it.
Alarms are mega useful in GML can't think of a time when i haven't used them.
if people foolishly take this advice they are missing out on one of...
// text object create event
alarm = room_speed * 2; // this sets a 2 second alarm
you are also repeatedly calling the move_towards() function when, in your supplied code, you only need to use it once. Unless there is something...
Looks sooooo good.
Wow, frenetic :D
can you set you other thread to SOLVED
the draw commands can only be used in a draw event. is yours being called from the step event?
if you declare your enums in a script called say ENUMS they are setup automatically when the program compiles