Skip to content

Commit 4c0d403

Browse files
committed
Finish up remake of project
1 parent 8a822cf commit 4c0d403

9 files changed

Lines changed: 119 additions & 83 deletions

File tree

icon.svg.import

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
importer="texture"
44
type="CompressedTexture2D"
5-
uid="uid://yajvguei7rrj"
5+
uid="uid://dxfbq4y4xbok3"
66
path="res://.godot/imported/icon.svg-218a8f2b3041327d8a5756f3a245f83b.ctex"
77
metadata={
88
"vram_texture": false

main.gd

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1 @@
1-
extends Node2D
2-
3-
var player_sprite
4-
# Called when the node enters the scene tree for the first time.
5-
func _ready():
6-
player_sprite = PlayerSprite.new()
7-
8-
# Called every frame. 'delta' is the elapsed time since the previous frame.
9-
func _process(delta):
10-
pass
1+
extends Node2D

node_2d.tscn

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
[gd_scene load_steps=3 format=3 uid="uid://coco2gw2mgy7w"]
2+
3+
[ext_resource type="Texture2D" path="res://icon.svg" id="1_g2pld"]
4+
5+
[sub_resource type="SpriteFrames" id="SpriteFrames_a3nko"]
6+
animations = [{
7+
"frames": [{
8+
"duration": 1.0,
9+
"texture": ExtResource("1_g2pld")
10+
}],
11+
"loop": true,
12+
"name": &"default",
13+
"speed": 5.0
14+
}]
15+
16+
[node name="Node2D" type="Node2D"]
17+
18+
[node name="AnimatedSprite2D" type="AnimatedSprite2D" parent="."]
19+
sprite_frames = SubResource("SpriteFrames_a3nko")

ocaml/godotcaml/apis/api_builtins.ml

Lines changed: 23 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1713,13 +1713,13 @@ module ApiTypes = struct
17131713
end
17141714

17151715
module GlobalEnum0 = struct
1716-
let to_ocaml (x : int) = x
1717-
let of_ocaml (x : int) = x
1716+
let to_ocaml (x : int64) = x
1717+
let of_ocaml (x : int64) = x
17181718

17191719
module Side = struct
17201720
let is_bitfield = false
17211721

1722-
type t = int
1722+
type t = int64
17231723

17241724
(** Left side, usually used for [Control] or [StyleBox]-derived classes. *)
17251725
let _SIDE_LEFT = 0
@@ -1737,7 +1737,7 @@ module GlobalEnum0 = struct
17371737
module Corner = struct
17381738
let is_bitfield = false
17391739

1740-
type t = int
1740+
type t = int64
17411741

17421742
(** Top-left corner. *)
17431743
let _CORNER_TOP_LEFT = 0
@@ -1755,7 +1755,7 @@ module GlobalEnum0 = struct
17551755
module Orientation = struct
17561756
let is_bitfield = false
17571757

1758-
type t = int
1758+
type t = int64
17591759

17601760
(** General vertical alignment, usually used for [Separator], [ScrollBar], [Slider], etc. *)
17611761
let _VERTICAL = 1
@@ -1767,7 +1767,7 @@ module GlobalEnum0 = struct
17671767
module ClockDirection = struct
17681768
let is_bitfield = false
17691769

1770-
type t = int
1770+
type t = int64
17711771

17721772
(** Clockwise rotation. Used by some methods (e.g. [method Image.rotate_90]). *)
17731773
let _CLOCKWISE = 0
@@ -1779,7 +1779,7 @@ module GlobalEnum0 = struct
17791779
module HorizontalAlignment = struct
17801780
let is_bitfield = false
17811781

1782-
type t = int
1782+
type t = int64
17831783

17841784
(** Horizontal left alignment, usually for text-derived classes. *)
17851785
let _HORIZONTAL_ALIGNMENT_LEFT = 0
@@ -1797,7 +1797,7 @@ module GlobalEnum0 = struct
17971797
module VerticalAlignment = struct
17981798
let is_bitfield = false
17991799

1800-
type t = int
1800+
type t = int64
18011801

18021802
(** Vertical top alignment, usually for text-derived classes. *)
18031803
let _VERTICAL_ALIGNMENT_TOP = 0
@@ -1815,7 +1815,7 @@ module GlobalEnum0 = struct
18151815
module InlineAlignment = struct
18161816
let is_bitfield = false
18171817

1818-
type t = int
1818+
type t = int64
18191819

18201820
(** Aligns the top of the inline object (e.g. image, table) to the position of the text specified by [code]INLINE_ALIGNMENT_TO_ * [/code] constant. *)
18211821
let _INLINE_ALIGNMENT_TOP_TO = 0
@@ -1860,7 +1860,7 @@ module GlobalEnum0 = struct
18601860
module EulerOrder = struct
18611861
let is_bitfield = false
18621862

1863-
type t = int
1863+
type t = int64
18641864

18651865
(** Specifies that Euler angles should be in XYZ order. When composing, the order is X, Y, Z. When decomposing, the order is reversed, first Z, then Y, and X last. *)
18661866
let _EULER_ORDER_XYZ = 0
@@ -1884,7 +1884,7 @@ module GlobalEnum0 = struct
18841884
module Key = struct
18851885
let is_bitfield = false
18861886

1887-
type t = int
1887+
type t = int64
18881888

18891889
(** Enum value which doesn't correspond to any key. This is used to initialize [enum Key] properties with a generic state. *)
18901890
let _KEY_NONE = 0
@@ -2469,7 +2469,7 @@ module GlobalEnum0 = struct
24692469
module KeyModifierMask = struct
24702470
let is_bitfield = true
24712471

2472-
type t = int
2472+
type t = int64
24732473

24742474
(** Key Code mask. *)
24752475
let _KEY_CODE_MASK = 8388607
@@ -2502,7 +2502,7 @@ module GlobalEnum0 = struct
25022502
module MouseButton = struct
25032503
let is_bitfield = false
25042504

2505-
type t = int
2505+
type t = int64
25062506

25072507
(** Enum value which doesn't correspond to any mouse button. This is used to initialize [enum MouseButton] properties with a generic state. *)
25082508
let _MOUSE_BUTTON_NONE = 0
@@ -2538,7 +2538,7 @@ module GlobalEnum0 = struct
25382538
module MouseButtonMask = struct
25392539
let is_bitfield = true
25402540

2541-
type t = int
2541+
type t = int64
25422542

25432543
(** Primary mouse button mask, usually for the left button. *)
25442544
let _MOUSE_BUTTON_MASK_LEFT = 1
@@ -2559,7 +2559,7 @@ module GlobalEnum0 = struct
25592559
module JoyButton = struct
25602560
let is_bitfield = false
25612561

2562-
type t = int
2562+
type t = int64
25632563

25642564
(** An invalid game controller button. *)
25652565
let _JOY_BUTTON_INVALID = -1
@@ -2640,7 +2640,7 @@ module GlobalEnum0 = struct
26402640
module JoyAxis = struct
26412641
let is_bitfield = false
26422642

2643-
type t = int
2643+
type t = int64
26442644

26452645
(** An invalid game controller axis. *)
26462646
let _JOY_AXIS_INVALID = -1
@@ -2673,7 +2673,7 @@ module GlobalEnum0 = struct
26732673
module MIDIMessage = struct
26742674
let is_bitfield = false
26752675

2676-
type t = int
2676+
type t = int64
26772677

26782678
(** Does not correspond to any MIDI message. This is the default value of [member InputEventMIDI.message]. *)
26792679
let _MIDI_MESSAGE_NONE = 0
@@ -2741,7 +2741,7 @@ module GlobalEnum0 = struct
27412741
module Error = struct
27422742
let is_bitfield = false
27432743

2744-
type t = int
2744+
type t = int64
27452745

27462746
(** Methods that return [enum Error] return [constant OK] when no error occurred.
27472747
Since [constant OK] has value 0, and all other error constants are positive integers, it can also be used in boolean checks.
@@ -2907,7 +2907,7 @@ if error:
29072907
module PropertyHint = struct
29082908
let is_bitfield = false
29092909

2910-
type t = int
2910+
type t = int64
29112911

29122912
(** The property has no hint for the editor. *)
29132913
let _PROPERTY_HINT_NONE = 0
@@ -3092,7 +3092,7 @@ hintString = $""{Variant.Type.Array:D}:{Variant.Type.Object:D}/{PropertyHint.Res
30923092
module PropertyUsageFlags = struct
30933093
let is_bitfield = true
30943094

3095-
type t = int
3095+
type t = int64
30963096

30973097
(** The property is not stored, and does not display in the editor. This is the default for non-exported properties. *)
30983098
let _PROPERTY_USAGE_NONE = 0
@@ -3196,7 +3196,7 @@ hintString = $""{Variant.Type.Array:D}:{Variant.Type.Object:D}/{PropertyHint.Res
31963196
module MethodFlags = struct
31973197
let is_bitfield = true
31983198

3199-
type t = int
3199+
type t = int64
32003200

32013201
(** Flag for a normal method. *)
32023202
let _METHOD_FLAG_NORMAL = 1
@@ -3226,7 +3226,7 @@ hintString = $""{Variant.Type.Array:D}:{Variant.Type.Object:D}/{PropertyHint.Res
32263226
module VariantType = struct
32273227
let is_bitfield = false
32283228

3229-
type t = int
3229+
type t = int64
32303230

32313231
(** Variable is [code]null[/code]. *)
32323232
let _TYPE_NIL = 0
@@ -3349,7 +3349,7 @@ hintString = $""{Variant.Type.Array:D}:{Variant.Type.Object:D}/{PropertyHint.Res
33493349
module VariantOperator = struct
33503350
let is_bitfield = false
33513351

3352-
type t = int
3352+
type t = int64
33533353

33543354
(** Equality operator ([code]==[/code]). *)
33553355
let _OP_EQUAL = 0

0 commit comments

Comments
 (0)