aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamil Cholewiński <harry666t@gmail.com>2016-01-31 16:42:05 +0100
committerKamil Cholewiński <harry666t@gmail.com>2016-01-31 16:42:05 +0100
commita3728f95dec15ce6b87455fc32e13f8881458852 (patch)
treefc3040ffe59a93c22dcce389cfeb1e7439ea6b36
parentca1da4a0e271a6cec08e2828bb8d72e43552a430 (diff)
downloadpewpew-a3728f95dec15ce6b87455fc32e13f8881458852.zip
pewpew-a3728f95dec15ce6b87455fc32e13f8881458852.tar.gz
pewpew-a3728f95dec15ce6b87455fc32e13f8881458852.tar.bz2
New ship shape
-rw-r--r--shapes.lua12
-rw-r--r--ship.lua2
2 files changed, 11 insertions, 3 deletions
diff --git a/shapes.lua b/shapes.lua
index da2542d..9cb0c2b 100644
--- a/shapes.lua
+++ b/shapes.lua
@@ -1,4 +1,12 @@
return {
- bulky = {-10, 0, -10, -10, 0, -20, 10, -10, 10, 0},
- lean = {-10, 0, 0, -20, 10, 0},
+ ship = {
+ 2, 10,
+ 8, 8,
+ 8, 4,
+ 6, -2,
+ 0, -10,
+ -6, -2,
+ -8, 4,
+ -8, 8,
+ },
}
diff --git a/ship.lua b/ship.lua
index 26b4d16..910e3ff 100644
--- a/ship.lua
+++ b/ship.lua
@@ -18,7 +18,7 @@ Ship:extend {
speed = 1500,
name = "UnnamedShip",
color = {128, 128, 128},
- shape = shapes.lean,
+ shape = shapes.ship,
controls = nil,
body = nil,
fixture = nil,