u/Ashamed-Might-7360

Help this cat recover from a recent car accident!

Not my cat, it’s from a friend.
His name is Jip, he recently got in a car accident, and almost lost his life, he luckily survived, but the family still needs money for the recovery process!
Thank you, and have a very nice day.

gofundme.com
u/Ashamed-Might-7360 — 2 days ago

I am making a platformer, and im trying to implement knockback to the player, since im coding this without any help, ofcourse, it doesnt work, but i want to know what i could improve to make the code work, or do i need an entirely different approach for this.
this is the code:
function scr_player_knockback(){

`if !place_meeting(x, y, obj_enemy)`

`{`

	`move_x = 0;`

`}`



`//very experimental`

`if (obj_enemy.hspeed != 2)`

`{`

	`if place_free(x + 32, y)`

	`{`

		`kb_speed = 3`

		`while kb_speed > 0`

		`{`

move_x += 0.1

kb_speed -= 1

		`}`

	`}`

`}`

`else`

`{`

	`if place_free(x - 32, y)`

	`{`

		`kb_speed = 3`

		`while kb_speed > 0`

		`{`

move_x -= 0.1

kb_speed -= 1

		`}`

	`}`

`}`

`kb_speed = 0;`	

}

move_x is used in my move_and_collide function in my players step event: move_and_collide(move_x, move_y, obj_block)

i want the player to be knocked back according to how the player and the enemy collide, and horizontal, but also vertical

reddit.com
u/Ashamed-Might-7360 — 19 days ago
▲ 3 r/geometrydash+1 crossposts

While you can obviously hear “one more time” in a short part in magic touch by romos, the song used for high life, which OF COURSE is copyrighted, there is another daft punk sample that i think is cool too, the beginning of magic touch features a screaming-type voice that is the exact same as the voice in “revolution 909” from daft punks “Homework” at exactly 46 seconds into the song!

Now this sample is a double sample as i like to call it

Since the official sound comes from a hollywood soundtrack that you can buy!

Correct me if i’m wrong

reddit.com
u/Ashamed-Might-7360 — 22 days ago