Periodic shooting: Revision history

From CPC Game Making

Diff selection: Mark the radio buttons of the revisions to compare and hit enter or the button at the bottom.
Legend: (cur) = difference with latest revision, (prev) = difference with preceding revision, m = minor edit.

27 September 2025

  • curprev 15:0015:00, 27 September 2025 Timothy talk contribs 319 bytes +319 Created page with "<syntaxhighlight lang="gdscript" line> var waiting_to_shoot = false func _input(event: InputEvent) -> void: if event.is_action("ui_right") and waiting_to_shoot == false: waiting_to_shoot = true await get_tree().create_timer(0.4).timeout print('A shot was fired!') waiting_to_shoot = false </syntaxhighlight>"