Code help double tap

So, I need help with coding my game, and I have NO idea how to code this.
I need it to be where when I double tap a key, my character does something.
My best idea was this:

image
But even though I’m TERRIBLE at coding, my small brain was able to recognize what I did wrong.
Anyways, I really need some help and it`d be GREAT if somebody could help me.

2 Likes

1 Like

That’s Great! But can you space it out a little so I can see the connections better please?

2 Likes


1 Like

Thank you SO MUCH! That is AMAZING! :smile: :smile: :smile: :smile:

2 Likes

No, give Hong Joon the solution, I just spaced the behavior blocks out, he did the real work.

1 Like

Okay, thanks. Wait I edited this i can just make my own time for it.

2 Likes

I’m pretty sure it’s however long you had it in your original code.

1 Like

kay. also you connect what you want it to do at the switch-out, right?

2 Likes

Yeah, I’m pretty sure that’s the output.

1 Like

Okay 1 more question. how would you make something fall slower?

1 Like

This is not related to the help request, correct?

yeah I don’t want to have to make another just for 1 Question

1 Like

Do you want all of the objects fall slower, or just a single one?

single 1 object lalalalalalalalla trying to get past 20 characters

1 Like

If you have nothing else to say in a post, write <oooooooooooooooooooooooo>.

Hmm… ok.

okay.

1 Like

Sorry, I cannot help you with this:

at the moment. I’m a bit busy. I’m sure I could if I had more time, but at the moment, I can’t. Really sorry.

Okay Its fine. I know Overma Games and they know a lot about coding.

You can make an object fall slower by turning it’s density lower, or just adding force to counteract the gravity.

gravity: big force down
Motor (in behaviours): small force up
=small force down

So just put an always motor going up, the larger the number the lighter it will be.

1 Like