Commit Graph

16 Commits

Author SHA1 Message Date
Barry Kane dda50836e0 Reorganized the structure again: I swear I'm happy with it this time. 2023-02-18 21:43:11 +00:00
Barry Kane 3d45ee0558 Improved gravity in SDL Experiment 12
- Put a minimum speed of 0.01 on gravityAcceleration.y
2023-02-14 23:41:19 +00:00
Barry Kane 37bf51e8a1 Added gitignore
- Ignores any compiled programs with the default name and any object files.
2023-02-14 23:36:42 +00:00
Barry Kane e446a6c796 Minor reorganization and added SDL2 Experiment 12
- Experiment 12 has a moving camera and wider playfield. Getting pretty cool now.
2023-02-14 23:35:01 +00:00
Barry Kane 5a3d7ed302 Some re-organization and note taking.
Wrote a brief description of SDL2 experiments 1 through 8.
2023-02-07 17:04:00 +00:00
Barry Kane a0fbdce371 Added SDL2 Experiment 11
A test of simple sprite animation. This will allow my Spacewar clone to have actual animated ships.
2023-02-07 16:30:23 +00:00
Barry Kane 7ddbbdc42e Added SDL2 Experiment 10
Woohoo! Ten things learned so far. In this experiment, the circle ship has been replaced by a texture which rotates and changes based on the current behaviour of the engine.
2023-02-06 21:47:50 +00:00
Barry Kane e9d775aab7 Added SDL2 Experiment 9
Added space-war style control of the ship in experiment 7.
2023-02-05 22:24:26 +00:00
Barry Kane 96b221f804 Added SDL2 Experiment 8
A mouse-based gravity program where the mouse is now the star from the previous experiments.
2023-02-04 18:17:51 +00:00
Barry Kane 1fd254bc36 Added SDL2 Experiment 7
A cleaned up version of experiment 6 to allow for an easier time making changes.
2023-02-03 23:16:41 +00:00
Barry Kane 3f471188e3 Added SDL2 Experiment 6, and fixed a bad yank that got copied
- Added Experiment 6, which is a modified version of experiment 5 using delta-time scaling.
- Removed the double SDL initialization, which is a no-op, but for the sake of betterment.
2023-02-02 14:59:06 +00:00
Barry Kane 79e062be5f Added SDL2 Experiment 5
A simple gravity "simulation" inspired by Spacewar. Values are not physically accurate. It's fun to resize the window, as the star will remain in the middle of the screen.
2023-02-01 16:13:31 +00:00
Barry Kane 9633be29ea Added SDL2 Experiment 4
Adapted the previous acceleration example to do basic "physics." Gravity, and bouncing.
More of a simulation experiment than an SDL one.y
2023-01-31 17:14:03 +00:00
Barry Kane 562677aace Added SDL2 Experiment 3
An extension of Experiment 2 with movement based on acceleration so it feels better to use.
2023-01-30 14:55:45 +00:00
Barry Kane c46e980092 Added SDL2 Experiment 2
Learning how to take input from the keyboard.
2023-01-29 22:05:45 +00:00
Barry Kane 1eaf3673b4 Added my first experiment with SDL, a mouse-tracker in the style of a radar. 2023-01-28 19:44:51 +00:00