starsystem

所属分类:游戏
开发工具:Elm
文件大小:0KB
下载次数:0
上传日期:2016-03-23 06:58:09
上 传 者sh-1993
说明:  通过构建游戏来玩榆树和实时代码更新。
(Playing around with Elm and live code updates by building a game.)

文件列表:
brunch-config.coffee (721, 2016-03-22)
config/ (0, 2016-03-22)
config/config.exs (862, 2016-03-22)
config/dev.exs (1151, 2016-03-22)
config/prod.exs (2190, 2016-03-22)
config/test.exs (269, 2016-03-22)
lib/ (0, 2016-03-22)
lib/starsystem.ex (921, 2016-03-22)
lib/starsystem/ (0, 2016-03-22)
lib/starsystem/endpoint.ex (1026, 2016-03-22)
mix.exs (976, 2016-03-22)
mix.lock (409, 2016-03-22)
package.json (474, 2016-03-22)
test/ (0, 2016-03-22)
test/support/ (0, 2016-03-22)
test/support/channel_case.ex (744, 2016-03-22)
test/support/conn_case.ex (838, 2016-03-22)
test/test_helper.exs (14, 2016-03-22)
web/ (0, 2016-03-22)
web/channels/ (0, 2016-03-22)
web/channels/game_channel.ex (679, 2016-03-22)
web/channels/user_socket.ex (243, 2016-03-22)
web/controllers/ (0, 2016-03-22)
web/controllers/page_controller.ex (144, 2016-03-22)
web/elm/ (0, 2016-03-22)
web/elm/Game.elm (1316, 2016-03-22)
web/elm/Game/ (0, 2016-03-22)
web/elm/Game/Math.elm (466, 2016-03-22)
web/elm/Game/Player.elm (504, 2016-03-22)
web/elm/Game/Render.elm (5079, 2016-03-22)
web/elm/Game/Types.elm (778, 2016-03-22)
web/elm/Game/Update.elm (6411, 2016-03-22)
web/elm/elm-package.json (373, 2016-03-22)
web/elm/paths.env (42, 2016-03-22)
web/router.ex (525, 2016-03-22)
web/static/ (0, 2016-03-22)
web/static/assets/ (0, 2016-03-22)
web/static/assets/favicon.ico (1258, 2016-03-22)
... ...

# Starsystem Playing around with Elm and live code updates by building a game. The rough idea is to build a spaceship game where you can move around within a star system. See the Elm [game code](https://github.com/web/elm). **Status:** Basic multiplayer works. Try it at . # Screenshot ![](https://github.comhttps://dl.dropboxusercontent.com/u/136929/screen_shot_2016-03-13_at_16.56.40.png) # Dev mix deps.get cd web/elm source paths.env elm package install -y cd ../.. mix phoenix.server Then visit , edit [web/elm/Game.elm](https://github.com/web/elm/Game.elm) and see the changes. If you play the game (currently not much of a game, but A and D will rotate the ship and W will accelerate), you can edit the code and see the changes applied without the game resetting. # Commands used to deploy to heroku Deployed at heroku apps:create starsystemgame --region eu heroku buildpacks:set https://github.com/gjaldon/phoenix-static-buildpack heroku buildpacks:add --index 1 https://github.com/HashNuke/heroku-buildpack-elixir heroku config:set SECRET_KEY_BASE=$(elixir -e "IO.puts :crypto.strong_rand_bytes(64) |> Base.encode64") git push heroku # Credits Ship graphics by "JM.Atencia", from . # License Copyright (c) 2016 [Joakim Kolsj](https://github.comhttps://twitter.com/joakimk) MIT License Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

近期下载者

相关文件


收藏者