Commit Graph

44 Commits

Author SHA1 Message Date
Barra Ó Catháin 6cc8ea4084 Current Working Tree on <2023-10-21> 2023-10-21 18:21:37 +01:00
Barra Ó Catháin 1a7348dbd0 Current Working Tree on <2023-10-16> 2023-10-16 23:43:21 +01:00
Barra Ó Catháin 11b568550c Current Working Tree on <2023-10-15> 2023-10-15 23:54:02 +01:00
Barra Ó Catháin bc446d457b Current Working Tree On <2023-10-15> 2023-10-15 01:47:23 +01:00
Barra Ó Catháin 17401d3d02 Current Working Tree On <2023-10-13>
Signed-off-by: Barry Kane <barra@ocathain.ie>
2023-10-14 00:28:43 +01:00
Barra Ó Catháin 1e00257754 Current Working Tree on <2023-10-13> 2023-10-13 14:44:24 +01:00
Barra Ó Catháin ce76166c3f Current Working Tree on <2023-10-08> 2023-10-08 22:22:21 +01:00
Barra Ó Catháin 9349afbadc Added a title screen to the client. 2023-05-21 23:29:31 +01:00
Barra Ó Catháin 177ce1a2aa Made the starfield and black hole render in the client 2023-04-04 16:43:51 +01:00
Barra Ó Catháin 093b3b901a Added a textured black hole indicator. 2023-03-25 16:25:49 +00:00
Barra Ó Catháin 2cca8be0df Made the titlescreens use prepareTitleScreen() 2023-03-25 15:25:32 +00:00
Barra Ó Catháin 8971d37dac Added prepareTitleScreen() 2023-03-24 23:31:06 +00:00
Barra Ó Catháin b4dc7cd326 Replaced the star with the black hole sprite. 2023-03-23 20:08:51 +00:00
Barra Ó Catháin 6ad92bf07a Make ships stop after teleporting through the wormhole. 2023-03-23 13:46:59 +00:00
Barra Ó Catháin c6431935d1 Both titlescreen flows now use drawTitleScreen() 2023-03-23 13:27:11 +00:00
Barra Ó Catháin 3baa01f9cb Moved rendering the titlescreen to it's own function. 2023-03-22 17:25:04 +00:00
Barra Ó Catháin 0ac4fd0989 Make title fade in. 2023-03-22 09:27:26 +00:00
Barra Ó Catháin 51d3b66ab9 Added a frame limit to the start screen.
This will stop excessive resource usage and random speeds.
2023-03-21 21:57:28 +00:00
Barra Ó Catháin 00f00b980a Added a starfield which scrolls with player movement. 2023-03-21 21:39:35 +00:00
Barra Ó Catháin d363898236 Added title screen when no controller is present, added text. 2023-03-21 16:31:29 +00:00
Barra Ó Catháin c34b7c2c04 Added a title screen, and improved input selection.
Pressing enter on startup will choose keyboard only, and pressing button zero on the controller will choose that controller.
2023-03-21 13:36:35 +00:00
Barra Ó Catháin 4fe780c1e8 Added basic "wormhole" behaviour
Going into the star transports you to random coordinates in the world.
2023-03-21 13:35:07 +00:00
Barra Ó Catháin 7c22fdeefb Uninlined I/O bound functions.
Yeah, I was meming when I inlined everything. It's kind of pointless for I/O bound functions, but there are actually a lot of candidates for inlining that make sense.
2023-03-20 17:27:34 +00:00
Barra Ó Catháin 958e7b65ff Make client use spacewarGraphics.h. 2023-03-20 17:16:34 +00:00
Barra Ó Catháin 59341e54f4 Added gitignore. 2023-03-20 17:14:57 +00:00
Barra Ó Catháin 86bc0390d6 Moved all functions to header files
It's all inline. Why? Well, all of them are basically called constantly, may as well inline them.
Massive binary, but why not? You have some RAM.
2023-03-20 16:48:50 +00:00
Barra Ó Catháin 66ed3e156c Added multiplayer input and began cleanup 2023-03-20 14:51:43 +00:00
Barra Ó Catháin aaaea33697 Added haptics. 2023-03-20 14:44:37 +00:00
Barra Ó Catháin f3096e1a54 Added basic gamepad support. 2023-03-20 14:36:10 +00:00
Barra Ó Catháin e2f6e993c5 Added a basic client which tracks the second ship through UDP 2023-03-20 14:28:40 +00:00
Barra Ó Catháin 5edab8d33c The camera pans with the velocity of the ship, and added a window title. 2023-03-16 00:31:15 +00:00
Barra Ó Catháin 89befd110f Added a second ship to the simulation. 2023-03-16 00:27:43 +00:00
Barra Ó Catháin 2605f681f6 Added a moving camera and a wider playfield. 2023-03-16 00:20:25 +00:00
Barra Ó Catháin e0324d092e Added simple animation to the sprites. 2023-03-16 00:16:39 +00:00
Barra Ó Catháin 0b1ea56db7 Added a texture for the ship. 2023-03-16 00:12:22 +00:00
Barra Ó Catháin e828b4b70a Added basic ship controls. 2023-03-15 23:49:26 +00:00
Barra Ó Catháin 9402a97ab7 The star is now tied to the mouse, just for fun. 2023-03-15 23:43:42 +00:00
Barra Ó Catháin dcbf5b8ae2 Clean-up to make it easier to continue developing. 2023-03-15 23:39:23 +00:00
Barra Ó Catháin 21f4786a99 Modified the simulation to use delta-time scaling. 2023-03-15 23:31:52 +00:00
Barra Ó Catháin 6df411a1a2 A simple gravity simulation inspired by "Spacewar!". I'm going to make this into a Spacewar! clone. 2023-03-15 23:27:36 +00:00
Barra Ó Catháin 6f966fec57 Adapted the previous example to do basic gravity and bouncing. 2023-03-15 23:24:42 +00:00
Barra Ó Catháin 53a88025cd Added acceleration to make it feel better to use. 2023-03-15 23:22:16 +00:00
Barra Ó Catháin 9344fc9cd8 Learning how to take input from the keyboard. 2023-03-15 23:18:08 +00:00
Barra Ó Catháin 0c86f60f85 A mouse tracker in the style of a radar, to begin practice with SDL2. 2023-03-15 23:15:08 +00:00