-
Notifications
You must be signed in to change notification settings - Fork 0
Project Settings
Tracking the various project settings we’re using for the game. Select Project
>
Project Settings
from the top menu in the Godot editor to view these settings.
Unless specified, if a setting is omitted from this list, it was left default.
- Name: gdex-winter-2023
- Description:
Created for the GDEX Winter 2023 game jam. https://zoidmania.itch.io/winter-gdex-2023
- Main Scene:
res://main.tscn
Rationale: set the default viewport, but eventually we should support common resolutions, or we should simply make the game windowed-only and allow it to be resized dynamically as the user sees fit.
Make sure you have "Advanced Settings" enabled in the top-right of the General tab.
- Viewport Width:
320
- Viewport Height:
320
- Mode:
Windowed
- Initial Position Type:
Center of Primary Screen
- Resizable:
On
- Window Width Override:
960
- Window Height Override:
960
I also added a new setting in this section:
-
display/window/size/playable_area_width
(all)(int):240
- Mode:
canvas_items
- Aspect:
keep
- Scale Mode:
fractional
- Default texture filter:
Nearest
Since we're only focusing on the portion of the game where you play as Santa delivering presents, we mapped a set of controls for that portion only (so far). The map is as follows.
The goal is to allow playing with the keyboard (no mouse) on WASD or arrow keys, or with a controller.
Default controls are as follows. KB
stands for Keyboard, and GP
stands for
-
santa_move_up
- KB Up Arrow
- KB W
- GP D-pad Up
- GP Left Stick Up
-
santa_move_down
- KB Down Arrow
- KB S
- GP D-pad Down
- GP Left Stick Down
-
santa_move_left
- KB Left Arrow
- KB A
- GP D-pad Left
- GP Left Stick Left
-
santa_move_right
- KB Right Arrow
- KB D
- GP D-pad Right
- GP Left Stick Right
-
santa_land_or_take_off
(this is a toggle for the state)- KB Left or Right Shift
- GP Right Face Button
-
santa_shoot
- KB Space Bar
- GP Right Trigger
-
santa_ability_1
- KB Q
- KB Num Pad 1
- GP Left Shoulder Button
-
santa_ability_2
- KB E
- KB Num Pad 2
- GP Right Shoulder Button
-
toggle_pause_menu
- KB Escape
- KB Pause
- GP Start Button
We have a custom script called resource_stash
that loads a resource of type GameStats
and does nothing with it. This keeps the resource in memory all the time, preventing the engine from garbage-collecting it, which allows up to store persisten globals in it. It's configured like so: