This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extends KinematicBody2D | |
export var move_speed = 200.0 | |
var velocity := Vector2.ZERO | |
export var jump_height : float | |
export var jump_time_to_peak : float | |
export var jump_time_to_descent : float |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extends Node | |
""" | |
An autoload singleton for pixel perfect rendering of the game. | |
Set this script as an autoload. | |
`base_size` - Is the target size of the viewport. The viewport will scale up to fit the largest | |
possible integer multiple of this size within the window. | |
`expand` - If true the viewport will expand to the edges of the window after scaling up. |