WOW. Amazing job. I just love everything: the art, the gameplay, the effects. Incredible.
"Is there anything wrong with adding gravity every step"
There is nothing wrong with that.
But that will give you a fall that doesn't get faster....
You're falling by "grav" every frame. I would add grav to a variable and change your y by that variable.
vspd = min(vspd + grav, vspd_max);...
Never new about ds_list_mark_as list. ds_list_destroy(global.names) destroys its nested lists. Very cool.
That's a clever way to go about it. Use some trigger on the stairs to change the instances/tiles?
@Alex hubbard Did you set image_speed to 1 before entering the kick state?
You have to adapt what I posted to your game.
So I wrote:
state = "idle";
You need to type:
state = PLAYERSTATE.FREE; // Or whatever the...
Hmm. Let me see the code you have in your step event and animation end event
Go to the animation end event and add something like this:
if (sprite_index == s_kick)
state = "idle";
You have to have a state...
I think @samspade has a FSM tutorial on GM community. Just look under tutorials. You can also google Finite State Machines or look on YouTube....
That's what I wrote in my first post. Other code will set your sprite after you set your sprite to kick. So you need to prevent that code from...
What are you referring to? @woods
// Step event
if (key_kick && sprite_index != s_kicking)
sprite_index = s_kicking;
image_index = 0;
image_speed = 1;
Edit: oh wait, is that over time and not every step? I actually suck with debugger so I don't know.
To check if the player is completely inside a block:
var block, x1, y1, x2, y2, x3, y3, x4, y4;
block = instance_place(x, y, o_block);
A simple idea
width = 10;
height = 20;
backpack = ds_grid_create(width, height);
// Add item to first available spot
var found = false;
You were close here:
Change it to...
var inst = instance_position(mouse_x, mouse_y,...
Excellent tutorial as usual.
I am completely new to networking. I got one game to host but the other can't join. My computer freezes at...
Someone asked me to help them with a "dude jump" engine. I made it for him. Not a hint of gratitude. He actually wrote, "I'm really busy, so can...
Well put. So true.
True as well.