mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-15 23:52:35 +00:00
Added models for: Power Plant, Information Panel, Purchase Terminal, and Door. Updated War Factory model. added .svg files. misc.
This commit is contained in:
@@ -1,8 +1,8 @@
|
||||
class IMICFPS
|
||||
class Terrain < Entity
|
||||
def setup
|
||||
# bind_model("base", "randomish_terrain")
|
||||
bind_model("base", "river_terrain")
|
||||
bind_model("base", "randomish_terrain")
|
||||
# bind_model("base", "river_terrain")
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
@@ -10,9 +10,9 @@ class IMICFPS
|
||||
@dummy_entity = nil
|
||||
@assets = []
|
||||
@asset_index = 0
|
||||
add_asset(:shader, nil, "default")
|
||||
# add_asset(:shader, nil, "default")
|
||||
|
||||
add_asset(:model, "base", "river_terrain")
|
||||
add_asset(:model, "base", "randomish_terrain")
|
||||
add_asset(:model, "base", "skydome")
|
||||
add_asset(:model, "base", "tree")
|
||||
add_asset(:model, "base", "biped")
|
||||
|
||||
@@ -36,6 +36,7 @@ class IMICFPS
|
||||
Gosu::Color.rgba(@base_color.red-i*@color_step, @base_color.green-i*@color_step, @base_color.blue-i*@color_step, 200)
|
||||
)
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
@background.draw(0, 0, 0)
|
||||
@@ -125,4 +126,4 @@ class IMICFPS
|
||||
def clicked; @block.call; end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user