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