/home/colbyborrows/Documents/Projects/Godot/Daniel-s-Spook-Game/.git/COMMIT_ITSASTART
This commit is contained in:
1 parent
00ac7da5c3
commit
2cb187b534
42 files changed
+1088
-1
No files matched your search
@@ -0,0 +1,37 @@
|
||||
#------------------------------------------------------------
|
||||
# Script: Player Manager
|
||||
# Author: NotDinoBits
|
||||
# Contributers:
|
||||
# Godot Version: 4.7
|
||||
# Language: GDScript
|
||||
#
|
||||
# Description: Manages player interaction by listening for
|
||||
# For inputs and providing an interaction interface
|
||||
#
|
||||
# Input reactions change based on what mode the
|
||||
# game is currently in (exploration, combat, menu)
|
||||
#------------------------------------------------------------
|
||||
|
||||
extends Node2D
|
||||
|
||||
# Node Variables
|
||||
var screen_size
|
||||
|
||||
# Called when the node enters the scene tree for the first time.
|
||||
func _ready() -> void:
|
||||
screen_size = get_viewport_rect().size
|
||||
|
||||
|
||||
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||||
func _process(delta: float) -> void:
|
||||
#TODO: Create Input listeners for "Combat Mode"
|
||||
|
||||
#TODO: Exclude the following block of interactions to "Exploration Mode"
|
||||
if Input.is_action_just_pressed("hop_right"):
|
||||
pass
|
||||
if Input.is_action_just_pressed("hop_left"):
|
||||
pass
|
||||
if Input.is_action_just_pressed("hop_up"):
|
||||
pass
|
||||
if Input.is_action_just_pressed("hop_down"):
|
||||
pass
|
||||
Reference in new issue
Block a user