Bastien Sevajol před 7 roky
rodič
revize
1dbafb147a

sandbox/tiledstrategy/__init__.py → sandbox/tile/__init__.py Zobrazit soubor


sandbox/tiledstrategy/gui/__init__.py → sandbox/tile/gui/__init__.py Zobrazit soubor


sandbox/tiledstrategy/gui/actor.py → sandbox/tile/gui/actor.py Zobrazit soubor

1
 # coding: utf-8
1
 # coding: utf-8
2
 import pyglet
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
 from synergine2_cocos2d.actor import Actor
6
 from synergine2_cocos2d.actor import Actor
7
 
7
 
8
 
8
 

sandbox/tiledstrategy/gui/animation.py → sandbox/tile/gui/animation.py Zobrazit soubor


sandbox/tiledstrategy/gui/base.py → sandbox/tile/gui/base.py Zobrazit soubor

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

sandbox/tiledstrategy/maps/003/003.tmx → sandbox/tile/maps/003/003.tmx Zobrazit soubor


sandbox/tiledstrategy/maps/003/actors/man.png → sandbox/tile/maps/003/actors/man.png Zobrazit soubor


sandbox/tiledstrategy/maps/003/actors/man_c1.png → sandbox/tile/maps/003/actors/man_c1.png Zobrazit soubor


sandbox/tiledstrategy/maps/003/actors/man_c2.png → sandbox/tile/maps/003/actors/man_c2.png Zobrazit soubor


sandbox/tiledstrategy/maps/003/actors/man_c3.png → sandbox/tile/maps/003/actors/man_c3.png Zobrazit soubor


sandbox/tiledstrategy/maps/003/actors/man_c4.png → sandbox/tile/maps/003/actors/man_c4.png Zobrazit soubor


sandbox/tiledstrategy/maps/003/actors/man_w1.png → sandbox/tile/maps/003/actors/man_w1.png Zobrazit soubor


sandbox/tiledstrategy/maps/003/actors/man_w10.png → sandbox/tile/maps/003/actors/man_w10.png Zobrazit soubor


sandbox/tiledstrategy/maps/003/actors/man_w2.png → sandbox/tile/maps/003/actors/man_w2.png Zobrazit soubor


sandbox/tiledstrategy/maps/003/actors/man_w3.png → sandbox/tile/maps/003/actors/man_w3.png Zobrazit soubor


sandbox/tiledstrategy/maps/003/actors/man_w4.png → sandbox/tile/maps/003/actors/man_w4.png Zobrazit soubor


sandbox/tiledstrategy/maps/003/actors/man_w5.png → sandbox/tile/maps/003/actors/man_w5.png Zobrazit soubor


sandbox/tiledstrategy/maps/003/actors/man_w6.png → sandbox/tile/maps/003/actors/man_w6.png Zobrazit soubor


sandbox/tiledstrategy/maps/003/actors/man_w7.png → sandbox/tile/maps/003/actors/man_w7.png Zobrazit soubor


sandbox/tiledstrategy/maps/003/actors/man_w8.png → sandbox/tile/maps/003/actors/man_w8.png Zobrazit soubor


sandbox/tiledstrategy/maps/003/actors/man_w9.png → sandbox/tile/maps/003/actors/man_w9.png Zobrazit soubor


sandbox/tiledstrategy/maps/003/background.png → sandbox/tile/maps/003/background.png Zobrazit soubor


sandbox/tiledstrategy/maps/003/trees_64x64.png → sandbox/tile/maps/003/trees_64x64.png Zobrazit soubor


sandbox/tiledstrategy/maps/003/trees_64x64.tsx → sandbox/tile/maps/003/trees_64x64.tsx Zobrazit soubor


sandbox/tiledstrategy/run.py → sandbox/tile/run.py Zobrazit soubor

8
 synergine2_path = os.path.abspath(os.path.join(os.path.dirname(os.path.abspath(__file__)), '../../'))
8
 synergine2_path = os.path.abspath(os.path.join(os.path.dirname(os.path.abspath(__file__)), '../../'))
9
 sys.path.append(synergine2_path)
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
 from synergine2.log import get_default_logger
12
 from synergine2.log import get_default_logger
13
 from synergine2.config import Config
13
 from synergine2.config import Config
14
-from sandbox.tiledstrategy.terminal.base import CocosTerminal
14
+from sandbox.tile.terminal.base import CocosTerminal
15
 from synergine2.core import Core
15
 from synergine2.core import Core
16
 from synergine2.cycle import CycleManager
16
 from synergine2.cycle import CycleManager
17
 from synergine2.terminals import TerminalManager
17
 from synergine2.terminals import TerminalManager

sandbox/tiledstrategy/simulation/__init__.py → sandbox/tile/simulation/__init__.py Zobrazit soubor


sandbox/tiledstrategy/simulation/base.py → sandbox/tile/simulation/base.py Zobrazit soubor


sandbox/tiledstrategy/terminal/__init__.py → sandbox/tile/terminal/__init__.py Zobrazit soubor


sandbox/tiledstrategy/terminal/base.py → sandbox/tile/terminal/base.py Zobrazit soubor

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