Skip to content

Commit e0f01ae

Browse files
committed
Successfully pass empty array from GDextension
1 parent 49f6574 commit e0f01ae

13 files changed

+69
-18
lines changed
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

Architecture/README_ARCHITECTURE.md renamed to Documentation/README_ARCHITECTURE.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,10 @@
22

33
Godot Terrain Generator for 3D Tiled Maps
44

5+
## Usage
6+
7+
Building :
8+
9+
1. `scons use_mingw=yes`
10+
511
# Licensing

demo/Test.tscn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[gd_scene load_steps=3 format=3 uid="uid://cs6xj3i70yh0f"]
22

3-
[ext_resource type="Script" uid="uid://ba0phkf16vg6l" path="res://hello_world_gdextention_function.gd" id="1_myinc"]
3+
[ext_resource type="Script" uid="uid://ba0phkf16vg6l" path="res://terrain_gen_script.gd" id="1_myinc"]
44
[ext_resource type="MeshLibrary" uid="uid://cwusqwtpjkoaa" path="res://TerrainTiles/3D_Terrain_Tiles.tres" id="2_njov2"]
55

66
[node name="Test" type="Node3D"]
77

8-
[node name="HelloWorld" type="HelloWorld" parent="."]
8+
[node name="TerrainGen" type="TerrainGen" parent="."]
99
script = ExtResource("1_myinc")
1010

1111
[node name="GridMap" type="GridMap" parent="."]

demo/hello_world_gdextention_function.gd

Lines changed: 0 additions & 4 deletions
This file was deleted.

demo/terrain_gen_script.gd

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
extends TerrainGen
2+
3+
func _ready():
4+
var temp : Array = generate(5, 5, 2, 0.005);
5+
print(temp);

0 commit comments

Comments
 (0)