Map exec
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
module('platform')
|
||||
module('input')
|
||||
module('scene')
|
||||
module('map')
|
||||
|
||||
-- Default Input bindings.
|
||||
if PLATFORM == "psp" then
|
||||
@@ -37,4 +38,5 @@ else
|
||||
end
|
||||
end
|
||||
|
||||
sceneSet('map')
|
||||
sceneSet('map')
|
||||
mapLoad('map/testmap/testmap.dmf')
|
||||
@@ -3,4 +3,4 @@
|
||||
# This software is released under the MIT License.
|
||||
# https://opensource.org/licenses/MIT
|
||||
|
||||
add_asset(MAP map.json)
|
||||
add_subdirectory(testmap)
|
||||
@@ -1,3 +0,0 @@
|
||||
{
|
||||
"mapName": "Test"
|
||||
}
|
||||
7
assets/map/testmap/CMakeLists.txt
Normal file
7
assets/map/testmap/CMakeLists.txt
Normal file
@@ -0,0 +1,7 @@
|
||||
# Copyright (c) 2025 Dominic Masters
|
||||
#
|
||||
# This software is released under the MIT License.
|
||||
# https://opensource.org/licenses/MIT
|
||||
|
||||
add_asset(MAP testmap.json)
|
||||
add_asset(SCRIPT testmap.lua)
|
||||
3
assets/map/testmap/testmap.json
Normal file
3
assets/map/testmap/testmap.json
Normal file
@@ -0,0 +1,3 @@
|
||||
{
|
||||
"name": "Test"
|
||||
}
|
||||
1
assets/map/testmap/testmap.lua
Normal file
1
assets/map/testmap/testmap.lua
Normal file
@@ -0,0 +1 @@
|
||||
print('Test Map Script Run')
|
||||
@@ -1 +1 @@
|
||||
print('map')
|
||||
-- Map Scene
|
||||
Reference in New Issue
Block a user