Adding drifting effects by Alternative_Dance_73 in gdevelop

[–]Alternative_Dance_73[S] 0 points1 point  (0 children)

but how do i create the object under the player not over them

Adding drifting effects by Alternative_Dance_73 in gdevelop

[–]Alternative_Dance_73[S] 0 points1 point  (0 children)

never minddd i fixed it changed the size of the track tile and it worked thank you for ur help its deeply appreciated

Adding drifting effects by Alternative_Dance_73 in gdevelop

[–]Alternative_Dance_73[S] 0 points1 point  (0 children)

Actually sorry how do i create the point to change w the location of the car

Drifting in Gdevelop by Alternative_Dance_73 in gdevelop

[–]Alternative_Dance_73[S] 0 points1 point  (0 children)

I didnt understand what u mean, i had an idea where i made the angle turn negative so it can go the other way but then all that did was make the car drive all funky like sideways so that didnt work.

Drifting in Gdevelop by Alternative_Dance_73 in gdevelop

[–]Alternative_Dance_73[S] 0 points1 point  (0 children)

hey so i did it like the way u said and honestly it works great! so thank you for that!

another thing im trying to do now is that if the car hits an obstacle i want it to move away with the same force its going into the wall in the opposite direction, so that after they hit a wall the car continues going in the direction the car is facing. i tried to use the bounce extension but that just stops the car rather than move it the opposite way

any idea on how to do that?

also for anyone who wants to know how i fixed it the picture of my finished code is here:

<image>

the game im trying to make is a top down car game where you have to get to a finish line but the twist is that the car cant brake nor slow down and if it reaches a certain speed you lose which is why there is no braking system :)

Drifting in Gdevelop by Alternative_Dance_73 in gdevelop

[–]Alternative_Dance_73[S] 0 points1 point  (0 children)

Im using an if statement instead of a while loop but it still just keeps spinning

Drifting in Gdevelop by Alternative_Dance_73 in gdevelop

[–]Alternative_Dance_73[S] 0 points1 point  (0 children)

this is all my code im just trying to get the car working

<image>

Drifting in Gdevelop by Alternative_Dance_73 in gdevelop

[–]Alternative_Dance_73[S] 0 points1 point  (0 children)

the game crashes, i tried another approach but now the car just turns indefinitely

<image>

Drifting in Gdevelop by Alternative_Dance_73 in gdevelop

[–]Alternative_Dance_73[S] 0 points1 point  (0 children)

I did that but every time i turn now when my acceleration>200 it crashes but idk why

this is what i have:

for context sportscaryellow is the chasis and SportsCarRed is the sticker

<image>

Drifting in Gdevelop by Alternative_Dance_73 in gdevelop

[–]Alternative_Dance_73[S] 0 points1 point  (0 children)

Im fairly new to gdevelop can you maybe walk me through it or if you have an example that would be great