|Topic was automatically imported from the old Question2Answer platform.
I have a platform the player walks acrross it
my code to move the player and climb the ladder
so i created a portal[area2d] when he enters the portal
it taks him to another long platform
(so i was thinking if i put a few bricks above him, and an enemy for
him to jump on.
what i need is help with the code to hit the brick with his head and
break it.(creating/and adding to the coin count in my HUD…)
i can post the code for the enemy or the HUD if needed…
Godot script (only use c++ if needed)
look at this
ramazan | 2022-02-08 22:08