removed more dumb c# code
This commit is contained in:
@@ -3,13 +3,13 @@ using Godot.Collections;
|
|||||||
|
|
||||||
public partial class console : PopupPanel
|
public partial class console : PopupPanel
|
||||||
{
|
{
|
||||||
private string[] gamepadCheatcode = { "ui_up", "ui_up", "ui_down", "ui_down", "ui_left", "ui_right", "ui_left", "ui_right", "ui_cancel", "ui_accept", "cheat_start" };
|
string[] gamepadCheatcode = { "ui_up", "ui_up", "ui_down", "ui_down", "ui_left", "ui_right", "ui_left", "ui_right", "ui_cancel", "ui_accept", "cheat_start" };
|
||||||
private int gpCcIndexer = 0;
|
int gpCcIndexer = 0;
|
||||||
private InputEvent inputEvent;
|
InputEvent inputEvent;
|
||||||
private static RichTextLabel textblock;
|
private static RichTextLabel textblock;
|
||||||
private LineEdit line;
|
LineEdit line;
|
||||||
private Dictionary commandDict;
|
Dictionary commandDict;
|
||||||
private string error = "Not found! :(";
|
string error = "Not found! :(";
|
||||||
|
|
||||||
//functions with capital letters can't be used inside the console
|
//functions with capital letters can't be used inside the console
|
||||||
public override void _Ready()
|
public override void _Ready()
|
||||||
|
@@ -3,13 +3,13 @@ using System.Text.RegularExpressions;
|
|||||||
|
|
||||||
public partial class dialog_bubble : CanvasLayer
|
public partial class dialog_bubble : CanvasLayer
|
||||||
{
|
{
|
||||||
public Variant parsedDlg;
|
Variant parsedDlg;
|
||||||
public Variant dlgLines;
|
Variant dlgLines;
|
||||||
public int dlgPointer = 0;
|
int dlgPointer = 0;
|
||||||
public RichTextLabel richText;
|
RichTextLabel richText;
|
||||||
public Timer typewriterTimer;
|
Timer typewriterTimer;
|
||||||
public string title;
|
string title;
|
||||||
public Area2D triggerArea;
|
Area2D triggerArea;
|
||||||
public static bool forceClose;
|
public static bool forceClose;
|
||||||
public static bool isTalking;
|
public static bool isTalking;
|
||||||
/*TODO:
|
/*TODO:
|
||||||
|
@@ -6,15 +6,15 @@ public partial class player : CharacterBody2D
|
|||||||
{
|
{
|
||||||
[Export] public static float speed = 1;
|
[Export] public static float speed = 1;
|
||||||
public static bool allowMovement = true;
|
public static bool allowMovement = true;
|
||||||
public Vector2 movement;
|
Vector2 movement;
|
||||||
public AnimatedSprite2D animatedSprite;
|
AnimatedSprite2D animatedSprite;
|
||||||
public Marker2D rotCenter;
|
Marker2D rotCenter;
|
||||||
public RayCast2D dialogRayCast;
|
RayCast2D dialogRayCast;
|
||||||
public static Vector2 globalPlayerPosition;
|
public static Vector2 globalPlayerPosition;
|
||||||
//console cheats:
|
//console cheats:
|
||||||
private static Camera2D cheatCam;
|
static Camera2D cheatCam;
|
||||||
private static Camera2D mainCam;
|
static Camera2D mainCam;
|
||||||
private static CollisionShape2D collision;
|
static CollisionShape2D collision;
|
||||||
|
|
||||||
public override void _Ready()
|
public override void _Ready()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user