iuno just screwing around tbh
This commit is contained in:
@@ -4,4 +4,5 @@
|
||||
# https://opensource.org/licenses/MIT
|
||||
|
||||
add_asset(SCRIPT test.lua)
|
||||
add_asset(SCRIPT test2.lua)
|
||||
|
||||
add_subdirectory(scene)
|
||||
5
assets/script/init.lua
Normal file
5
assets/script/init.lua
Normal file
@@ -0,0 +1,5 @@
|
||||
print('Init')
|
||||
|
||||
-- Load map scene
|
||||
setScene('map')
|
||||
setMap()
|
||||
4
assets/script/scene/CMakeLists.txt
Normal file
4
assets/script/scene/CMakeLists.txt
Normal file
@@ -0,0 +1,4 @@
|
||||
# Copyright (c) 2025 Dominic Masters
|
||||
#
|
||||
# This software is released under the MIT License.
|
||||
# https://opensource.org/licenses/MIT
|
||||
@@ -1,5 +0,0 @@
|
||||
include('script/test2')
|
||||
|
||||
player = entityAdd(ENTITY_TYPE_PLAYER, 3, 6, 1)
|
||||
|
||||
print("Player entity ID: " .. player)
|
||||
@@ -1 +0,0 @@
|
||||
print("This is test2.lua")
|
||||
Reference in New Issue
Block a user