Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Gato |
The tutorial got me totally lost at the part of Main script.
Says
drag mob.tscn from filesystem panel and drop it in the mob property under the script variables of the main node.
I can’t see any window that is named script variables, but could see one tab listing function, so dragged there, which basically listed my Mob script. Not sure if that was the goal. Mob property(missing this meaning? Properties are on the right side), under script variables(the window middle bottom with function?) of the main node(everything here is related to main node, since that is the scene I am currently in?).
Next, click on the Player and connect the hit signal. So clicked, pressed connect, then the window appears, press connect again and it drops function
func _on_Player_hit():
pass # Replace with function body.
Then it just carries on: we want to make new function named game_over(). So I just leave that there and continue writing code below it?
I understand the next parts, but those two mentioned just went pass me, can’t understand what I don’t understand.