https://github.com/josepedrodias/oily
https://github.com/josepedrodias/oily
game-jam gamedev lua multiplayer
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/josepedrodias/oily
- Owner: JosePedroDias
- Created: 2020-08-07T23:43:53.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-08-17T00:40:35.000Z (over 4 years ago)
- Last Synced: 2025-01-21T09:48:26.725Z (3 months ago)
- Topics: game-jam, gamedev, lua, multiplayer
- Language: Lua
- Homepage: https://josepedrodias.itch.io/oily
- Size: 497 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Oily π’
## TL;DR
A multiplayer game over network. Can be played alone as well.
Players are placed underground and have the objective of digging dirt so that oil reaches their tower(s).
First player to capture 100 oil gallons win.Each player can move either digging or placing dirt.
There's a maximum amount of holes one can perform so use your potential carefully and fetch more from caves in the map.
Players can't move past oil so don't get yourself surrounded by it!This game is submission to the [multiplayer game jam](https://itch.io/jam/multiplayer-jam). It was voted 3rd out of 7 games submitted.
_Controls_ β¨οΈ
- `arrows` move the player
- `space bar` toggles between placing and digging dirt (having reached 0 holes the mode switches for you as well)
- `R` starts a new map (if you get stuck for instance). Please don't use it during a game π
- `F` toggles fullscreen
- `S` toggles sound effects## TODO π§βπ³
- title screen π― (ongoing...)
- convert title image to matrix (WIP, buggy)
- refactor client to render a custom update fn
- add menu/transition
- in-game instructions π
- eyecandy π
- use textures instead of solid colors for materials (https://love2d.org/wiki/love.graphics.polygon + texture vs surface stencil)
- close in camera according to action context
- hint exact placement of extraction (vertical line in tower)
- add a sky texture
- network πΈ
- for now 2 slots in a single channel/session. additional people wait for turn to enter
- remove space btw cmd and args in netcode
- game overs detection π
- player between oil
- no more holes (player spent theirs and oil filled map holes)
- procedural map πΊ
- confirm oil starts not in/surrounded by cave (not REQUIRED)
- more than one tower per player? (may be confusing)## Game round management
Playing always connects and interacts with the server. If no other player is around, you play solo. As soon as another player joins, a 2 player game starts - while you both are there you can play several games.
If you get in when a 2 player game is happening, you will be queued to enter as soon as another players leaves.
(I haven't thoroughly tested the retry code so in the unlikely event of you not getting in in 2-5 min restart the game).## Credits π
- game code, concept and laughable artwork by JosΓ© Pedro Dias;
- additional game design and beta testing by AntΓ³nio JosΓ© da Silva.## Resources π
This game was coded in [lua](http://www.lua.org/) with the awesome [love2d](https://love2d.org/) game framework.
Network code based on [enet](http://enet.bespin.org/) / [enet lua bindings](https://leafo.net/lua-enet/).