summaryrefslogtreecommitdiff
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/Asura.Framework/filesystem/animation_loader.lua11
-rw-r--r--Source/Asura.Framework/filesystem/gameobject_loader.lua0
-rw-r--r--Source/Asura.Framework/filesystem/material_loader.lua10
-rw-r--r--Source/Asura.Framework/filesystem/path_loader.lua11
-rw-r--r--Source/Asura.Framework/filesystem/scene_loader.lua0
-rw-r--r--Source/Asura.Framework/graphics/canvas_renderer.lua0
-rw-r--r--Source/Asura.Framework/graphics/default_shaders.lua5
-rw-r--r--Source/Asura.Framework/graphics/material_manager.lua5
-rw-r--r--Source/Asura.Framework/graphics/mesh2d_renderer.lua5
-rw-r--r--Source/Asura.Framework/graphics/particle_system.lua3
-rw-r--r--Source/Asura.Framework/graphics/shape_renderer.lua0
-rw-r--r--Source/Asura.Framework/graphics/sprite_batch_renderer.lua0
-rw-r--r--Source/Asura.Framework/graphics/sprite_renderer.lua7
-rw-r--r--Source/Asura.Framework/path/path_calculator.lua12
-rw-r--r--Source/Asura.Framework/path/path_manager.lua0
15 files changed, 69 insertions, 0 deletions
diff --git a/Source/Asura.Framework/filesystem/animation_loader.lua b/Source/Asura.Framework/filesystem/animation_loader.lua
new file mode 100644
index 0000000..f1dee29
--- /dev/null
+++ b/Source/Asura.Framework/filesystem/animation_loader.lua
@@ -0,0 +1,11 @@
+local AnimationLoader = AsuraEngine.Loader.New("animation")
+local AnimationManager = require "AnimationManager"
+local Animation = require "Animation"
+
+function AnimationLoader.Load(asset)
+
+ local animation = AsuraEngine.Class()
+
+end
+
+return AnimationLoader \ No newline at end of file
diff --git a/Source/Asura.Framework/filesystem/gameobject_loader.lua b/Source/Asura.Framework/filesystem/gameobject_loader.lua
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/Source/Asura.Framework/filesystem/gameobject_loader.lua
diff --git a/Source/Asura.Framework/filesystem/material_loader.lua b/Source/Asura.Framework/filesystem/material_loader.lua
new file mode 100644
index 0000000..8ecfa51
--- /dev/null
+++ b/Source/Asura.Framework/filesystem/material_loader.lua
@@ -0,0 +1,10 @@
+local MaterialLoader = AsuraEngine.Loader.New("material")
+local MaterialManager = require "MaterialManager"
+
+function MaterialLoader.Load(mat)
+
+
+
+end
+
+return MaterialLoader \ No newline at end of file
diff --git a/Source/Asura.Framework/filesystem/path_loader.lua b/Source/Asura.Framework/filesystem/path_loader.lua
new file mode 100644
index 0000000..b9112df
--- /dev/null
+++ b/Source/Asura.Framework/filesystem/path_loader.lua
@@ -0,0 +1,11 @@
+local PathLoader = AsuraEngine.Loader.New("path")
+local PathManager = require "Path/PathManager"
+
+function PathLoader.Load(asset)
+ if asset.type ~= "path" then
+ return nil
+ end
+
+end
+
+return Path \ No newline at end of file
diff --git a/Source/Asura.Framework/filesystem/scene_loader.lua b/Source/Asura.Framework/filesystem/scene_loader.lua
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/Source/Asura.Framework/filesystem/scene_loader.lua
diff --git a/Source/Asura.Framework/graphics/canvas_renderer.lua b/Source/Asura.Framework/graphics/canvas_renderer.lua
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/Source/Asura.Framework/graphics/canvas_renderer.lua
diff --git a/Source/Asura.Framework/graphics/default_shaders.lua b/Source/Asura.Framework/graphics/default_shaders.lua
new file mode 100644
index 0000000..bd54cb9
--- /dev/null
+++ b/Source/Asura.Framework/graphics/default_shaders.lua
@@ -0,0 +1,5 @@
+--[[
+õshaders.
+]]
+
+
diff --git a/Source/Asura.Framework/graphics/material_manager.lua b/Source/Asura.Framework/graphics/material_manager.lua
new file mode 100644
index 0000000..46cc13d
--- /dev/null
+++ b/Source/Asura.Framework/graphics/material_manager.lua
@@ -0,0 +1,5 @@
+local MaterialManager = AsuraEngine.Manager.New()
+
+
+
+return MaterialManager \ No newline at end of file
diff --git a/Source/Asura.Framework/graphics/mesh2d_renderer.lua b/Source/Asura.Framework/graphics/mesh2d_renderer.lua
new file mode 100644
index 0000000..01f0d90
--- /dev/null
+++ b/Source/Asura.Framework/graphics/mesh2d_renderer.lua
@@ -0,0 +1,5 @@
+local Mesh2DRenderer = Class()
+
+
+
+return Mesh2DRenderer \ No newline at end of file
diff --git a/Source/Asura.Framework/graphics/particle_system.lua b/Source/Asura.Framework/graphics/particle_system.lua
new file mode 100644
index 0000000..21c35b8
--- /dev/null
+++ b/Source/Asura.Framework/graphics/particle_system.lua
@@ -0,0 +1,3 @@
+--ϵͳһ
+
+local ParticleSystem
diff --git a/Source/Asura.Framework/graphics/shape_renderer.lua b/Source/Asura.Framework/graphics/shape_renderer.lua
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/Source/Asura.Framework/graphics/shape_renderer.lua
diff --git a/Source/Asura.Framework/graphics/sprite_batch_renderer.lua b/Source/Asura.Framework/graphics/sprite_batch_renderer.lua
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/Source/Asura.Framework/graphics/sprite_batch_renderer.lua
diff --git a/Source/Asura.Framework/graphics/sprite_renderer.lua b/Source/Asura.Framework/graphics/sprite_renderer.lua
new file mode 100644
index 0000000..79177ba
--- /dev/null
+++ b/Source/Asura.Framework/graphics/sprite_renderer.lua
@@ -0,0 +1,7 @@
+local SpriteRenderer = Class()
+
+function SpriteRenderer:OnRender()
+
+end
+
+return SpriteRenderer \ No newline at end of file
diff --git a/Source/Asura.Framework/path/path_calculator.lua b/Source/Asura.Framework/path/path_calculator.lua
new file mode 100644
index 0000000..1a564b8
--- /dev/null
+++ b/Source/Asura.Framework/path/path_calculator.lua
@@ -0,0 +1,12 @@
+--[[
+ڱ༭componentsб
+]]
+local PathCalculator = AsuraEngine.Component.New("PathCalculator")
+
+PathCalculator.path = AsuraEngine.Asset.Type("path", "·")
+
+function PathCalculator:ctor(path)
+ self.path = path
+end
+
+return PathCalculator \ No newline at end of file
diff --git a/Source/Asura.Framework/path/path_manager.lua b/Source/Asura.Framework/path/path_manager.lua
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/Source/Asura.Framework/path/path_manager.lua