summaryrefslogtreecommitdiff
path: root/pacmine
diff options
context:
space:
mode:
authorFernando Carmona Varo <ferkiwi@gmail.com>2015-10-24 17:13:09 +0200
committerFernando Carmona Varo <ferkiwi@gmail.com>2015-10-24 17:21:41 +0200
commit3a59f18eb196a3fddb8c67d5e5143a6e3ab0e11b (patch)
tree1b9b0f5d6b55fdb6e7cacaf4fc1d5cd50b23ff4e /pacmine
parenta538d073951f06bf52f7e9f7cc8afe76efffb343 (diff)
parent683316f94c578ec030dc762eb256fd96c4dd978e (diff)
Merge branch 'master' into arcade
Conflicts: pacmine/init.lua pacmine/portals.lua
Diffstat (limited to 'pacmine')
-rwxr-xr-xpacmine/aliases.lua2
-rw-r--r--pacmine/blocks.lua2
-rw-r--r--pacmine/craftitems.lua97
-rw-r--r--pacmine/fruit.lua35
-rwxr-xr-xpacmine/gamestate.lua10
-rwxr-xr-xpacmine/hud.lua11
-rw-r--r--pacmine/init.lua7
-rw-r--r--pacmine/models/mypacman_strawberry.obj196
-rw-r--r--pacmine/models/pacmine_apple.obj232
-rw-r--r--pacmine/models/pacmine_cherrys.obj321
-rw-r--r--pacmine/models/pacmine_orange.obj321
-rw-r--r--pacmine/models/xmypacman_orange.obj358
-rw-r--r--pacmine/portals.lua10
-rw-r--r--pacmine/textures/pacmine_portal.pngbin450 -> 144 bytes
-rw-r--r--pacmine/textures/pacmine_powerpellet.pngbin0 -> 238 bytes
15 files changed, 1486 insertions, 116 deletions
diff --git a/pacmine/aliases.lua b/pacmine/aliases.lua
index 83a09e8..236901c 100755
--- a/pacmine/aliases.lua
+++ b/pacmine/aliases.lua
@@ -6,6 +6,6 @@ local nodes = {
"pellet_1","pellet_2","block2",
}
-for _,i in pairs(nodes) do
+for _,itm in pairs(nodes) do
minetest.register_alias("mypacman:"..itm, "pacmine:"..itm)
end
diff --git a/pacmine/blocks.lua b/pacmine/blocks.lua
index b7d0c49..2773142 100644
--- a/pacmine/blocks.lua
+++ b/pacmine/blocks.lua
@@ -1,7 +1,7 @@
local sbox = {
type = "fixed",
fixed = {
- {-0.5, -0.5, -0.0625, 0.5, 0.5, 0.0625}
+ {-0.45, -0.45, -0.45, 0.45, 0.45, 0.45}
}
}
local cbox = {
diff --git a/pacmine/craftitems.lua b/pacmine/craftitems.lua
deleted file mode 100644
index cab05f0..0000000
--- a/pacmine/craftitems.lua
+++ /dev/null
@@ -1,97 +0,0 @@
-local cherry_box = {
- type = "fixed",
- fixed = {
- {0, -0.375, -0.0625, 0.25, 0, 0.0625},
- {-0.0625, -0.3125, -0.0625, 0.3125, -0.0625, 0.0625},
- {-0.3125, -0.25, -0.0625, -0.125, 0.125, 0.0625},
- {-0.375, -0.1875, -0.0625, -0.125, 0.0625, 0.0625},
- {-0.125, -0.0625, -0.0625, -0.0625, 0.125, 0.0625},
- {-0.0625, 0, -0.0625, 0, 0.0625, 0.0625},
- {-0.0625, 0.125, -0.0625, 0, 0.1875, 0.0625},
- {0, 0.1875, -0.0625, 0.125, 0.25, 0.0625},
- {0.125, 0.25, -0.0625, 0.375, 0.3125, 0.0625},
- {0.25, 0.3125, -0.0625, 0.375, 0.375, 0.0625},
- {0.1875, 0.125, -0.0625, 0.25, 0.25, 0.0625},
- {0.125, 0.0625, -0.0625, 0.1875, 0.125, 0.0625},
- {0.0625, 0, -0.0625, 0.125, 0.0625, 0.0625},
- }
- }
-local strawberry_box = {
- type = "fixed",
- fixed = {
- {-0.0625, 0.3125, -0.0625, 0, 0.375, 0.0625},
- {-0.25, 0.25, -0.0625, 0.1875, 0.3125, 0.0625},
- {-0.3125, 0.1875, -0.0625, 0.25, 0.25, 0.0625},
- {-0.375, -0.0625, -0.0625, 0.3125, 0.1875, 0.0625},
- {-0.3125, -0.1875, -0.0625, 0.25, -0.0625, 0.0625},
- {-0.25, -0.25, -0.0625, 0.1875, -0.1875, 0.0625},
- {-0.1875, -0.3125, -0.0625, 0.125, -0.25, 0.0625},
- {-0.0625, -0.375, -0.0625, 0, -0.3125, 0.0625},
- }
- }
-local apple_box = {
- type = "fixed",
- fixed = {
- {-0.3125, -0.125, -0.0625, 0.375, 0.25, 0.0625},
- {-0.375, -0.125, -0.0625, -0.3125, 0.1875, 0.0625},
- {-0.3125, -0.25, -0.0625, 0.3125, -0.125, 0.0625},
- {-0.25, -0.3125, -0.0625, 0.25, -0.25, 0.0625},
- {0.0625, -0.375, -0.0625, 0.1875, -0.3125, 0.0625},
- {-0.1875, -0.375, -0.0625, 0, -0.3125, 0.0625},
- {0.125, 0.25, -0.0625, 0.3125, 0.3125, 0.0625},
- {0, 0.25, -0.0625, 0.0625, 0.3125, 0.0625},
- {-0.25, 0.25, -0.0625, -0.0625, 0.3125, 0.0625},
- {-0.0625, 0.3125, -0.0625, 0, 0.375, 0.0625},
- }
- }
-local orange_box = {
- type = "fixed",
- fixed = {
- {-0.375, -0.125, -0.0625, 0.375, 0.125, 0.0625},
- {-0.3125, -0.25, -0.0625, 0.3125, 0.1875, 0.0625},
- {-0.25, -0.3125, -0.0625, 0.25, 0.25, 0.0625},
- {0.0625, -0.375, -0.0625, 0.1875, -0.3125, 0.0625},
- {-0.1875, -0.375, -0.0625, 0, -0.3125, 0.0625},
- {0, 0.25, -0.0625, 0.0625, 0.375, 0.0625},
- {-0.25, 0.3125, -0.0625, 0.0625, 0.375, 0.0625},
- {-0.1875, 0.25, -0.0625, -0.0625, 0.4375, 0.0625},
- {-0.25, 0.25, -0.0625, -0.1875, 0.3125, 0.0625},
- }
- }
-
-local pelletitems = {
- {"cherrys", "Cherrys","2",cherry_box},
- {"apple", "Apple","3",apple_box},
- {"orange", "Orange","4",orange_box},
- {"strawberry", "Strawberry","2",strawberry_box},
- }
-for i in ipairs (pelletitems) do
- local itm = pelletitems[i][1]
- local desc = pelletitems[i][2]
- local hlth = pelletitems[i][3]
- local cbox = pelletitems[i][4]
-
-minetest.register_node("pacmine:"..itm,{
- description = desc,
- inventory_image = "pacmine_"..itm..".png",
- tiles = {
- "pacmine_"..itm..".png",
- "pacmine_"..itm..".png",
- "pacmine_"..itm..".png",
- "pacmine_"..itm..".png",
- "pacmine_"..itm..".png",
- "pacmine_"..itm..".png^[transformFX",
- },
- drawtype = "nodebox",
- paramtype = "light",
- paramtype2 = "facedir",
- walkable = false,
- light_source = 14,
- groups = {cracky=3,not_in_creative_inventory = 0},
- node_box = cbox,
- collision_box = cbox,
- after_destruct = function(pos, oldnode)
- pacmine.on_player_got_fruit()
- end,
-})
-end
diff --git a/pacmine/fruit.lua b/pacmine/fruit.lua
new file mode 100644
index 0000000..29389a8
--- /dev/null
+++ b/pacmine/fruit.lua
@@ -0,0 +1,35 @@
+local cbox = {
+ type = "fixed",
+ fixed = {{-0.875, 0.125, -0.0625, -0.125, 0.875, 0.0625}}
+ }
+
+local pelletitems = {
+ {"cherrys", "Cherrys","2"},
+ {"apple", "Apple","3"},
+ {"orange", "Orange","4"},
+ {"strawberry", "Strawberry","2"},
+ }
+for i in ipairs (pelletitems) do
+ local itm = pelletitems[i][1]
+ local desc = pelletitems[i][2]
+ local hlth = pelletitems[i][3]
+
+minetest.register_node("pacmine:"..itm,{
+ description = desc,
+ inventory_image = "pacmine_"..itm..".png",
+ tiles = {"pacmine_"..itm..".png",},
+ drawtype = "mesh",
+ mesh = "pacmine_"..itm..".obj",
+ paramtype = "light",
+ paramtype2 = "facedir",
+ walkable = false,
+ light_source = 14,
+ groups = {cracky=3,not_in_creative_inventory = 0},
+ --node_box = cbox,
+ selection_box = cbox,
+ collision_box = cbox,
+ after_destruct = function(pos, oldnode)
+ pacmine.on_player_got_fruit()
+ end,
+})
+end
diff --git a/pacmine/gamestate.lua b/pacmine/gamestate.lua
index 76c8994..6c27d04 100755
--- a/pacmine/gamestate.lua
+++ b/pacmine/gamestate.lua
@@ -36,7 +36,7 @@ function pacmine.game_start(pos, player)
pacmine.games[id] = gamestate
pacmine.players[id] = player
- minetest.log("action","New pacman game started at " .. id .. " by " .. gamestate.player_name)
+ minetest.log("action","New pacmine game started at " .. id .. " by " .. gamestate.player_name)
-- place schematic
local schem = minetest.get_modpath("pacmine").."/schems/pacmine_3.mts"
@@ -204,7 +204,7 @@ local function gamestate_load()
end
end
--- Called every 0.5 seconds for each player that is currently playing pacman
+-- Called every 0.5 seconds for each player that is currently playing
local function on_player_gamestep(player, gameid)
local player_pos = player:getpos()
local positions = {
@@ -283,14 +283,14 @@ minetest.register_chatcommand("pacmine_exit", {
if gamestate then
pacmine.game_end(gamestate.id)
minetest.get_player_by_name(name):moveto(vector.add(gamestate.pos,{x=0.5,y=0.5,z=-1.5}))
- minetest.chat_send_player(name, "You are no longer playing pacman")
+ minetest.chat_send_player(name, "You are no longer playing pacmine")
else
- minetest.chat_send_player(name, "You are not currently in a pacman game")
+ minetest.chat_send_player(name, "You are not currently in a pacmine game")
end
end
})
minetest.register_on_shutdown(function()
- minetest.log("action", "Server shuts down. Saving pacman data")
+ minetest.log("action", "Server shuts down. Saving pacmine data")
gamestate_save()
end)
diff --git a/pacmine/hud.lua b/pacmine/hud.lua
index 162917d..1598a2b 100755
--- a/pacmine/hud.lua
+++ b/pacmine/hud.lua
@@ -11,10 +11,11 @@ function pacmine.update_hud(id, player)
pacmine.remove_hud(player)
return
end
-
- local hudtext = "Score: " .. game.score
- .. "\nLevel: " .. game.level
- .. "\nLives: " .. game.lives
+ local pellets_left = 252 - game.pellet_count
+ local hudtext = "Score " .. game.score
+ .. "\nLevel " .. game.level
+ .. "\nLives " .. game.lives
+ .. "\nPellets " .. pellets_left
local hud = hud_table[game.player_name]
if not hud then
@@ -23,7 +24,7 @@ function pacmine.update_hud(id, player)
position = {x = 0, y = 1},
offset = {x=100, y = -100},
scale = {x = 100, y = 100},
- number = 0x8888FF, --color
+ number = 0xfff227, --color
text = hudtext
})
hud_table[game.player_name] = hud
diff --git a/pacmine/init.lua b/pacmine/init.lua
index 07fc1ab..6689cc7 100644
--- a/pacmine/init.lua
+++ b/pacmine/init.lua
@@ -2,8 +2,7 @@
-- This variable will be exported to other mods when they "depend" on this mod
pacmine = {}
-
-dofile(minetest.get_modpath("pacmine").."/craftitems.lua")
+dofile(minetest.get_modpath("pacmine").."/fruit.lua")
dofile(minetest.get_modpath("pacmine").."/ghost.lua")
dofile(minetest.get_modpath("pacmine").."/blocks.lua")
dofile(minetest.get_modpath("pacmine").."/portals.lua")
@@ -11,6 +10,8 @@ dofile(minetest.get_modpath("pacmine").."/gamestate.lua")
dofile(minetest.get_modpath("pacmine").."/hud.lua")
dofile(minetest.get_modpath("pacmine").."/aliases.lua")
+
+
--Yellow Pellets
minetest.register_node("pacmine:pellet_1", {
description = "Pellet 1",
@@ -43,7 +44,7 @@ minetest.register_node("pacmine:pellet_1", {
--Power Pellets. Need to make these do something
minetest.register_node("pacmine:pellet_2", {
description = "Pellet 2",
- tiles = {"wool_yellow.png^[colorize:white:140"},
+ tiles = {{name="pacmine_powerpellet.png", animation={type="vertical_frames",aspect_w=16, aspect_h=16, length=0.8}},},
drawtype = "nodebox",
paramtype = "light",
paramtype2 = "facedir",
diff --git a/pacmine/models/mypacman_strawberry.obj b/pacmine/models/mypacman_strawberry.obj
new file mode 100644
index 0000000..768a9a5
--- /dev/null
+++ b/pacmine/models/mypacman_strawberry.obj
@@ -0,0 +1,196 @@
+# Blender v2.75 (sub 0) OBJ File: ''
+# www.blender.org
+o Strawberry_Plane.004
+v 0.562500 0.125000 -0.050000
+v 0.500000 0.125000 -0.050000
+v 0.687500 0.187500 -0.050000
+v 0.625000 0.187500 -0.050000
+v 0.562500 0.187500 -0.050000
+v 0.500000 0.187500 -0.050000
+v 0.437500 0.187500 -0.050000
+v 0.375000 0.187500 -0.050000
+v 0.750000 0.250000 -0.050000
+v 0.687500 0.250000 -0.050000
+v 0.500000 0.187500 0.050000
+v 0.250000 0.312500 0.050000
+v 0.312500 0.312500 0.050000
+v 0.562500 0.187500 0.050000
+v 0.375000 0.250000 -0.050000
+v 0.312500 0.250000 -0.050000
+v 0.812500 0.312500 -0.050000
+v 0.750000 0.312500 -0.050000
+v 0.625000 0.187500 0.050000
+v 0.750000 0.312500 0.050000
+v 0.750000 0.750000 0.050000
+v 0.812500 0.750000 0.050000
+v 0.812500 0.312500 0.050000
+v 0.687500 0.187500 0.050000
+v 0.312500 0.312500 -0.050000
+v 0.250000 0.312500 -0.050000
+v 0.812500 0.375000 -0.050000
+v 0.500000 0.125000 0.050000
+v 0.312500 0.250000 0.050000
+v 0.187500 0.687500 0.050000
+v 0.312500 0.812500 0.050000
+v 0.375000 0.812500 0.050000
+v 0.250000 0.687500 0.050000
+v 0.375000 0.250000 0.050000
+v 0.562500 0.125000 0.050000
+v 0.250000 0.375000 -0.050000
+v 0.875000 0.437500 -0.050000
+v 0.812500 0.437500 -0.050000
+v 0.687500 0.250000 0.050000
+v 0.812500 0.687500 0.050000
+v 0.437500 0.812500 0.050000
+v 0.875000 0.500000 0.050000
+v 0.187500 0.500000 0.050000
+v 0.500000 0.812500 0.050000
+v 0.875000 0.687500 0.050000
+v 0.750000 0.250000 0.050000
+v 0.250000 0.437500 -0.050000
+v 0.187500 0.437500 -0.050000
+v 0.875000 0.500000 -0.050000
+v 0.375000 0.187500 0.050000
+v 0.187500 0.437500 0.050000
+v 0.562500 0.812500 0.050000
+v 0.875000 0.562500 0.050000
+v 0.187500 0.562500 0.050000
+v 0.625000 0.812500 0.050000
+v 0.250000 0.437500 0.050000
+v 0.437500 0.187500 0.050000
+v 0.187500 0.500000 -0.050000
+v 0.875000 0.562500 -0.050000
+v 0.812500 0.437500 0.050000
+v 0.687500 0.812500 0.050000
+v 0.875000 0.625000 0.050000
+v 0.187500 0.625000 0.050000
+v 0.750000 0.812500 0.050000
+v 0.875000 0.437500 0.050000
+v 0.187500 0.562500 -0.050000
+v 0.875000 0.625000 -0.050000
+v 0.250000 0.750000 0.050000
+v 0.500000 0.875000 0.050000
+v 0.562500 0.875000 0.050000
+v 0.312500 0.750000 0.050000
+v 0.187500 0.625000 -0.050000
+v 0.875000 0.687500 -0.050000
+v 0.812500 0.687500 -0.050000
+v 0.812500 0.375000 0.050000
+v 0.250000 0.375000 0.050000
+v 0.250000 0.687500 -0.050000
+v 0.187500 0.687500 -0.050000
+v 0.812500 0.750000 -0.050000
+v 0.750000 0.750000 -0.050000
+v 0.312500 0.750000 -0.050000
+v 0.250000 0.750000 -0.050000
+v 0.750000 0.812500 -0.050000
+v 0.687500 0.812500 -0.050000
+v 0.625000 0.812500 -0.050000
+v 0.562500 0.812500 -0.050000
+v 0.500000 0.812500 -0.050000
+v 0.437500 0.812500 -0.050000
+v 0.375000 0.812500 -0.050000
+v 0.312500 0.812500 -0.050000
+v 0.562500 0.875000 -0.050000
+v 0.500000 0.875000 -0.050000
+vt 0.812500 0.375000
+vt 0.812500 0.437500
+vt 0.187500 0.562500
+vt 0.187500 0.500000
+vt 0.500000 0.125000
+vt 0.562500 0.125000
+vt 0.437500 0.187500
+vt 0.500000 0.187500
+vt 0.687500 0.187500
+vt 0.687500 0.250000
+vt 0.750000 0.250000
+vt 0.250000 0.750000
+vt 0.250000 0.687500
+vt 0.562500 0.187500
+vt 0.625000 0.187500
+vt 0.750000 0.750000
+vt 0.750000 0.812500
+vt 0.875000 0.437500
+vt 0.750000 0.312500
+vt 0.812500 0.312500
+vt 0.187500 0.687500
+vt 0.187500 0.625000
+vt 0.437500 0.812500
+vt 0.375000 0.812500
+vt 0.500000 0.875000
+vt 0.500000 0.812500
+vt 0.687500 0.812500
+vt 0.625000 0.812500
+vt 0.562500 0.812500
+vt 0.375000 0.187500
+vt 0.375000 0.250000
+vt 0.312500 0.250000
+vt 0.312500 0.750000
+vt 0.875000 0.500000
+vt 0.875000 0.562500
+vt 0.250000 0.437500
+vt 0.250000 0.375000
+vt 0.187500 0.437500
+vt 0.562500 0.875000
+vt 0.312500 0.812500
+vt 0.250000 0.312500
+vt 0.312500 0.312500
+vt 0.875000 0.625000
+vt 0.875000 0.687500
+vt 0.812500 0.687500
+vt 0.812500 0.750000
+vn 1.000000 -0.000000 0.000000
+vn -1.000000 0.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 1.000000 0.000000
+vn 0.000000 0.000000 1.000000
+vn 0.000000 -0.000000 -1.000000
+s off
+f 27/1/1 38/2/1 60/2/1 75/1/1
+f 66/3/2 58/4/2 43/4/2 54/3/2
+f 2/5/3 1/6/3 35/6/3 28/5/3
+f 7/7/3 6/8/3 11/8/3 57/7/3
+f 3/9/1 10/10/1 39/10/1 24/9/1
+f 10/10/3 9/11/3 46/11/3 39/10/3
+f 82/12/2 77/13/2 33/13/2 68/12/2
+f 5/14/3 4/15/3 19/15/3 14/14/3
+f 80/16/1 83/17/1 64/17/1 21/16/1
+f 38/2/3 37/18/3 65/18/3 60/2/3
+f 18/19/3 17/20/3 23/20/3 20/19/3
+f 78/21/2 72/22/2 63/22/2 30/21/2
+f 88/23/4 89/24/4 32/24/4 41/23/4
+f 92/25/2 87/26/2 44/26/2 69/25/2
+f 83/17/4 84/27/4 61/27/4 64/17/4
+f 85/28/4 86/29/4 52/29/4 55/28/4
+f 8/30/3 7/7/3 57/7/3 50/30/3
+f 6/8/2 2/5/2 28/5/2 11/8/2
+f 15/31/2 8/30/2 50/30/2 34/31/2
+f 16/32/3 15/31/3 34/31/3 29/32/3
+f 81/33/4 82/12/4 68/12/4 71/33/4
+f 49/34/1 59/35/1 53/35/1 42/34/1
+f 17/20/1 27/1/1 75/1/1 23/20/1
+f 47/36/2 36/37/2 76/37/2 56/36/2
+f 58/4/2 48/38/2 51/38/2 43/4/2
+f 86/29/1 91/39/1 70/39/1 52/29/1
+f 89/24/4 90/40/4 31/40/4 32/24/4
+f 52/29/5 70/39/5 69/25/5 44/26/5 41/23/5 32/24/5 31/40/5 71/33/5 68/12/5 33/13/5 30/21/5 63/22/5 54/3/5 43/4/5 51/38/5 56/36/5 76/37/5 12/41/5 13/42/5 29/32/5 34/31/5 50/30/5 57/7/5 11/8/5 28/5/5 35/6/5 14/14/5 19/15/5 24/9/5 39/10/5 46/11/5 20/19/5 23/20/5 75/1/5 60/2/5 65/18/5 42/34/5 53/35/5 62/43/5 45/44/5 40/45/5 22/46/5 21/16/5 64/17/5 61/27/5 55/28/5
+f 67/43/1 73/44/1 45/44/1 62/43/1
+f 72/22/2 66/3/2 54/3/2 63/22/2
+f 9/11/1 18/19/1 20/19/1 46/11/1
+f 1/6/1 5/14/1 14/14/1 35/6/1
+f 84/27/4 85/28/4 55/28/4 61/27/4
+f 79/46/4 80/16/4 21/16/4 22/46/4
+f 25/42/2 16/32/2 29/32/2 13/42/2
+f 87/26/4 88/23/4 41/23/4 44/26/4
+f 74/45/1 79/46/1 22/46/1 40/45/1
+f 26/41/3 25/42/3 13/42/3 12/41/3
+f 37/18/1 49/34/1 42/34/1 65/18/1
+f 4/15/3 3/9/3 24/9/3 19/15/3
+f 48/38/3 47/36/3 56/36/3 51/38/3
+f 90/40/2 81/33/2 71/33/2 31/40/2
+f 91/39/4 92/25/4 69/25/4 70/39/4
+f 36/37/2 26/41/2 12/41/2 76/37/2
+f 73/44/4 74/45/4 40/45/4 45/44/4
+f 59/35/1 67/43/1 62/43/1 53/35/1
+f 77/13/4 78/21/4 30/21/4 33/13/4
+f 86/29/6 85/28/6 84/27/6 83/17/6 80/16/6 79/46/6 74/45/6 73/44/6 67/43/6 59/35/6 49/34/6 37/18/6 38/2/6 27/1/6 17/20/6 18/19/6 9/11/6 10/10/6 3/9/6 4/15/6 5/14/6 1/6/6 2/5/6 6/8/6 7/7/6 8/30/6 15/31/6 16/32/6 25/42/6 26/41/6 36/37/6 47/36/6 48/38/6 58/4/6 66/3/6 72/22/6 78/21/6 77/13/6 82/12/6 81/33/6 90/40/6 89/24/6 88/23/6 87/26/6 92/25/6 91/39/6
diff --git a/pacmine/models/pacmine_apple.obj b/pacmine/models/pacmine_apple.obj
new file mode 100644
index 0000000..1f1365a
--- /dev/null
+++ b/pacmine/models/pacmine_apple.obj
@@ -0,0 +1,232 @@
+# Blender v2.75 (sub 0) OBJ File: ''
+# www.blender.org
+o Apple_Plane.002
+v 0.125000 0.375000 -0.050000
+v 0.125000 0.437500 -0.050000
+v 0.125000 0.500000 -0.050000
+v 0.125000 0.562500 -0.050000
+v 0.125000 0.625000 -0.050000
+v 0.125000 0.687500 -0.050000
+v 0.125000 0.750000 -0.050000
+v 0.187500 0.250000 -0.050000
+v 0.187500 0.312500 -0.050000
+v 0.187500 0.375000 -0.050000
+v 0.250000 0.187500 0.050000
+v 0.187500 0.312500 0.050000
+v 0.125000 0.687500 0.050000
+v 0.125000 0.500000 0.050000
+v 0.125000 0.375000 0.050000
+v 0.187500 0.750000 -0.050000
+v 0.187500 0.812500 -0.050000
+v 0.250000 0.187500 -0.050000
+v 0.250000 0.250000 -0.050000
+v 0.250000 0.250000 0.050000
+v 0.437500 0.812500 0.050000
+v 0.437500 0.750000 0.050000
+v 0.375000 0.750000 0.050000
+v 0.187500 0.375000 0.050000
+v 0.125000 0.750000 0.050000
+v 0.125000 0.562500 0.050000
+v 0.125000 0.437500 0.050000
+v 0.250000 0.812500 -0.050000
+v 0.312500 0.125000 -0.050000
+v 0.312500 0.187500 -0.050000
+v 0.312500 0.125000 0.050000
+v 0.500000 0.125000 0.050000
+v 0.562500 0.875000 0.050000
+v 0.562500 0.812500 0.050000
+v 0.500000 0.750000 0.050000
+v 0.375000 0.812500 0.050000
+v 0.187500 0.750000 0.050000
+v 0.187500 0.250000 0.050000
+v 0.125000 0.625000 0.050000
+v 0.312500 0.812500 -0.050000
+v 0.375000 0.125000 -0.050000
+v 0.312500 0.187500 0.050000
+v 0.500000 0.187500 0.050000
+v 0.687500 0.125000 0.050000
+v 0.812500 0.375000 0.050000
+v 0.812500 0.312500 0.050000
+v 0.750000 0.187500 0.050000
+v 0.500000 0.812500 0.050000
+v 0.437500 0.125000 0.050000
+v 0.187500 0.812500 0.050000
+v 0.375000 0.750000 -0.050000
+v 0.375000 0.812500 -0.050000
+v 0.437500 0.125000 -0.050000
+v 0.437500 0.187500 -0.050000
+v 0.687500 0.187500 0.050000
+v 0.812500 0.687500 0.050000
+v 0.625000 0.125000 0.050000
+v 0.687500 0.812500 0.050000
+v 0.875000 0.437500 0.050000
+v 0.750000 0.250000 0.050000
+v 0.500000 0.875000 0.050000
+v 0.437500 0.187500 0.050000
+v 0.437500 0.750000 -0.050000
+v 0.437500 0.812500 -0.050000
+v 0.500000 0.125000 -0.050000
+v 0.500000 0.187500 -0.050000
+v 0.812500 0.750000 0.050000
+v 0.625000 0.812500 0.050000
+v 0.312500 0.812500 0.050000
+v 0.875000 0.500000 0.050000
+v 0.750000 0.750000 0.050000
+v 0.562500 0.750000 0.050000
+v 0.500000 0.750000 -0.050000
+v 0.500000 0.812500 -0.050000
+v 0.500000 0.875000 -0.050000
+v 0.562500 0.125000 -0.050000
+v 0.875000 0.375000 0.050000
+v 0.562500 0.125000 0.050000
+v 0.250000 0.812500 0.050000
+v 0.875000 0.562500 0.050000
+v 0.750000 0.812500 0.050000
+v 0.562500 0.750000 -0.050000
+v 0.562500 0.812500 -0.050000
+v 0.562500 0.875000 -0.050000
+v 0.625000 0.125000 -0.050000
+v 0.375000 0.125000 0.050000
+v 0.875000 0.625000 0.050000
+v 0.812500 0.250000 0.050000
+v 0.625000 0.812500 -0.050000
+v 0.687500 0.125000 -0.050000
+v 0.687500 0.187500 -0.050000
+v 0.875000 0.687500 0.050000
+v 0.687500 0.812500 -0.050000
+v 0.750000 0.187500 -0.050000
+v 0.750000 0.250000 -0.050000
+v 0.750000 0.750000 -0.050000
+v 0.750000 0.812500 -0.050000
+v 0.812500 0.250000 -0.050000
+v 0.812500 0.312500 -0.050000
+v 0.812500 0.375000 -0.050000
+v 0.812500 0.687500 -0.050000
+v 0.812500 0.750000 -0.050000
+v 0.875000 0.375000 -0.050000
+v 0.875000 0.437500 -0.050000
+v 0.875000 0.500000 -0.050000
+v 0.875000 0.562500 -0.050000
+v 0.875000 0.625000 -0.050000
+v 0.875000 0.687500 -0.050000
+vt 0.562500 0.750000
+vt 0.500000 0.750000
+vt 0.125000 0.687500
+vt 0.125000 0.625000
+vt 0.125000 0.562500
+vt 0.750000 0.187500
+vt 0.750000 0.250000
+vt 0.125000 0.500000
+vt 0.562500 0.875000
+vt 0.500000 0.875000
+vt 0.312500 0.125000
+vt 0.375000 0.125000
+vt 0.187500 0.250000
+vt 0.250000 0.250000
+vt 0.500000 0.812500
+vt 0.562500 0.812500
+vt 0.437500 0.750000
+vt 0.375000 0.750000
+vt 0.500000 0.187500
+vt 0.500000 0.125000
+vt 0.312500 0.187500
+vt 0.250000 0.187500
+vt 0.625000 0.125000
+vt 0.687500 0.125000
+vt 0.125000 0.750000
+vt 0.437500 0.812500
+vt 0.812500 0.250000
+vt 0.312500 0.812500
+vt 0.250000 0.812500
+vt 0.562500 0.125000
+vt 0.625000 0.812500
+vt 0.875000 0.625000
+vt 0.875000 0.687500
+vt 0.812500 0.687500
+vt 0.125000 0.437500
+vt 0.125000 0.375000
+vt 0.812500 0.375000
+vt 0.875000 0.375000
+vt 0.375000 0.812500
+vt 0.812500 0.750000
+vt 0.812500 0.312500
+vt 0.687500 0.812500
+vt 0.687500 0.187500
+vt 0.875000 0.437500
+vt 0.875000 0.500000
+vt 0.750000 0.812500
+vt 0.437500 0.125000
+vt 0.437500 0.187500
+vt 0.875000 0.562500
+vt 0.750000 0.750000
+vt 0.187500 0.375000
+vt 0.187500 0.312500
+vt 0.187500 0.812500
+vt 0.187500 0.750000
+vn 0.000000 1.000000 0.000000
+vn -1.000000 0.000000 0.000000
+vn 1.000000 -0.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 -0.000000 -1.000000
+vn -0.000000 0.000000 1.000000
+s off
+f 82/1/1 73/2/1 35/2/1 72/1/1
+f 6/3/2 5/4/2 39/4/2 13/3/2
+f 5/4/2 4/5/2 26/5/2 39/4/2
+f 94/6/3 95/7/3 60/7/3 47/6/3
+f 4/5/2 3/8/2 14/8/2 26/5/2
+f 84/9/1 75/10/1 61/10/1 33/9/1
+f 29/11/4 41/12/4 86/12/4 31/11/4
+f 8/13/4 19/14/4 20/14/4 38/13/4
+f 74/15/5 75/10/5 84/9/5 83/16/5
+f 63/17/1 51/18/1 23/18/1 22/17/1
+f 66/19/2 65/20/2 32/20/2 43/19/2
+f 83/16/3 84/9/3 33/9/3 34/16/3
+f 30/21/2 29/11/2 31/11/2 42/21/2
+f 18/22/4 30/21/4 42/21/4 11/22/4
+f 85/23/4 90/24/4 44/24/4 57/23/4
+f 83/16/2 82/1/2 72/1/2 34/16/2
+f 7/25/2 6/3/2 13/3/2 25/25/2
+f 74/15/4 83/16/4 34/16/4 48/15/4
+f 64/26/2 63/17/2 22/17/2 21/26/2
+f 95/7/4 98/27/4 88/27/4 60/7/4
+f 40/28/1 28/29/1 79/29/1 69/28/1
+f 65/20/4 76/30/4 78/30/4 32/20/4
+f 75/10/2 74/15/2 48/15/2 61/10/2
+f 19/14/2 18/22/2 11/22/2 20/14/2
+f 89/31/1 83/16/1 34/16/1 68/31/1
+f 107/32/3 108/33/3 92/33/3 87/32/3
+f 108/33/1 101/34/1 56/34/1 92/33/1
+f 3/8/2 2/35/2 27/35/2 14/8/2
+f 2/35/2 1/36/2 15/36/2 27/35/2
+f 100/37/4 103/38/4 77/38/4 45/37/4
+f 51/18/3 52/39/3 36/39/3 23/18/3
+f 101/34/3 102/40/3 67/40/3 56/34/3
+f 99/41/3 100/37/3 45/37/3 46/41/3
+f 93/42/1 89/31/1 68/31/1 58/42/1
+f 90/24/3 91/43/3 55/43/3 44/24/3
+f 104/44/3 105/45/3 70/45/3 59/44/3
+f 97/46/1 93/42/1 58/42/1 81/46/1
+f 53/47/3 54/48/3 62/48/3 49/47/3
+f 106/49/3 107/32/3 87/32/3 80/49/3
+f 105/45/3 106/49/3 80/49/3 70/45/3
+f 73/2/3 74/15/3 48/15/3 35/2/3
+f 102/40/1 96/50/1 71/50/1 67/40/1
+f 96/50/3 97/46/3 81/46/3 71/50/3
+f 10/51/2 9/52/2 12/52/2 24/51/2
+f 17/53/2 16/54/2 37/54/2 50/53/2
+f 41/12/4 53/47/4 49/47/4 86/12/4
+f 103/38/3 104/44/3 59/44/3 77/38/3
+f 74/15/1 64/26/1 21/26/1 48/15/1
+f 16/54/1 7/25/1 25/25/1 37/54/1
+f 98/27/3 99/41/3 46/41/3 88/27/3
+f 28/29/1 17/53/1 50/53/1 79/29/1
+f 54/48/4 66/19/4 43/19/4 62/48/4
+f 45/37/6 77/38/6 59/44/6 70/45/6 80/49/6 87/32/6 92/33/6 56/34/6 67/40/6 71/50/6 81/46/6 58/42/6 68/31/6 34/16/6 72/1/6 35/2/6 48/15/6 21/26/6 22/17/6 23/18/6 36/39/6 69/28/6 79/29/6 50/53/6 37/54/6 25/25/6 13/3/6 39/4/6 26/5/6 14/8/6 27/35/6 15/36/6 24/51/6 12/52/6 38/13/6 20/14/6 11/22/6 42/21/6 31/11/6 86/12/6 49/47/6 62/48/6 43/19/6 32/20/6 78/30/6 57/23/6 44/24/6 55/43/6 47/6/6 60/7/6 88/27/6 46/41/6
+f 52/39/1 40/28/1 69/28/1 36/39/1
+f 91/43/4 94/6/4 47/6/4 55/43/4
+f 1/36/4 10/51/4 24/51/4 15/36/4
+f 76/30/4 85/23/4 57/23/4 78/30/4
+f 9/52/2 8/13/2 38/13/2 12/52/2
+f 48/15/6 34/16/6 33/9/6 61/10/6
+f 100/37/5 99/41/5 98/27/5 95/7/5 94/6/5 91/43/5 90/24/5 85/23/5 76/30/5 65/20/5 66/19/5 54/48/5 53/47/5 41/12/5 29/11/5 30/21/5 18/22/5 19/14/5 8/13/5 9/52/5 10/51/5 1/36/5 2/35/5 3/8/5 4/5/5 5/4/5 6/3/5 7/25/5 16/54/5 17/53/5 28/29/5 40/28/5 52/39/5 51/18/5 63/17/5 64/26/5 74/15/5 73/2/5 82/1/5 83/16/5 89/31/5 93/42/5 97/46/5 96/50/5 102/40/5 101/34/5 108/33/5 107/32/5 106/49/5 105/45/5 104/44/5 103/38/5
diff --git a/pacmine/models/pacmine_cherrys.obj b/pacmine/models/pacmine_cherrys.obj
new file mode 100644
index 0000000..83a5ae2
--- /dev/null
+++ b/pacmine/models/pacmine_cherrys.obj
@@ -0,0 +1,321 @@
+# Blender v2.75 (sub 0) OBJ File: ''
+# www.blender.org
+o Cherry_Plane.003
+v 0.500000 0.125000 -0.050000
+v 0.437500 0.125000 -0.050000
+v 0.375000 0.125000 -0.050000
+v 0.312500 0.125000 -0.050000
+v 0.250000 0.125000 -0.050000
+v 0.562500 0.187500 -0.050000
+v 0.500000 0.187500 -0.050000
+v 0.437500 0.500000 0.050000
+v 0.500000 0.500000 0.050000
+v 0.500000 0.437500 0.050000
+v 0.250000 0.187500 -0.050000
+v 0.187500 0.187500 -0.050000
+v 0.812500 0.250000 -0.050000
+v 0.750000 0.250000 -0.050000
+v 0.687500 0.250000 -0.050000
+v 0.625000 0.250000 -0.050000
+v 0.562500 0.250000 -0.050000
+v 0.562500 0.500000 0.050000
+v 0.812500 0.562500 0.050000
+v 0.875000 0.562500 0.050000
+v 0.187500 0.437500 0.050000
+v 0.562500 0.437500 0.050000
+v 0.187500 0.250000 -0.050000
+v 0.875000 0.312500 -0.050000
+v 0.812500 0.312500 -0.050000
+v 0.375000 0.125000 0.050000
+v 0.562500 0.187500 0.050000
+v 0.625000 0.312500 -0.050000
+v 0.562500 0.312500 -0.050000
+v 0.250000 0.500000 0.050000
+v 0.375000 0.562500 0.050000
+v 0.437500 0.562500 0.050000
+v 0.312500 0.500000 0.050000
+v 0.250000 0.437500 0.050000
+v 0.187500 0.312500 -0.050000
+v 0.875000 0.375000 -0.050000
+v 0.437500 0.125000 0.050000
+v 0.250000 0.125000 0.050000
+v 0.187500 0.187500 0.050000
+v 0.625000 0.375000 -0.050000
+v 0.562500 0.375000 -0.050000
+v 0.500000 0.562500 0.050000
+v 0.750000 0.625000 0.050000
+v 0.812500 0.625000 0.050000
+v 0.562500 0.562500 0.050000
+v 0.375000 0.500000 0.050000
+v 0.187500 0.375000 -0.050000
+v 0.875000 0.437500 -0.050000
+v 0.312500 0.125000 0.050000
+v 0.250000 0.187500 0.050000
+v 0.750000 0.250000 0.050000
+v 0.625000 0.437500 -0.050000
+v 0.562500 0.437500 -0.050000
+v 0.500000 0.437500 -0.050000
+v 0.625000 0.625000 0.050000
+v 0.687500 0.625000 0.050000
+v 0.312500 0.562500 0.050000
+v 0.250000 0.437500 -0.050000
+v 0.187500 0.437500 -0.050000
+v 0.875000 0.500000 -0.050000
+v 0.500000 0.187500 0.050000
+v 0.812500 0.250000 0.050000
+v 0.625000 0.250000 0.050000
+v 0.812500 0.312500 0.050000
+v 0.562500 0.500000 -0.050000
+v 0.500000 0.500000 -0.050000
+v 0.437500 0.500000 -0.050000
+v 0.375000 0.500000 -0.050000
+v 0.312500 0.500000 -0.050000
+v 0.250000 0.500000 -0.050000
+v 0.875000 0.562500 -0.050000
+v 0.812500 0.562500 -0.050000
+v 0.687500 0.250000 0.050000
+v 0.875000 0.312500 0.050000
+v 0.625000 0.437500 0.050000
+v 0.562500 0.562500 -0.050000
+v 0.500000 0.562500 -0.050000
+v 0.437500 0.562500 -0.050000
+v 0.375000 0.562500 -0.050000
+v 0.312500 0.562500 -0.050000
+v 0.812500 0.625000 -0.050000
+v 0.750000 0.625000 -0.050000
+v 0.687500 0.625000 -0.050000
+v 0.625000 0.625000 -0.050000
+v 0.562500 0.625000 -0.050000
+v 0.500000 0.625000 -0.050000
+v 0.375000 0.625000 -0.050000
+v 0.312500 0.625000 -0.050000
+v 0.250000 0.625000 -0.050000
+v 0.562500 0.687500 -0.050000
+v 0.500000 0.687500 -0.050000
+v 0.437500 0.687500 -0.050000
+v 0.375000 0.687500 -0.050000
+v 0.312500 0.687500 -0.050000
+v 0.250000 0.687500 -0.050000
+v 0.500000 0.750000 -0.050000
+v 0.437500 0.750000 -0.050000
+v 0.375000 0.750000 -0.050000
+v 0.312500 0.750000 -0.050000
+v 0.250000 0.750000 -0.050000
+v 0.187500 0.750000 -0.050000
+v 0.125000 0.750000 -0.050000
+v 0.562500 0.250000 0.050000
+v 0.187500 0.250000 0.050000
+v 0.625000 0.312500 0.050000
+v 0.562500 0.312500 0.050000
+v 0.187500 0.312500 0.050000
+v 0.875000 0.375000 0.050000
+v 0.625000 0.375000 0.050000
+v 0.562500 0.375000 0.050000
+v 0.375000 0.812500 -0.050000
+v 0.312500 0.812500 -0.050000
+v 0.250000 0.812500 -0.050000
+v 0.500000 0.125000 0.050000
+v 0.125000 0.812500 -0.050000
+v 0.187500 0.375000 0.050000
+v 0.875000 0.437500 0.050000
+v 0.875000 0.500000 0.050000
+v 0.312500 0.687500 0.050000
+v 0.250000 0.687500 0.050000
+v 0.125000 0.812500 0.050000
+v 0.125000 0.875000 0.050000
+v 0.187500 0.875000 0.050000
+v 0.250000 0.875000 0.050000
+v 0.250000 0.812500 0.050000
+v 0.312500 0.812500 0.050000
+v 0.375000 0.812500 0.050000
+v 0.250000 0.875000 -0.050000
+v 0.187500 0.875000 -0.050000
+v 0.125000 0.875000 -0.050000
+v 0.125000 0.750000 0.050000
+v 0.187500 0.750000 0.050000
+v 0.250000 0.750000 0.050000
+v 0.312500 0.750000 0.050000
+v 0.375000 0.750000 0.050000
+v 0.437500 0.750000 0.050000
+v 0.500000 0.750000 0.050000
+v 0.375000 0.687500 0.050000
+v 0.437500 0.687500 0.050000
+v 0.500000 0.687500 0.050000
+v 0.562500 0.687500 0.050000
+v 0.250000 0.625000 0.050000
+v 0.312500 0.625000 0.050000
+v 0.375000 0.625000 0.050000
+v 0.500000 0.625000 0.050000
+v 0.562500 0.625000 0.050000
+vt 0.375000 0.687500
+vt 0.375000 0.750000
+vt 0.437500 0.750000
+vt 0.500000 0.750000
+vt 0.500000 0.687500
+vt 0.437500 0.687500
+vt 0.312500 0.562500
+vt 0.375000 0.562500
+vt 0.375000 0.625000
+vt 0.312500 0.625000
+vt 0.187500 0.875000
+vt 0.125000 0.875000
+vt 0.125000 0.812500
+vt 0.125000 0.750000
+vt 0.187500 0.750000
+vt 0.250000 0.750000
+vt 0.250000 0.687500
+vt 0.250000 0.625000
+vt 0.312500 0.687500
+vt 0.312500 0.750000
+vt 0.375000 0.812500
+vt 0.312500 0.812500
+vt 0.250000 0.812500
+vt 0.250000 0.875000
+vt 0.875000 0.500000
+vt 0.875000 0.562500
+vt 0.625000 0.437500
+vt 0.625000 0.375000
+vt 0.437500 0.500000
+vt 0.437500 0.562500
+vt 0.375000 0.500000
+vt 0.312500 0.500000
+vt 0.250000 0.500000
+vt 0.250000 0.437500
+vt 0.187500 0.437500
+vt 0.187500 0.375000
+vt 0.187500 0.312500
+vt 0.187500 0.250000
+vt 0.187500 0.187500
+vt 0.250000 0.187500
+vt 0.250000 0.125000
+vt 0.312500 0.125000
+vt 0.375000 0.125000
+vt 0.437500 0.125000
+vt 0.500000 0.125000
+vt 0.500000 0.187500
+vt 0.562500 0.187500
+vt 0.562500 0.250000
+vt 0.562500 0.312500
+vt 0.562500 0.375000
+vt 0.562500 0.437500
+vt 0.500000 0.437500
+vt 0.500000 0.500000
+vt 0.500000 0.625000
+vt 0.562500 0.625000
+vt 0.562500 0.687500
+vt 0.625000 0.625000
+vt 0.562500 0.562500
+vt 0.500000 0.562500
+vt 0.562500 0.500000
+vt 0.625000 0.312500
+vt 0.625000 0.250000
+vt 0.687500 0.250000
+vt 0.750000 0.250000
+vt 0.812500 0.250000
+vt 0.812500 0.312500
+vt 0.875000 0.312500
+vt 0.875000 0.375000
+vt 0.875000 0.437500
+vt 0.812500 0.562500
+vt 0.812500 0.625000
+vt 0.750000 0.625000
+vt 0.687500 0.625000
+vn 0.000000 -0.000000 -1.000000
+vn 0.000000 0.000000 1.000000
+vn 1.000000 -0.000000 0.000000
+vn -1.000000 -0.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 1.000000 0.000000
+s off
+f 93/1/1 98/2/1 97/3/1 96/4/1 91/5/1 92/6/1
+f 57/7/2 31/8/2 144/9/2 143/10/2
+f 123/11/2 122/12/2 121/13/2 131/14/2 132/15/2 133/16/2 120/17/2 142/18/2 143/10/2 119/19/2 134/20/2 135/2/2 127/21/2 126/22/2 125/23/2 124/24/2
+f 60/25/3 71/26/3 20/26/3 118/25/3
+f 52/27/4 40/28/4 109/28/4 75/27/4
+f 8/29/2 32/30/2 31/8/2 46/31/2 33/32/2 30/33/2 34/34/2 21/35/2 116/36/2 107/37/2 104/38/2 39/39/2 50/40/2 38/41/2 49/42/2 26/43/2 37/44/2 114/45/2 61/46/2 27/47/2 103/48/2 106/49/2 110/50/2 22/51/2 10/52/2 9/53/2
+f 98/2/4 93/1/4 138/1/4 135/2/4
+f 145/54/2 146/55/2 141/56/2 140/5/2
+f 138/1/2 139/6/2 140/5/2 137/4/2 136/3/2 135/2/2
+f 55/57/2 146/55/2 45/58/2 42/59/2 9/53/2 18/60/2 22/51/2 75/27/2 109/28/2 105/61/2 63/62/2 73/63/2 51/64/2 62/65/2 64/66/2 74/67/2 108/68/2 117/69/2 118/25/2 20/26/2 19/70/2 44/71/2 43/72/2 56/73/2
+f 86/54/1 91/5/1 90/56/1 85/55/1
+f 80/7/1 88/10/1 87/9/1 79/8/1
+f 13/65/3 25/66/3 64/66/3 62/65/3
+f 115/13/4 102/14/4 131/14/4 121/13/4
+f 70/33/4 58/34/4 34/34/4 30/33/4
+f 53/51/5 52/27/5 75/27/5 22/51/5
+f 24/67/3 36/68/3 108/68/3 74/67/3
+f 14/64/5 13/65/5 62/65/5 51/64/5
+f 47/36/4 35/37/4 107/37/4 116/36/4
+f 102/14/5 101/15/5 132/15/5 131/14/5
+f 1/45/3 7/46/3 61/46/3 114/45/3
+f 99/20/5 98/2/5 135/2/5 134/20/5
+f 12/39/5 11/40/5 50/40/5 39/39/5
+f 88/10/3 94/19/3 119/19/3 143/10/3
+f 91/5/4 86/54/4 145/54/4 140/5/4
+f 59/35/4 47/36/4 116/36/4 21/35/4
+f 6/47/3 17/48/3 103/48/3 27/47/3
+f 101/15/5 100/16/5 133/16/5 132/15/5
+f 85/55/4 76/58/4 45/58/4 146/55/4
+f 53/51/6 54/52/6 10/52/6 22/51/6
+f 28/61/4 16/62/4 63/62/4 105/61/4
+f 96/4/6 97/3/6 136/3/6 137/4/6
+f 72/70/3 81/71/3 44/71/3 19/70/3
+f 29/49/3 41/50/3 110/50/3 106/49/3
+f 85/55/3 90/56/3 141/56/3 146/55/3
+f 79/8/4 68/31/4 46/31/4 31/8/4
+f 130/12/4 115/13/4 121/13/4 122/12/4
+f 80/7/5 79/8/5 31/8/5 57/7/5
+f 36/68/3 48/69/3 117/69/3 108/68/3
+f 71/26/6 72/70/6 19/70/6 20/26/6
+f 17/48/3 29/49/3 106/49/3 103/48/3
+f 11/40/4 5/41/4 38/41/4 50/40/4
+f 16/62/5 15/63/5 73/63/5 63/62/5
+f 23/38/4 12/39/4 39/39/4 104/38/4
+f 93/1/5 92/6/5 139/6/5 138/1/5
+f 48/69/3 60/25/3 118/25/3 117/69/3
+f 40/28/4 28/61/4 105/61/4 109/28/4
+f 5/41/5 4/42/5 49/42/5 38/41/5
+f 97/3/6 98/2/6 135/2/6 136/3/6
+f 79/8/3 87/9/3 144/9/3 31/8/3
+f 89/18/5 88/10/5 143/10/5 142/18/5
+f 129/11/1 128/24/1 113/23/1 112/22/1 111/21/1 98/2/1 99/20/1 94/19/1 88/10/1 89/18/1 95/17/1 100/16/1 101/15/1 102/14/1 115/13/1 130/12/1
+f 54/52/3 66/53/3 9/53/3 10/52/3
+f 3/43/5 2/44/5 37/44/5 26/43/5
+f 90/56/6 91/5/6 140/5/6 141/56/6
+f 92/6/5 91/5/5 140/5/5 139/6/5
+f 95/17/4 89/18/4 142/18/4 120/17/4
+f 78/30/6 79/8/6 31/8/6 32/30/6
+f 88/10/4 80/7/4 57/7/4 143/10/4
+f 91/5/3 96/4/3 137/4/3 140/5/3
+f 87/9/6 88/10/6 143/10/6 144/9/6
+f 84/57/1 83/73/1 82/72/1 81/71/1 72/70/1 71/26/1 60/25/1 48/69/1 36/68/1 24/67/1 25/66/1 13/65/1 14/64/1 15/63/1 16/62/1 28/61/1 40/28/1 52/27/1 53/51/1 65/60/1 66/53/1 77/59/1 76/58/1 85/55/1
+f 15/63/5 14/64/5 51/64/5 73/63/5
+f 98/2/3 111/21/3 127/21/3 135/2/3
+f 4/42/5 3/43/5 26/43/5 49/42/5
+f 129/11/6 130/12/6 122/12/6 123/11/6
+f 2/44/5 1/45/5 114/45/5 37/44/5
+f 76/58/6 77/59/6 42/59/6 45/58/6
+f 58/34/6 59/35/6 21/35/6 34/34/6
+f 128/24/6 129/11/6 123/11/6 124/24/6
+f 65/60/4 53/51/4 22/51/4 18/60/4
+f 41/50/3 53/51/3 22/51/3 110/50/3
+f 94/19/3 99/20/3 134/20/3 119/19/3
+f 69/32/6 70/33/6 30/33/6 33/32/6
+f 100/16/4 95/17/4 120/17/4 133/16/4
+f 86/54/5 85/55/5 146/55/5 145/54/5
+f 7/46/5 6/47/5 27/47/5 61/46/5
+f 68/31/6 69/32/6 33/32/6 46/31/6
+f 35/37/4 23/38/4 104/38/4 107/37/4
+f 84/57/6 85/55/6 146/55/6 55/57/6
+f 25/66/5 24/67/5 74/67/5 64/66/5
+f 83/73/6 84/57/6 55/57/6 56/73/6
+f 66/53/6 67/29/6 8/29/6 9/53/6
+f 82/72/6 83/73/6 56/73/6 43/72/6
+f 112/22/6 113/23/6 125/23/6 126/22/6
+f 77/59/4 66/53/4 9/53/4 42/59/4
+f 113/23/3 128/24/3 124/24/3 125/23/3
+f 66/53/5 65/60/5 18/60/5 9/53/5
+f 81/71/6 82/72/6 43/72/6 44/71/6
+f 111/21/6 112/22/6 126/22/6 127/21/6
+f 67/29/3 78/30/3 32/30/3 8/29/3
+f 67/29/1 66/53/1 54/52/1 53/51/1 41/50/1 29/49/1 17/48/1 6/47/1 7/46/1 1/45/1 2/44/1 3/43/1 4/42/1 5/41/1 11/40/1 12/39/1 23/38/1 35/37/1 47/36/1 59/35/1 58/34/1 70/33/1 69/32/1 68/31/1 79/8/1 78/30/1
diff --git a/pacmine/models/pacmine_orange.obj b/pacmine/models/pacmine_orange.obj
new file mode 100644
index 0000000..af98cf2
--- /dev/null
+++ b/pacmine/models/pacmine_orange.obj
@@ -0,0 +1,321 @@
+# Blender v2.76 (sub 2) OBJ File: 'Pacman.blend'
+# www.blender.org
+o Peach_Plane.001
+v 0.687500 0.125000 -0.050000
+v 0.625000 0.125000 -0.050000
+v 0.562500 0.125000 -0.050000
+v 0.500000 0.125000 -0.050000
+v 0.437500 0.125000 -0.050000
+v 0.375000 0.125000 -0.050000
+v 0.312500 0.125000 -0.050000
+v 0.750000 0.187500 -0.050000
+v 0.687500 0.187500 -0.050000
+v 0.500000 0.187500 -0.050000
+v 0.437500 0.187500 -0.050000
+v 0.312500 0.187500 -0.050000
+v 0.250000 0.187500 -0.050000
+v 0.812500 0.250000 -0.050000
+v 0.750000 0.250000 -0.050000
+v 0.250000 0.250000 -0.050000
+v 0.187500 0.250000 -0.050000
+v 0.812500 0.312500 -0.050000
+v 0.187500 0.312500 -0.050000
+v 0.875000 0.375000 -0.050000
+v 0.812500 0.375000 -0.050000
+v 0.187500 0.375000 -0.050000
+v 0.125000 0.375000 -0.050000
+v 0.875000 0.437500 -0.050000
+v 0.125000 0.437500 -0.050000
+v 0.875000 0.500000 -0.050000
+v 0.125000 0.500000 -0.050000
+v 0.875000 0.562500 -0.050000
+v 0.125000 0.562500 -0.050000
+v 0.875000 0.625000 -0.050000
+v 0.812500 0.625000 -0.050000
+v 0.187500 0.625000 -0.050000
+v 0.125000 0.625000 -0.050000
+v 0.812500 0.687500 -0.050000
+v 0.750000 0.687500 -0.050000
+v 0.250000 0.687500 -0.050000
+v 0.187500 0.687500 -0.050000
+v 0.750000 0.750000 -0.050000
+v 0.562500 0.750000 -0.050000
+v 0.500000 0.750000 -0.050000
+v 0.437500 0.750000 -0.050000
+v 0.375000 0.750000 -0.050000
+v 0.312500 0.750000 -0.050000
+v 0.250000 0.750000 -0.050000
+v 0.812500 0.812500 -0.050000
+v 0.750000 0.812500 -0.050000
+v 0.562500 0.812500 -0.050000
+v 0.500000 0.812500 -0.050000
+v 0.437500 0.812500 -0.050000
+v 0.812500 0.875000 -0.050000
+v 0.750000 0.875000 -0.050000
+v 0.687500 0.875000 -0.050000
+v 0.562500 0.875000 -0.050000
+v 0.500000 0.875000 -0.050000
+v 0.437500 0.875000 -0.050000
+v 0.562500 0.937500 -0.050000
+v 0.625000 0.937500 -0.050000
+v 0.687500 0.937500 -0.050000
+v 0.375000 0.125000 0.050000
+v 0.437500 0.125000 0.050000
+v 0.500000 0.125000 0.050000
+v 0.687500 0.250000 -0.050000
+v 0.625000 0.250000 -0.050000
+v 0.562500 0.250000 -0.050000
+v 0.500000 0.250000 -0.050000
+v 0.437500 0.250000 -0.050000
+v 0.375000 0.250000 -0.050000
+v 0.312500 0.250000 -0.050000
+v 0.812500 0.437500 -0.050000
+v 0.187500 0.437500 -0.050000
+v 0.812500 0.500000 -0.050000
+v 0.187500 0.500000 -0.050000
+v 0.812500 0.562500 -0.050000
+v 0.187500 0.562500 -0.050000
+v 0.687500 0.687500 -0.050000
+v 0.625000 0.687500 -0.050000
+v 0.562500 0.687500 -0.050000
+v 0.500000 0.687500 -0.050000
+v 0.437500 0.687500 -0.050000
+v 0.375000 0.687500 -0.050000
+v 0.312500 0.687500 -0.050000
+v 0.687500 0.750000 -0.050000
+v 0.625000 0.750000 -0.050000
+v 0.687500 0.125000 0.050000
+v 0.625000 0.125000 0.050000
+v 0.562500 0.125000 0.050000
+v 0.312500 0.125000 0.050000
+v 0.750000 0.187500 0.050000
+v 0.687500 0.187500 0.050000
+v 0.500000 0.187500 0.050000
+v 0.437500 0.187500 0.050000
+v 0.312500 0.187500 0.050000
+v 0.250000 0.187500 0.050000
+v 0.812500 0.250000 0.050000
+v 0.750000 0.250000 0.050000
+v 0.250000 0.250000 0.050000
+v 0.187500 0.250000 0.050000
+v 0.875000 0.375000 0.050000
+v 0.812500 0.375000 0.050000
+v 0.187500 0.375000 0.050000
+v 0.125000 0.375000 0.050000
+v 0.875000 0.625000 0.050000
+v 0.812500 0.625000 0.050000
+v 0.187500 0.625000 0.050000
+v 0.125000 0.625000 0.050000
+v 0.812500 0.687500 0.050000
+v 0.750000 0.687500 0.050000
+v 0.250000 0.687500 0.050000
+v 0.187500 0.687500 0.050000
+v 0.562500 0.750000 0.050000
+v 0.500000 0.750000 0.050000
+v 0.437500 0.750000 0.050000
+v 0.375000 0.750000 0.050000
+v 0.312500 0.750000 0.050000
+v 0.250000 0.750000 0.050000
+v 0.812500 0.812500 0.050000
+v 0.750000 0.812500 0.050000
+v 0.562500 0.812500 0.050000
+v 0.500000 0.812500 0.050000
+v 0.812500 0.875000 0.050000
+v 0.750000 0.875000 0.050000
+v 0.687500 0.875000 0.050000
+v 0.562500 0.875000 0.050000
+v 0.500000 0.875000 0.050000
+v 0.437500 0.875000 0.050000
+v 0.437500 0.812500 0.050000
+v 0.750000 0.750000 0.050000
+v 0.125000 0.562500 0.050000
+v 0.875000 0.562500 0.050000
+v 0.125000 0.500000 0.050000
+v 0.875000 0.500000 0.050000
+v 0.125000 0.437500 0.050000
+v 0.875000 0.437500 0.050000
+v 0.187500 0.312500 0.050000
+v 0.812500 0.312500 0.050000
+v 0.562500 0.937500 0.050000
+v 0.687500 0.937500 0.050000
+v 0.625000 0.937500 0.050000
+v 0.812500 0.437500 0.050000
+v 0.187500 0.437500 0.050000
+v 0.812500 0.562500 0.050000
+v 0.187500 0.562500 0.050000
+v 0.625000 0.750000 0.050000
+v 0.687500 0.750000 0.050000
+v 0.312500 0.687500 0.050000
+v 0.687500 0.687500 0.050000
+v 0.312500 0.250000 0.050000
+v 0.687500 0.250000 0.050000
+v 0.625000 0.250000 0.050000
+v 0.562500 0.250000 0.050000
+v 0.500000 0.250000 0.050000
+v 0.437500 0.250000 0.050000
+v 0.375000 0.250000 0.050000
+v 0.625000 0.687500 0.050000
+v 0.562500 0.687500 0.050000
+v 0.500000 0.687500 0.050000
+v 0.437500 0.687500 0.050000
+v 0.375000 0.687500 0.050000
+v 0.187500 0.500000 0.050000
+v 0.812500 0.500000 0.050000
+vt 0.187500 0.625000
+vt 0.187500 0.562500
+vt 0.187500 0.500000
+vt 0.187500 0.437500
+vt 0.187500 0.375000
+vt 0.187500 0.312500
+vt 0.187500 0.250000
+vt 0.250000 0.250000
+vt 0.312500 0.250000
+vt 0.375000 0.250000
+vt 0.437500 0.250000
+vt 0.500000 0.250000
+vt 0.562500 0.250000
+vt 0.625000 0.250000
+vt 0.687500 0.250000
+vt 0.750000 0.250000
+vt 0.812500 0.250000
+vt 0.812500 0.312500
+vt 0.812500 0.375000
+vt 0.812500 0.437500
+vt 0.812500 0.500000
+vt 0.812500 0.562500
+vt 0.812500 0.625000
+vt 0.812500 0.687500
+vt 0.750000 0.687500
+vt 0.687500 0.687500
+vt 0.625000 0.687500
+vt 0.562500 0.687500
+vt 0.500000 0.687500
+vt 0.437500 0.687500
+vt 0.375000 0.687500
+vt 0.312500 0.687500
+vt 0.250000 0.687500
+vt 0.187500 0.687500
+vt 0.125000 0.375000
+vt 0.125000 0.437500
+vt 0.125000 0.500000
+vt 0.125000 0.562500
+vt 0.125000 0.625000
+vt 0.687500 0.187500
+vt 0.687500 0.125000
+vt 0.625000 0.125000
+vt 0.562500 0.125000
+vt 0.500000 0.125000
+vt 0.500000 0.187500
+vt 0.437500 0.187500
+vt 0.437500 0.125000
+vt 0.375000 0.125000
+vt 0.312500 0.125000
+vt 0.312500 0.187500
+vt 0.250000 0.187500
+vt 0.750000 0.187500
+vt 0.562500 0.937500
+vt 0.625000 0.937500
+vt 0.687500 0.937500
+vt 0.687500 0.750000
+vt 0.625000 0.750000
+vt 0.562500 0.750000
+vt 0.500000 0.750000
+vt 0.437500 0.750000
+vt 0.375000 0.750000
+vt 0.312500 0.750000
+vt 0.250000 0.750000
+vt 0.750000 0.750000
+vt 0.750000 0.812500
+vt 0.875000 0.375000
+vt 0.875000 0.437500
+vt 0.875000 0.500000
+vt 0.875000 0.562500
+vt 0.875000 0.625000
+vt 0.687500 0.875000
+vt 0.437500 0.812500
+vt 0.562500 0.875000
+vt 0.812500 0.875000
+vt 0.812500 0.812500
+vt 0.500000 0.875000
+vt 0.437500 0.875000
+vt 0.500000 0.812500
+vt 0.562500 0.812500
+vt 0.750000 0.875000
+vn -0.000000 0.000000 1.000000
+vn 0.000000 -0.000000 -1.000000
+vn 0.000000 1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 1.000000 -0.000000 0.000000
+vn -1.000000 0.000000 0.000000
+g Peach_Plane.001_Material
+s off
+f 32/1/1 74/2/1 72/3/1 70/4/1 22/5/1 19/6/1 17/7/1 16/8/1 68/9/1 67/10/1 66/11/1 65/12/1 64/13/1 63/14/1 62/15/1 15/16/1 14/17/1 18/18/1 21/19/1 69/20/1 71/21/1 73/22/1 31/23/1 34/24/1 35/25/1 75/26/1 76/27/1 77/28/1 78/29/1 79/30/1 80/31/1 81/32/1 36/33/1 37/34/1
+f 101/35/2 132/36/2 130/37/2 128/38/2 105/39/2 104/1/2 142/2/2 159/3/2 140/4/2 100/5/2
+f 89/40/2 84/41/2 85/42/2 86/43/2 61/44/2 90/45/2 91/46/2 60/47/2 59/48/2 87/49/2 92/50/2 93/51/2 96/8/2 147/9/2 153/10/2 152/11/2 151/12/2 150/13/2 149/14/2 148/15/2 95/16/2 88/52/2
+f 6/48/3 7/49/3 87/49/3 59/48/3
+f 56/53/4 57/54/4 138/54/4 136/53/4
+f 57/54/4 58/55/4 137/55/4 138/54/4
+f 82/56/1 83/57/1 39/58/1 40/59/1 41/60/1 42/61/1 43/62/1 44/63/1 36/33/1 81/32/1 80/31/1 79/30/1 78/29/1 77/28/1 76/27/1 75/26/1 35/25/1 38/64/1
+f 5/47/3 6/48/3 59/48/3 60/47/3
+f 12/50/3 13/51/3 93/51/3 92/50/3
+f 32/1/5 37/34/5 109/34/5 104/1/5
+f 10/45/3 11/46/3 91/46/3 90/45/3
+f 38/64/6 35/25/6 107/25/6 127/64/6
+f 36/33/5 44/63/5 115/63/5 108/33/5
+f 46/65/6 38/64/6 127/64/6 117/65/6
+f 8/52/3 9/40/3 89/40/3 88/52/3
+f 21/19/1 20/66/1 24/67/1 26/68/1 28/69/1 30/70/1 31/23/1 73/22/1 71/21/1 69/20/1
+f 58/55/6 52/71/6 122/71/6 137/55/6
+f 3/43/3 4/44/3 61/44/3 86/43/3
+f 41/60/5 49/72/5 126/72/5 112/60/5
+f 53/73/5 56/53/5 136/53/5 123/73/5
+f 2/42/3 3/43/3 86/43/3 85/42/3
+f 50/74/6 45/75/6 116/75/6 120/74/6
+f 53/73/1 54/76/1 55/77/1 49/72/1 41/60/1 40/59/1 48/78/1 47/79/1 39/58/1 83/57/1 82/56/1 38/64/1 46/65/1 45/75/1 50/74/1 51/80/1 52/71/1 58/55/1 57/54/1 56/53/1
+f 104/1/2 109/34/2 108/33/2 145/32/2 158/31/2 157/30/2 156/29/2 155/28/2 154/27/2 146/26/2 107/25/2 106/24/2 103/23/2 141/22/2 160/21/2 139/20/2 99/19/2 135/18/2 94/17/2 95/16/2 148/15/2 149/14/2 150/13/2 151/12/2 152/11/2 153/10/2 147/9/2 96/8/2 97/7/2 134/6/2 100/5/2 140/4/2 159/3/2 142/2/2
+f 99/19/2 139/20/2 160/21/2 141/22/2 103/23/2 102/70/2 129/69/2 131/68/2 133/67/2 98/66/2
+f 11/46/6 5/47/6 60/47/6 91/46/6
+f 55/77/4 54/76/4 124/76/4 125/77/4
+f 4/44/5 10/45/5 90/45/5 61/44/5
+f 123/73/2 136/53/2 138/54/2 137/55/2 122/71/2 121/80/2 120/74/2 116/75/2 117/65/2 127/64/2 144/56/2 143/57/2 110/58/2 118/79/2 119/78/2 111/59/2 112/60/2 126/72/2 125/77/2 124/76/2
+f 1/41/3 2/42/3 85/42/3 84/41/3
+f 9/40/6 1/41/6 84/41/6 89/40/6
+f 49/72/5 55/77/5 125/77/5 126/72/5
+f 144/56/2 127/64/2 107/25/2 146/26/2 154/27/2 155/28/2 156/29/2 157/30/2 158/31/2 145/32/2 108/33/2 115/63/2 114/62/2 113/61/2 112/60/2 111/59/2 110/58/2 143/57/2
+f 48/78/6 40/59/6 111/59/6 119/78/6
+f 39/58/5 47/79/5 118/79/5 110/58/5
+f 23/35/1 22/5/1 70/4/1 72/3/1 74/2/1 32/1/1 33/39/1 29/38/1 27/37/1 25/36/1
+f 9/40/1 8/52/1 15/16/1 62/15/1 63/14/1 64/13/1 65/12/1 66/11/1 67/10/1 68/9/1 16/8/1 13/51/1 12/50/1 7/49/1 6/48/1 5/47/1 11/46/1 10/45/1 4/44/1 3/43/1 2/42/1 1/41/1
+f 14/17/3 15/16/3 95/16/3 94/17/3
+f 34/24/6 31/23/6 103/23/6 106/24/6
+f 16/8/3 17/7/3 97/7/3 96/8/3
+f 29/38/5 33/39/5 105/39/5 128/38/5
+f 20/66/3 21/19/3 99/19/3 98/66/3
+f 30/70/6 28/69/6 129/69/6 102/70/6
+f 22/5/3 23/35/3 101/35/3 100/5/3
+f 27/37/5 29/38/5 128/38/5 130/37/5
+f 31/23/4 30/70/4 102/70/4 103/23/4
+f 28/69/6 26/68/6 131/68/6 129/69/6
+f 33/39/4 32/1/4 104/1/4 105/39/4
+f 25/36/5 27/37/5 130/37/5 132/36/5
+f 35/25/4 34/24/4 106/24/4 107/25/4
+f 26/68/6 24/67/6 133/67/6 131/68/6
+f 37/34/4 36/33/4 108/33/4 109/34/4
+f 23/35/5 25/36/5 132/36/5 101/35/5
+f 40/59/4 39/58/4 110/58/4 111/59/4
+f 24/67/6 20/66/6 98/66/6 133/67/6
+f 42/61/4 41/60/4 112/60/4 113/61/4
+f 19/6/5 22/5/5 100/5/5 134/6/5
+f 43/62/4 42/61/4 113/61/4 114/62/4
+f 21/19/6 18/18/6 135/18/6 99/19/6
+f 44/63/4 43/62/4 114/62/4 115/63/4
+f 17/7/5 19/6/5 134/6/5 97/7/5
+f 45/75/3 46/65/3 117/65/3 116/75/3
+f 18/18/6 14/17/6 94/17/6 135/18/6
+f 47/79/3 48/78/3 119/78/3 118/79/3
+f 13/51/5 16/8/5 96/8/5 93/51/5
+f 51/80/4 50/74/4 120/74/4 121/80/4
+f 15/16/6 8/52/6 88/52/6 95/16/6
+f 52/71/4 51/80/4 121/80/4 122/71/4
+f 7/49/5 12/50/5 92/50/5 87/49/5
+f 54/76/4 53/73/4 123/73/4 124/76/4
diff --git a/pacmine/models/xmypacman_orange.obj b/pacmine/models/xmypacman_orange.obj
new file mode 100644
index 0000000..4a06d4c
--- /dev/null
+++ b/pacmine/models/xmypacman_orange.obj
@@ -0,0 +1,358 @@
+# Blender v2.75 (sub 0) OBJ File: ''
+# www.blender.org
+mtllib peach-orange.mtl
+o Plane.001
+v 0.687500 0.125000 -0.050000
+v 0.625000 0.125000 -0.050000
+v 0.562500 0.125000 -0.050000
+v 0.500000 0.125000 -0.050000
+v 0.437500 0.125000 -0.050000
+v 0.375000 0.125000 -0.050000
+v 0.312500 0.125000 -0.050000
+v 0.750000 0.187500 -0.050000
+v 0.687500 0.187500 -0.050000
+v 0.500000 0.187500 -0.050000
+v 0.437500 0.187500 -0.050000
+v 0.312500 0.187500 -0.050000
+v 0.250000 0.187500 -0.050000
+v 0.812500 0.250000 -0.050000
+v 0.750000 0.250000 -0.050000
+v 0.250000 0.250000 -0.050000
+v 0.187500 0.250000 -0.050000
+v 0.812500 0.312500 -0.050000
+v 0.187500 0.312500 -0.050000
+v 0.875000 0.375000 -0.050000
+v 0.812500 0.375000 -0.050000
+v 0.187500 0.375000 -0.050000
+v 0.125000 0.375000 -0.050000
+v 0.875000 0.437500 -0.050000
+v 0.125000 0.437500 -0.050000
+v 0.875000 0.500000 -0.050000
+v 0.125000 0.500000 -0.050000
+v 0.875000 0.562500 -0.050000
+v 0.125000 0.562500 -0.050000
+v 0.875000 0.625000 -0.050000
+v 0.812500 0.625000 -0.050000
+v 0.187500 0.625000 -0.050000
+v 0.125000 0.625000 -0.050000
+v 0.812500 0.687500 -0.050000
+v 0.750000 0.687500 -0.050000
+v 0.250000 0.687500 -0.050000
+v 0.187500 0.687500 -0.050000
+v 0.750000 0.750000 -0.050000
+v 0.562500 0.750000 -0.050000
+v 0.500000 0.750000 -0.050000
+v 0.437500 0.750000 -0.050000
+v 0.375000 0.750000 -0.050000
+v 0.312500 0.750000 -0.050000
+v 0.250000 0.750000 -0.050000
+v 0.812500 0.812500 -0.050000
+v 0.750000 0.812500 -0.050000
+v 0.562500 0.812500 -0.050000
+v 0.500000 0.812500 -0.050000
+v 0.437500 0.812500 -0.050000
+v 0.812500 0.875000 -0.050000
+v 0.750000 0.875000 -0.050000
+v 0.687500 0.875000 -0.050000
+v 0.562500 0.875000 -0.050000
+v 0.500000 0.875000 -0.050000
+v 0.437500 0.875000 -0.050000
+v 0.562500 0.937500 -0.050000
+v 0.625000 0.937500 -0.050000
+v 0.687500 0.937500 -0.050000
+v 0.375000 0.125000 0.050000
+v 0.437500 0.125000 0.050000
+v 0.500000 0.125000 0.050000
+v 0.687500 0.250000 -0.050000
+v 0.625000 0.250000 -0.050000
+v 0.562500 0.250000 -0.050000
+v 0.500000 0.250000 -0.050000
+v 0.437500 0.250000 -0.050000
+v 0.375000 0.250000 -0.050000
+v 0.312500 0.250000 -0.050000
+v 0.812500 0.437500 -0.050000
+v 0.187500 0.437500 -0.050000
+v 0.812500 0.500000 -0.050000
+v 0.187500 0.500000 -0.050000
+v 0.812500 0.562500 -0.050000
+v 0.187500 0.562500 -0.050000
+v 0.687500 0.687500 -0.050000
+v 0.625000 0.687500 -0.050000
+v 0.562500 0.687500 -0.050000
+v 0.500000 0.687500 -0.050000
+v 0.437500 0.687500 -0.050000
+v 0.375000 0.687500 -0.050000
+v 0.312500 0.687500 -0.050000
+v 0.687500 0.750000 -0.050000
+v 0.625000 0.750000 -0.050000
+v 0.687500 0.125000 0.050000
+v 0.625000 0.125000 0.050000
+v 0.562500 0.125000 0.050000
+v 0.312500 0.125000 0.050000
+v 0.750000 0.187500 0.050000
+v 0.687500 0.187500 0.050000
+v 0.500000 0.187500 0.050000
+v 0.437500 0.187500 0.050000
+v 0.312500 0.187500 0.050000
+v 0.250000 0.187500 0.050000
+v 0.812500 0.250000 0.050000
+v 0.750000 0.250000 0.050000
+v 0.250000 0.250000 0.050000
+v 0.187500 0.250000 0.050000
+v 0.875000 0.375000 0.050000
+v 0.812500 0.375000 0.050000
+v 0.187500 0.375000 0.050000
+v 0.125000 0.375000 0.050000
+v 0.875000 0.625000 0.050000
+v 0.812500 0.625000 0.050000
+v 0.187500 0.625000 0.050000
+v 0.125000 0.625000 0.050000
+v 0.812500 0.687500 0.050000
+v 0.750000 0.687500 0.050000
+v 0.250000 0.687500 0.050000
+v 0.187500 0.687500 0.050000
+v 0.562500 0.750000 0.050000
+v 0.500000 0.750000 0.050000
+v 0.437500 0.750000 0.050000
+v 0.375000 0.750000 0.050000
+v 0.312500 0.750000 0.050000
+v 0.250000 0.750000 0.050000
+v 0.812500 0.812500 0.050000
+v 0.750000 0.812500 0.050000
+v 0.562500 0.812500 0.050000
+v 0.500000 0.812500 0.050000
+v 0.812500 0.875000 0.050000
+v 0.750000 0.875000 0.050000
+v 0.687500 0.875000 0.050000
+v 0.562500 0.875000 0.050000
+v 0.500000 0.875000 0.050000
+v 0.437500 0.875000 0.050000
+v 0.437500 0.812500 0.050000
+v 0.750000 0.750000 0.050000
+v 0.125000 0.562500 0.050000
+v 0.875000 0.562500 0.050000
+v 0.125000 0.500000 0.050000
+v 0.875000 0.500000 0.050000
+v 0.125000 0.437500 0.050000
+v 0.875000 0.437500 0.050000
+v 0.187500 0.312500 0.050000
+v 0.812500 0.312500 0.050000
+v 0.562500 0.937500 0.050000
+v 0.687500 0.937500 0.050000
+v 0.625000 0.937500 0.050000
+v 0.812500 0.437500 0.050000
+v 0.187500 0.437500 0.050000
+v 0.812500 0.562500 0.050000
+v 0.187500 0.562500 0.050000
+v 0.625000 0.750000 0.050000
+v 0.687500 0.750000 0.050000
+v 0.312500 0.687500 0.050000
+v 0.687500 0.687500 0.050000
+v 0.312500 0.250000 0.050000
+v 0.687500 0.250000 0.050000
+v 0.625000 0.250000 0.050000
+v 0.562500 0.250000 0.050000
+v 0.500000 0.250000 0.050000
+v 0.437500 0.250000 0.050000
+v 0.375000 0.250000 0.050000
+v 0.625000 0.687500 0.050000
+v 0.562500 0.687500 0.050000
+v 0.500000 0.687500 0.050000
+v 0.437500 0.687500 0.050000
+v 0.375000 0.687500 0.050000
+v 0.187500 0.500000 0.050000
+v 0.812500 0.500000 0.050000
+vt 0.187500 0.625000
+vt 0.187500 0.562500
+vt 0.187500 0.500000
+vt 0.187500 0.437500
+vt 0.187500 0.375000
+vt 0.187500 0.312500
+vt 0.187500 0.250000
+vt 0.250000 0.250000
+vt 0.312500 0.250000
+vt 0.375000 0.250000
+vt 0.437500 0.250000
+vt 0.500000 0.250000
+vt 0.562500 0.250000
+vt 0.625000 0.250000
+vt 0.687500 0.250000
+vt 0.750000 0.250000
+vt 0.812500 0.250000
+vt 0.812500 0.312500
+vt 0.812500 0.375000
+vt 0.812500 0.437500
+vt 0.812500 0.500000
+vt 0.812500 0.562500
+vt 0.812500 0.625000
+vt 0.812500 0.687500
+vt 0.750000 0.687500
+vt 0.687500 0.687500
+vt 0.625000 0.687500
+vt 0.562500 0.687500
+vt 0.500000 0.687500
+vt 0.437500 0.687500
+vt 0.375000 0.687500
+vt 0.312500 0.687500
+vt 0.250000 0.687500
+vt 0.187500 0.687500
+vt 0.125000 0.375000
+vt 0.125000 0.437500
+vt 0.125000 0.500000
+vt 0.125000 0.562500
+vt 0.125000 0.625000
+vt 0.687500 0.187500
+vt 0.687500 0.125000
+vt 0.625000 0.125000
+vt 0.562500 0.125000
+vt 0.500000 0.125000
+vt 0.500000 0.187500
+vt 0.437500 0.187500
+vt 0.437500 0.125000
+vt 0.375000 0.125000
+vt 0.312500 0.125000
+vt 0.312500 0.187500
+vt 0.250000 0.187500
+vt 0.750000 0.187500
+vt 0.562500 0.937500
+vt 0.625000 0.937500
+vt 0.687500 0.937500
+vt 0.687500 0.750000
+vt 0.625000 0.750000
+vt 0.562500 0.750000
+vt 0.500000 0.750000
+vt 0.437500 0.750000
+vt 0.375000 0.750000
+vt 0.312500 0.750000
+vt 0.250000 0.750000
+vt 0.750000 0.750000
+vt 0.750000 0.812500
+vt 0.875000 0.375000
+vt 0.875000 0.437500
+vt 0.875000 0.500000
+vt 0.875000 0.562500
+vt 0.875000 0.625000
+vt 0.687500 0.875000
+vt 0.437500 0.812500
+vt 0.562500 0.875000
+vt 0.812500 0.875000
+vt 0.812500 0.812500
+vt 0.500000 0.875000
+vt 0.437500 0.875000
+vt 0.500000 0.812500
+vt 0.562500 0.812500
+vt 0.750000 0.875000
+vn -0.000000 0.000000 1.000000
+vn 0.000000 -0.000000 -1.000000
+vn 0.000000 1.000000 0.000000
+vn 0.000000 -1.000000 0.000000
+vn 1.000000 -0.000000 0.000000
+vn -1.000000 0.000000 0.000000
+usemtl None
+s off
+f 32/1/1 74/2/1 72/3/1 70/4/1 22/5/1 19/6/1 17/7/1 16/8/1 68/9/1 67/10/1 66/11/1 65/12/1 64/13/1 63/14/1 62/15/1 15/16/1 14/17/1 18/18/1 21/19/1 69/20/1 71/21/1 73/22/1 31/23/1 34/24/1 35/25/1 75/26/1 76/27/1 77/28/1 78/29/1 79/30/1 80/31/1 81/32/1 36/33/1 37/34/1
+f 101/35/2 132/36/2 130/37/2 128/38/2 105/39/2 104/1/2 142/2/2 159/3/2 140/4/2 100/5/2
+f 89/40/2 84/41/2 85/42/2 86/43/2 61/44/2 90/45/2 91/46/2 60/47/2 59/48/2 87/49/2 92/50/2 93/51/2 96/8/2 147/9/2 153/10/2 152/11/2 151/12/2 150/13/2 149/14/2 148/15/2 95/16/2 88/52/2
+f 6/48/3 7/49/3 87/49/3 59/48/3
+f 56/53/4 57/54/4 138/54/4 136/53/4
+f 57/54/4 58/55/4 137/55/4 138/54/4
+f 82/56/1 83/57/1 39/58/1 40/59/1 41/60/1 42/61/1 43/62/1 44/63/1 36/33/1 81/32/1 80/31/1 79/30/1 78/29/1 77/28/1 76/27/1 75/26/1 35/25/1 38/64/1
+f 5/47/3 6/48/3 59/48/3 60/47/3
+f 12/50/3 13/51/3 93/51/3 92/50/3
+f 32/1/5 37/34/5 109/34/5 104/1/5
+f 10/45/3 11/46/3 91/46/3 90/45/3
+f 38/64/6 35/25/6 107/25/6 127/64/6
+f 36/33/5 44/63/5 115/63/5 108/33/5
+f 46/65/6 38/64/6 127/64/6 117/65/6
+f 8/52/3 9/40/3 89/40/3 88/52/3
+f 21/19/1 20/66/1 24/67/1 26/68/1 28/69/1 30/70/1 31/23/1 73/22/1 71/21/1 69/20/1
+f 58/55/6 52/71/6 122/71/6 137/55/6
+f 3/43/3 4/44/3 61/44/3 86/43/3
+f 41/60/5 49/72/5 126/72/5 112/60/5
+f 53/73/5 56/53/5 136/53/5 123/73/5
+f 2/42/3 3/43/3 86/43/3 85/42/3
+f 50/74/6 45/75/6 116/75/6 120/74/6
+f 53/73/1 54/76/1 55/77/1 49/72/1 41/60/1 40/59/1 48/78/1 47/79/1 39/58/1 83/57/1 82/56/1 38/64/1 46/65/1 45/75/1 50/74/1 51/80/1 52/71/1 58/55/1 57/54/1 56/53/1
+f 104/1/2 109/34/2 108/33/2 145/32/2 158/31/2 157/30/2 156/29/2 155/28/2 154/27/2 146/26/2 107/25/2 106/24/2 103/23/2 141/22/2 160/21/2 139/20/2 99/19/2 135/18/2 94/17/2 95/16/2 148/15/2 149/14/2 150/13/2 151/12/2 152/11/2 153/10/2 147/9/2 96/8/2 97/7/2 134/6/2 100/5/2 140/4/2 159/3/2 142/2/2
+f 99/19/2 139/20/2 160/21/2 141/22/2 103/23/2 102/70/2 129/69/2 131/68/2 133/67/2 98/66/2
+f 11/46/6 5/47/6 60/47/6 91/46/6
+f 55/77/4 54/76/4 124/76/4 125/77/4
+f 4/44/5 10/45/5 90/45/5 61/44/5
+f 123/73/2 136/53/2 138/54/2 137/55/2 122/71/2 121/80/2 120/74/2 116/75/2 117/65/2 127/64/2 144/56/2 143/57/2 110/58/2 118/79/2 119/78/2 111/59/2 112/60/2 126/72/2 125/77/2 124/76/2
+f 1/41/3 2/42/3 85/42/3 84/41/3
+f 9/40/6 1/41/6 84/41/6 89/40/6
+f 49/72/5 55/77/5 125/77/5 126/72/5
+f 144/56/2 127/64/2 107/25/2 146/26/2 154/27/2 155/28/2 156/29/2 157/30/2 158/31/2 145/32/2 108/33/2 115/63/2 114/62/2 113/61/2 112/60/2 111/59/2 110/58/2 143/57/2
+f 48/78/6 40/59/6 111/59/6 119/78/6
+f 39/58/5 47/79/5 118/79/5 110/58/5
+f 23/35/1 22/5/1 70/4/1 72/3/1 74/2/1 32/1/1 33/39/1 29/38/1 27/37/1 25/36/1
+f 9/40/1 8/52/1 15/16/1 62/15/1 63/14/1 64/13/1 65/12/1 66/11/1 67/10/1 68/9/1 16/8/1 13/51/1 12/50/1 7/49/1 6/48/1 5/47/1 11/46/1 10/45/1 4/44/1 3/43/1 2/42/1 1/41/1
+f 14/17/3 15/16/3 95/16/3 94/17/3
+f 34/24/6 31/23/6 103/23/6 106/24/6
+f 16/8/3 17/7/3 97/7/3 96/8/3
+f 29/38/5 33/39/5 105/39/5 128/38/5
+f 20/66/3 21/19/3 99/19/3 98/66/3
+f 30/70/6 28/69/6 129/69/6 102/70/6
+f 22/5/3 23/35/3 101/35/3 100/5/3
+f 27/37/5 29/38/5 128/38/5 130/37/5
+f 31/23/4 30/70/4 102/70/4 103/23/4
+f 28/69/6 26/68/6 131/68/6 129/69/6
+f 33/39/4 32/1/4 104/1/4 105/39/4
+f 25/36/5 27/37/5 130/37/5 132/36/5
+f 35/25/4 34/24/4 106/24/4 107/25/4
+f 26/68/6 24/67/6 133/67/6 131/68/6
+f 37/34/4 36/33/4 108/33/4 109/34/4
+f 23/35/5 25/36/5 132/36/5 101/35/5
+f 40/59/4 39/58/4 110/58/4 111/59/4
+f 24/67/6 20/66/6 98/66/6 133/67/6
+f 42/61/4 41/60/4 112/60/4 113/61/4
+f 19/6/5 22/5/5 100/5/5 134/6/5
+f 43/62/4 42/61/4 113/61/4 114/62/4
+f 21/19/6 18/18/6 135/18/6 99/19/6
+f 44/63/4 43/62/4 114/62/4 115/63/4
+f 17/7/5 19/6/5 134/6/5 97/7/5
+f 45/75/3 46/65/3 117/65/3 116/75/3
+f 18/18/6 14/17/6 94/17/6 135/18/6
+f 47/79/3 48/78/3 119/78/3 118/79/3
+f 13/51/5 16/8/5 96/8/5 93/51/5
+f 51/80/4 50/74/4 120/74/4 121/80/4
+f 15/16/6 8/52/6 88/52/6 95/16/6
+f 52/71/4 51/80/4 121/80/4 122/71/4
+f 7/49/5 12/50/5 92/50/5 87/49/5
+f 54/76/4 53/73/4 123/73/4 124/76/4
+o Plane
+v -0.500000 -0.500000 0.121855
+v 0.500000 -0.500000 0.121855
+v -0.500000 0.500000 0.121855
+v 0.500000 0.500000 0.121855
+vt 0.000100 0.000100
+vt 0.999900 0.000100
+vt 0.999900 0.999900
+vt 0.000100 0.999900
+vn 0.000000 0.000000 1.000000
+usemtl None
+s off
+f 161/81/7 162/82/7 164/83/7 163/84/7
+o Cube
+v 0.500000 -0.500000 -0.500000
+v 0.500000 -0.500000 0.500000
+v -0.500000 -0.500000 0.500000
+v -0.500000 -0.500000 -0.500000
+v 0.500000 0.500000 -0.500000
+v 0.500000 0.500000 0.500000
+v -0.500000 0.500000 0.500000
+v -0.500000 0.500000 -0.500000
+vn 0.000000 -1.000000 0.000000
+vn 0.000000 1.000000 0.000000
+vn 1.000000 0.000000 0.000000
+vn -0.000000 -0.000000 1.000000
+vn -1.000000 -0.000000 -0.000000
+vn 0.000000 0.000000 -1.000000
+usemtl Material
+s off
+f 165//8 166//8 167//8 168//8
+f 169//9 172//9 171//9 170//9
+f 165//10 169//10 170//10 166//10
+f 166//11 170//11 171//11 167//11
+f 167//12 171//12 172//12 168//12
+f 169//13 165//13 168//13 172//13
diff --git a/pacmine/portals.lua b/pacmine/portals.lua
index f40763f..e086704 100644
--- a/pacmine/portals.lua
+++ b/pacmine/portals.lua
@@ -12,14 +12,15 @@ local cbox = {
}
--Portals
-minetest.register_alias("mypacman:portalr", "pacmine:portalr")
+minetest.register_alias("pacmine:portalr", "pacmine:portalr")
minetest.register_node("pacmine:portalr", {
description = "Portalr ",
- drawtype = "allfaces",
+ drawtype = "glasslike",
tiles = {"pacmine_portal.png"},
paramtype = "light",
sunlight_propagates = true,
light_source = 14,
+ alpha = 150,
paramtype2 = "facedir",
walkable = false,
is_ground_content = false,
@@ -27,14 +28,15 @@ minetest.register_node("pacmine:portalr", {
selection_box = sbox,
})
-minetest.register_alias("mypacman:portall", "pacmine:portall")
+minetest.register_alias("pacmine:portall", "pacmine:portall")
minetest.register_node("pacmine:portall", {
description = "Portall ",
- drawtype = "allfaces",
+ drawtype = "glasslike",
tiles = {"pacmine_portal.png"},
paramtype = "light",
sunlight_propagates = true,
light_source = 14,
+ alpha = 150,
paramtype2 = "facedir",
walkable = false,
is_ground_content = false,
diff --git a/pacmine/textures/pacmine_portal.png b/pacmine/textures/pacmine_portal.png
index f351ff5..e491268 100644
--- a/pacmine/textures/pacmine_portal.png
+++ b/pacmine/textures/pacmine_portal.png
Binary files differ
diff --git a/pacmine/textures/pacmine_powerpellet.png b/pacmine/textures/pacmine_powerpellet.png
new file mode 100644
index 0000000..880b628
--- /dev/null
+++ b/pacmine/textures/pacmine_powerpellet.png
Binary files differ