Commit Graph

291 Commits

Author SHA1 Message Date
f05142066d remove use of Math.Clamp() 2021-07-14 11:23:43 -04:00
899b17d955 comment out MonoGame platform printing 2021-07-14 11:23:29 -04:00
1a025c275b just use WorldBounds.{Width,Height} instead of {Size.X,Size.Y} 2021-07-14 11:13:38 -04:00
3cd98d08f4 Newtonsoft.Json -> System.Text.Json for SneakWorld.cs 2021-07-13 11:54:15 -04:00
b15a55afd1 Newtonsoft.Json -> System.Text.Json for Sprites.cs 2021-07-13 11:00:19 -04:00
7ed2f3ebb6 MusicPlayer: add Enabled bool (defaults to off) 2021-07-12 15:27:29 -04:00
d2d671e24f debug off by default 2021-07-12 15:27:18 -04:00
fb0fee59ad back to SneakScene as default 2021-07-12 15:10:18 -04:00
a01c4a1d51 add Debug.AddPoint, enable debug by default 2021-07-12 14:58:29 -04:00
239dc167f9 add Terran planet texture 2021-07-12 14:57:49 -04:00
20c4bd8b3a SpiderWorld: tweak constants / anchor positions 2021-07-12 14:57:22 -04:00
1fd19f14dc add Spider* files to project and SneakGame 2021-02-09 10:14:10 -05:00
0b555af7a1 add Spider game 2021-02-08 17:26:40 -05:00
123ea724d0 enemy now moves 2021-02-08 16:08:01 -05:00
95d24a63ec pass in a newShots list instead of returning one 2020-11-30 17:20:14 -05:00
9c289bd132 add basic Enemy skeleton 2020-11-30 17:12:09 -05:00
d8f3d940ef move Draw() into Player & Shot 2020-11-30 16:23:35 -05:00
b5853828bd ShmupWorld: pad screen bounds for reaping objects 2020-11-30 15:34:59 -05:00
0f5f7b84f7 ShmupWorld: add Player.Update() as separate function 2020-11-30 15:11:52 -05:00
2b17501bab ProfilingList: add AddRange() function 2020-11-30 15:11:31 -05:00
7f7da206c9 add whitespace line 2020-11-20 17:38:23 -05:00
5d9a7205a1 add autofire (with a cooldown); don't shoot a plethora of shots at once 2020-11-20 16:18:12 -05:00
ed3dd73493 add debug toasts & more shots at once 2020-11-19 19:38:31 -05:00
18f80f8a70 lots pewpews, in rotating colors 2020-11-19 18:52:56 -05:00
db01dcea28 generate Shots on user input & reap them once offscreen 2020-11-19 17:55:27 -05:00
057292c138 separate letterboxColor from backgroundColor. 2020-11-19 17:54:45 -05:00
3c08579ed9 add some shots (pew pew pew) 2020-11-19 17:26:50 -05:00
6fed3acdda add ProfilingList.RemoveAll() 2020-11-19 17:26:05 -05:00
5732d60047 add projectiles to Textures 2020-11-19 17:03:45 -05:00
7695f45cc0 clamp player movement to world 2020-11-19 16:36:21 -05:00
bdfe5555b8 add more ship textures 2020-11-19 15:25:54 -05:00
7b9147d901 Input: flip y-motion to match our usual coordinates (top left is (0, 0)) 2020-11-19 14:44:45 -05:00
fd4bf85d1c add basic shmup game 2020-11-19 14:44:12 -05:00
829b9df78e lint fixes for TreeScene. 2020-11-18 12:08:45 -05:00
fef060f09a SoundEffects.Load(): go back to returning void instead of bool 2020-11-18 11:42:15 -05:00
a08c1bcfc2 Add MusicPlayer & handle NoAudioHardwareException. 2020-11-18 11:26:21 -05:00
39ac88b60a switch back to Sneak as the default game 2020-11-16 14:43:21 -05:00
0dbc6bdd8c TreeScene: allow for ideal vs actual orientation 2020-11-16 14:42:51 -05:00
7358bc0b24 add a fudge to side length 2020-07-21 13:11:50 -04:00
1db526e82d Add Trapezoid.Rotate() & Translate().
Use them to rotate tree segments appropriately.
2020-07-21 11:03:02 -04:00
9ac15e6d35 clean up TreeNode constructor literals 2020-07-16 15:34:22 -04:00
013e4836fb add Tree data structure & render actual Trees 2020-07-16 15:18:30 -04:00
d6addc15e0 Draw basic trapezoidal skeleton. 2020-07-16 11:34:10 -04:00
df436f8c32 TreeScene: draw a triangle 2020-07-15 15:56:56 -04:00
987c86fae9 mv World & Scene to SneakWorld & SneakScene. 2020-07-15 15:17:19 -04:00
56bc1abe06 Add TreeScene & TreeWorld. 2020-07-15 15:01:28 -04:00
5a9b98455f Add TODO about World taking in a GraphicsDevice 2020-07-15 14:59:43 -04:00
0f6424e4a1 private-ize members of Scene 2020-07-15 14:53:03 -04:00
9b25a8a6e0 Add new IScene interface. 2020-07-15 11:48:30 -04:00
811df57950 Make new IWorld interface. 2020-07-15 11:33:59 -04:00