Bastien Sevajol 6 jaren geleden
bovenliggende
commit
1dbafb147a

sandbox/tiledstrategy/__init__.py → sandbox/tile/__init__.py Bestand weergeven


sandbox/tiledstrategy/gui/__init__.py → sandbox/tile/gui/__init__.py Bestand weergeven


sandbox/tiledstrategy/gui/actor.py → sandbox/tile/gui/actor.py Bestand weergeven

@@ -1,8 +1,8 @@
1 1
 # coding: utf-8
2 2
 import pyglet
3 3
 
4
-from sandbox.tiledstrategy.gui.animation import ANIMATION_WALK
5
-from sandbox.tiledstrategy.gui.animation import ANIMATION_CRAWL
4
+from sandbox.tile.gui.animation import ANIMATION_WALK
5
+from sandbox.tile.gui.animation import ANIMATION_CRAWL
6 6
 from synergine2_cocos2d.actor import Actor
7 7
 
8 8
 

sandbox/tiledstrategy/gui/animation.py → sandbox/tile/gui/animation.py Bestand weergeven


sandbox/tiledstrategy/gui/base.py → sandbox/tile/gui/base.py Bestand weergeven

@@ -1,8 +1,8 @@
1 1
 # coding: utf-8
2 2
 import random
3 3
 
4
-from sandbox.tiledstrategy.gui.animation import ANIMATION_WALK
5
-from sandbox.tiledstrategy.gui.animation import ANIMATION_CRAWL
4
+from sandbox.tile.gui.animation import ANIMATION_WALK
5
+from sandbox.tile.gui.animation import ANIMATION_CRAWL
6 6
 from synergine2_cocos2d.animation import Animate
7 7
 from synergine2_cocos2d.gui import TMXGui
8 8
 
@@ -10,7 +10,7 @@ from synergine2_cocos2d.gui import TMXGui
10 10
 class Game(TMXGui):
11 11
     def before_run(self) -> None:
12 12
         # Test
13
-        from sandbox.tiledstrategy.gui.actor import Man
13
+        from sandbox.tile.gui.actor import Man
14 14
         from cocos import euclid
15 15
 
16 16
         for i in range(10):

sandbox/tiledstrategy/maps/003/003.tmx → sandbox/tile/maps/003/003.tmx Bestand weergeven


sandbox/tiledstrategy/maps/003/actors/man.png → sandbox/tile/maps/003/actors/man.png Bestand weergeven


sandbox/tiledstrategy/maps/003/actors/man_c1.png → sandbox/tile/maps/003/actors/man_c1.png Bestand weergeven


sandbox/tiledstrategy/maps/003/actors/man_c2.png → sandbox/tile/maps/003/actors/man_c2.png Bestand weergeven


sandbox/tiledstrategy/maps/003/actors/man_c3.png → sandbox/tile/maps/003/actors/man_c3.png Bestand weergeven


sandbox/tiledstrategy/maps/003/actors/man_c4.png → sandbox/tile/maps/003/actors/man_c4.png Bestand weergeven


sandbox/tiledstrategy/maps/003/actors/man_w1.png → sandbox/tile/maps/003/actors/man_w1.png Bestand weergeven


sandbox/tiledstrategy/maps/003/actors/man_w10.png → sandbox/tile/maps/003/actors/man_w10.png Bestand weergeven


sandbox/tiledstrategy/maps/003/actors/man_w2.png → sandbox/tile/maps/003/actors/man_w2.png Bestand weergeven


sandbox/tiledstrategy/maps/003/actors/man_w3.png → sandbox/tile/maps/003/actors/man_w3.png Bestand weergeven


sandbox/tiledstrategy/maps/003/actors/man_w4.png → sandbox/tile/maps/003/actors/man_w4.png Bestand weergeven


sandbox/tiledstrategy/maps/003/actors/man_w5.png → sandbox/tile/maps/003/actors/man_w5.png Bestand weergeven


sandbox/tiledstrategy/maps/003/actors/man_w6.png → sandbox/tile/maps/003/actors/man_w6.png Bestand weergeven


sandbox/tiledstrategy/maps/003/actors/man_w7.png → sandbox/tile/maps/003/actors/man_w7.png Bestand weergeven


sandbox/tiledstrategy/maps/003/actors/man_w8.png → sandbox/tile/maps/003/actors/man_w8.png Bestand weergeven


sandbox/tiledstrategy/maps/003/actors/man_w9.png → sandbox/tile/maps/003/actors/man_w9.png Bestand weergeven


sandbox/tiledstrategy/maps/003/background.png → sandbox/tile/maps/003/background.png Bestand weergeven


sandbox/tiledstrategy/maps/003/trees_64x64.png → sandbox/tile/maps/003/trees_64x64.png Bestand weergeven


sandbox/tiledstrategy/maps/003/trees_64x64.tsx → sandbox/tile/maps/003/trees_64x64.tsx Bestand weergeven


sandbox/tiledstrategy/run.py → sandbox/tile/run.py Bestand weergeven

@@ -8,10 +8,10 @@ from random import seed
8 8
 synergine2_path = os.path.abspath(os.path.join(os.path.dirname(os.path.abspath(__file__)), '../../'))
9 9
 sys.path.append(synergine2_path)
10 10
 
11
-from sandbox.tiledstrategy.simulation.base import TiledStrategySimulation, TiledStrategySubjects
11
+from sandbox.tile.simulation.base import TiledStrategySimulation, TiledStrategySubjects
12 12
 from synergine2.log import get_default_logger
13 13
 from synergine2.config import Config
14
-from sandbox.tiledstrategy.terminal.base import CocosTerminal
14
+from sandbox.tile.terminal.base import CocosTerminal
15 15
 from synergine2.core import Core
16 16
 from synergine2.cycle import CycleManager
17 17
 from synergine2.terminals import TerminalManager

sandbox/tiledstrategy/simulation/__init__.py → sandbox/tile/simulation/__init__.py Bestand weergeven


sandbox/tiledstrategy/simulation/base.py → sandbox/tile/simulation/base.py Bestand weergeven


sandbox/tiledstrategy/terminal/__init__.py → sandbox/tile/terminal/__init__.py Bestand weergeven


sandbox/tiledstrategy/terminal/base.py → sandbox/tile/terminal/base.py Bestand weergeven

@@ -15,7 +15,7 @@ class CocosTerminal(Terminal):
15 15
         self.map_dir_path = map_dir_path
16 16
 
17 17
     def run(self):
18
-        from sandbox.tiledstrategy.gui.base import Game
18
+        from sandbox.tile.gui.base import Game
19 19
         self.gui = Game(
20 20
             self.config,
21 21
             self.logger,