diff options
Diffstat (limited to 'demos/2d/hexamap')
-rw-r--r-- | demos/2d/hexamap/WWT-01.png | bin | 20369 -> 0 bytes | |||
-rw-r--r-- | demos/2d/hexamap/WWT-02.png | bin | 21993 -> 0 bytes | |||
-rw-r--r-- | demos/2d/hexamap/WWT-03.png | bin | 22703 -> 0 bytes | |||
-rw-r--r-- | demos/2d/hexamap/WWT-04.png | bin | 20615 -> 0 bytes | |||
-rw-r--r-- | demos/2d/hexamap/WWT-05.png | bin | 22293 -> 0 bytes | |||
-rw-r--r-- | demos/2d/hexamap/WWT-06.png | bin | 22971 -> 0 bytes | |||
-rw-r--r-- | demos/2d/hexamap/WWT-07.png | bin | 22306 -> 0 bytes | |||
-rw-r--r-- | demos/2d/hexamap/WWT-08.png | bin | 22084 -> 0 bytes | |||
-rw-r--r-- | demos/2d/hexamap/WWT-09.png | bin | 22066 -> 0 bytes | |||
-rw-r--r-- | demos/2d/hexamap/WWT-10.png | bin | 22019 -> 0 bytes | |||
-rw-r--r-- | demos/2d/hexamap/WWT-11.png | bin | 21546 -> 0 bytes | |||
-rw-r--r-- | demos/2d/hexamap/WWT-12.png | bin | 21405 -> 0 bytes | |||
-rw-r--r-- | demos/2d/hexamap/WWT-13.png | bin | 19682 -> 0 bytes | |||
-rw-r--r-- | demos/2d/hexamap/WWT-14.png | bin | 20491 -> 0 bytes | |||
-rw-r--r-- | demos/2d/hexamap/WWT-15.png | bin | 21237 -> 0 bytes | |||
-rw-r--r-- | demos/2d/hexamap/WWT-16.png | bin | 20673 -> 0 bytes | |||
-rw-r--r-- | demos/2d/hexamap/WWT-17.png | bin | 20628 -> 0 bytes | |||
-rw-r--r-- | demos/2d/hexamap/WWT-18.png | bin | 22559 -> 0 bytes | |||
-rw-r--r-- | demos/2d/hexamap/WWT-19.png | bin | 21600 -> 0 bytes | |||
-rw-r--r-- | demos/2d/hexamap/WWT-20.png | bin | 21130 -> 0 bytes | |||
-rw-r--r-- | demos/2d/hexamap/WWT-21.png | bin | 21114 -> 0 bytes | |||
-rw-r--r-- | demos/2d/hexamap/WWT-22.png | bin | 21440 -> 0 bytes | |||
-rw-r--r-- | demos/2d/hexamap/WWT-23.png | bin | 20817 -> 0 bytes | |||
-rw-r--r-- | demos/2d/hexamap/WWT-24.png | bin | 19964 -> 0 bytes | |||
-rw-r--r-- | demos/2d/hexamap/WWT-25.png | bin | 20584 -> 0 bytes | |||
-rw-r--r-- | demos/2d/hexamap/WWT-26.png | bin | 21405 -> 0 bytes | |||
-rw-r--r-- | demos/2d/hexamap/engine.cfg | 12 | ||||
-rw-r--r-- | demos/2d/hexamap/icon.png | bin | 5925 -> 0 bytes | |||
-rw-r--r-- | demos/2d/hexamap/map.scn | bin | 3517 -> 0 bytes | |||
-rw-r--r-- | demos/2d/hexamap/tiles.scn | bin | 2217 -> 0 bytes | |||
-rw-r--r-- | demos/2d/hexamap/tileset.res | bin | 6863 -> 0 bytes | |||
-rw-r--r-- | demos/2d/hexamap/troll.gd | 38 | ||||
-rw-r--r-- | demos/2d/hexamap/troll.png | bin | 7246 -> 0 bytes | |||
-rw-r--r-- | demos/2d/hexamap/troll.scn | bin | 1983 -> 0 bytes |
34 files changed, 0 insertions, 50 deletions
diff --git a/demos/2d/hexamap/WWT-01.png b/demos/2d/hexamap/WWT-01.png Binary files differdeleted file mode 100644 index 79d75fa4c9..0000000000 --- a/demos/2d/hexamap/WWT-01.png +++ /dev/null diff --git a/demos/2d/hexamap/WWT-02.png b/demos/2d/hexamap/WWT-02.png Binary files differdeleted file mode 100644 index 7dcd1c8cca..0000000000 --- a/demos/2d/hexamap/WWT-02.png +++ /dev/null diff --git a/demos/2d/hexamap/WWT-03.png b/demos/2d/hexamap/WWT-03.png Binary files differdeleted file mode 100644 index 1e76c9a24d..0000000000 --- a/demos/2d/hexamap/WWT-03.png +++ /dev/null diff --git a/demos/2d/hexamap/WWT-04.png b/demos/2d/hexamap/WWT-04.png Binary files differdeleted file mode 100644 index 84a3b90e71..0000000000 --- a/demos/2d/hexamap/WWT-04.png +++ /dev/null diff --git a/demos/2d/hexamap/WWT-05.png b/demos/2d/hexamap/WWT-05.png Binary files differdeleted file mode 100644 index 850747dc8d..0000000000 --- a/demos/2d/hexamap/WWT-05.png +++ /dev/null diff --git a/demos/2d/hexamap/WWT-06.png b/demos/2d/hexamap/WWT-06.png Binary files differdeleted file mode 100644 index 52479e2d26..0000000000 --- a/demos/2d/hexamap/WWT-06.png +++ /dev/null diff --git a/demos/2d/hexamap/WWT-07.png b/demos/2d/hexamap/WWT-07.png Binary files differdeleted file mode 100644 index 87aa8a4102..0000000000 --- a/demos/2d/hexamap/WWT-07.png +++ /dev/null diff --git a/demos/2d/hexamap/WWT-08.png b/demos/2d/hexamap/WWT-08.png Binary files differdeleted file mode 100644 index 0234cccd56..0000000000 --- a/demos/2d/hexamap/WWT-08.png +++ /dev/null diff --git a/demos/2d/hexamap/WWT-09.png b/demos/2d/hexamap/WWT-09.png Binary files differdeleted file mode 100644 index 5467eb58c3..0000000000 --- a/demos/2d/hexamap/WWT-09.png +++ /dev/null diff --git a/demos/2d/hexamap/WWT-10.png b/demos/2d/hexamap/WWT-10.png Binary files differdeleted file mode 100644 index bb0b5ae1ff..0000000000 --- a/demos/2d/hexamap/WWT-10.png +++ /dev/null diff --git a/demos/2d/hexamap/WWT-11.png b/demos/2d/hexamap/WWT-11.png Binary files differdeleted file mode 100644 index 926ad251b4..0000000000 --- a/demos/2d/hexamap/WWT-11.png +++ /dev/null diff --git a/demos/2d/hexamap/WWT-12.png b/demos/2d/hexamap/WWT-12.png Binary files differdeleted file mode 100644 index e6c7d33894..0000000000 --- a/demos/2d/hexamap/WWT-12.png +++ /dev/null diff --git a/demos/2d/hexamap/WWT-13.png b/demos/2d/hexamap/WWT-13.png Binary files differdeleted file mode 100644 index f14e42af6e..0000000000 --- a/demos/2d/hexamap/WWT-13.png +++ /dev/null diff --git a/demos/2d/hexamap/WWT-14.png b/demos/2d/hexamap/WWT-14.png Binary files differdeleted file mode 100644 index 826ed49d18..0000000000 --- a/demos/2d/hexamap/WWT-14.png +++ /dev/null diff --git a/demos/2d/hexamap/WWT-15.png b/demos/2d/hexamap/WWT-15.png Binary files differdeleted file mode 100644 index c62de67c8e..0000000000 --- a/demos/2d/hexamap/WWT-15.png +++ /dev/null diff --git a/demos/2d/hexamap/WWT-16.png b/demos/2d/hexamap/WWT-16.png Binary files differdeleted file mode 100644 index 2e8c289d97..0000000000 --- a/demos/2d/hexamap/WWT-16.png +++ /dev/null diff --git a/demos/2d/hexamap/WWT-17.png b/demos/2d/hexamap/WWT-17.png Binary files differdeleted file mode 100644 index f8c59a4dbe..0000000000 --- a/demos/2d/hexamap/WWT-17.png +++ /dev/null diff --git a/demos/2d/hexamap/WWT-18.png b/demos/2d/hexamap/WWT-18.png Binary files differdeleted file mode 100644 index 05269c843c..0000000000 --- a/demos/2d/hexamap/WWT-18.png +++ /dev/null diff --git a/demos/2d/hexamap/WWT-19.png b/demos/2d/hexamap/WWT-19.png Binary files differdeleted file mode 100644 index 7313ff8871..0000000000 --- a/demos/2d/hexamap/WWT-19.png +++ /dev/null diff --git a/demos/2d/hexamap/WWT-20.png b/demos/2d/hexamap/WWT-20.png Binary files differdeleted file mode 100644 index 2ec6fe94e2..0000000000 --- a/demos/2d/hexamap/WWT-20.png +++ /dev/null diff --git a/demos/2d/hexamap/WWT-21.png b/demos/2d/hexamap/WWT-21.png Binary files differdeleted file mode 100644 index e7a51fa687..0000000000 --- a/demos/2d/hexamap/WWT-21.png +++ /dev/null diff --git a/demos/2d/hexamap/WWT-22.png b/demos/2d/hexamap/WWT-22.png Binary files differdeleted file mode 100644 index 0e4d7729ed..0000000000 --- a/demos/2d/hexamap/WWT-22.png +++ /dev/null diff --git a/demos/2d/hexamap/WWT-23.png b/demos/2d/hexamap/WWT-23.png Binary files differdeleted file mode 100644 index ab1cc895e4..0000000000 --- a/demos/2d/hexamap/WWT-23.png +++ /dev/null diff --git a/demos/2d/hexamap/WWT-24.png b/demos/2d/hexamap/WWT-24.png Binary files differdeleted file mode 100644 index b0a05671cf..0000000000 --- a/demos/2d/hexamap/WWT-24.png +++ /dev/null diff --git a/demos/2d/hexamap/WWT-25.png b/demos/2d/hexamap/WWT-25.png Binary files differdeleted file mode 100644 index 3d90080259..0000000000 --- a/demos/2d/hexamap/WWT-25.png +++ /dev/null diff --git a/demos/2d/hexamap/WWT-26.png b/demos/2d/hexamap/WWT-26.png Binary files differdeleted file mode 100644 index a3baca90a0..0000000000 --- a/demos/2d/hexamap/WWT-26.png +++ /dev/null diff --git a/demos/2d/hexamap/engine.cfg b/demos/2d/hexamap/engine.cfg deleted file mode 100644 index 4567af7a16..0000000000 --- a/demos/2d/hexamap/engine.cfg +++ /dev/null @@ -1,12 +0,0 @@ -[application] - -name="Hexagonal Game" -main_scene="res://map.scn" -icon="res://icon.png" - -[input] - -move_up=[key(Up)] -move_left=[key(Left)] -move_right=[key(Right)] -move_bottom=[key(Down)] diff --git a/demos/2d/hexamap/icon.png b/demos/2d/hexamap/icon.png Binary files differdeleted file mode 100644 index 0fcef95111..0000000000 --- a/demos/2d/hexamap/icon.png +++ /dev/null diff --git a/demos/2d/hexamap/map.scn b/demos/2d/hexamap/map.scn Binary files differdeleted file mode 100644 index de49527003..0000000000 --- a/demos/2d/hexamap/map.scn +++ /dev/null diff --git a/demos/2d/hexamap/tiles.scn b/demos/2d/hexamap/tiles.scn Binary files differdeleted file mode 100644 index a019bbb92d..0000000000 --- a/demos/2d/hexamap/tiles.scn +++ /dev/null diff --git a/demos/2d/hexamap/tileset.res b/demos/2d/hexamap/tileset.res Binary files differdeleted file mode 100644 index 05d89316a2..0000000000 --- a/demos/2d/hexamap/tileset.res +++ /dev/null diff --git a/demos/2d/hexamap/troll.gd b/demos/2d/hexamap/troll.gd deleted file mode 100644 index 82938fdf10..0000000000 --- a/demos/2d/hexamap/troll.gd +++ /dev/null @@ -1,38 +0,0 @@ - -extends KinematicBody2D - -# This is a simple collision demo showing how -# the kinematic controller works. -# move() will allow to move the node, and will -# always move it to a non-colliding spot, -# as long as it starts from a non-colliding spot too. - -# Member variables -const MOTION_SPEED = 160 # Pixels/second - - -func _fixed_process(delta): - var motion = Vector2() - - if (Input.is_action_pressed("move_up")): - motion += Vector2(0, -1) - if (Input.is_action_pressed("move_bottom")): - motion += Vector2(0, 1) - if (Input.is_action_pressed("move_left")): - motion += Vector2(-1, 0) - if (Input.is_action_pressed("move_right")): - motion += Vector2(1, 0) - - motion = motion.normalized()*MOTION_SPEED*delta - motion = move(motion) - - # Make character slide nicely through the world - var slide_attempts = 4 - while(is_colliding() and slide_attempts > 0): - motion = get_collision_normal().slide(motion) - motion = move(motion) - slide_attempts -= 1 - - -func _ready(): - set_fixed_process(true) diff --git a/demos/2d/hexamap/troll.png b/demos/2d/hexamap/troll.png Binary files differdeleted file mode 100644 index 69f195d034..0000000000 --- a/demos/2d/hexamap/troll.png +++ /dev/null diff --git a/demos/2d/hexamap/troll.scn b/demos/2d/hexamap/troll.scn Binary files differdeleted file mode 100644 index 1f33dabf8e..0000000000 --- a/demos/2d/hexamap/troll.scn +++ /dev/null |