Diary of a Game: Day 10
Got camera controls working today, which involved mapping input from screen space to world space for each viewport in turn. The user can manipulate the active viewport, indicated with a red border, allowing them to pan, zoom and rotate the camera.
The user can also spawn balls by holding the mouse button, as evident here, with a stream being dropped in the top viewport, which has the camera rotated at an angle. Note the Viewport
item in the debug display that shows the world co-ordinates of the mouse for the selected viewport, which is where the balls are being created.
All of this is working well. Like I mentioned previously, I want to add proper texture rendering soon, as well as collision callbacks, and I also have a bit of refactoring to do to tidy up the code. I don’t expect to get a lot done during a very busy weekend, but hopefully I’ll be at a point come Monday where I can start focusing on turning this into a very simple four-player space shooter proof-of-concept that I’ll be able to ship as the first pre-alpha early access release this time next week.
Get Gravitas
Gravitas
Cave flyer party game.
Status | Released |
Author | the punk collective |
Genre | Shooter |
Tags | Flying, Gravity, Local multiplayer, party-game, Physics, Retro |
More posts
- Gravitas Trailer UnleashedDec 31, 2021
- Diary of a Game: Day 111Dec 24, 2021
- Diary of a Game: Day 61Nov 02, 2021
- Diary of a Game: Day 54Oct 25, 2021
- Diary of a Game: Day 51Oct 22, 2021
- Diary of a Game: Day 21Sep 21, 2021
- Diary of a Game: Day 13Sep 13, 2021
- Diary of a Game: Day 9Sep 09, 2021
- Diary of a Game: Day 8Sep 08, 2021
Leave a comment
Log in with itch.io to leave a comment.