Hi recently added a boost key to my game which speeds up the actor for a short period of time. You have 2 boosts until the "boost bar" is empty.
to access the boostbar class from the main actor i used this code:
(my world is called spielfeld)
in the game you die when you hit a rock and the game resets automatically, but because of line 3 (thats what the error says) it crashes when you hit a rock. How can i bypass or fix this issue?
Here is the LINK for the full scenario, i had to upload it to google drive because the project was too large.
Thanks for the help :)
World world = getWorld(); Spielfeld spielfeld = (Spielfeld)world; BoostBar boostbar = spielfeld.boostbar;

