44 Commits

Author SHA1 Message Date
132710d800 Fix bug with terrain collisions not being read properly. Added movement resolution and collisions. Made boundary solid. Make blank tiles be solid. Add water void. 2024-08-18 15:38:38 -05:00
2f220652f7 gitignore all the project generated stuff that shouldn't be in the repo. 2024-08-18 14:48:07 -05:00
3fa04c7e2f Merge branch 'main' of https://github.com/sigonasr2/hamster 2024-08-18 14:46:02 -05:00
b77f355ba6 Implemented SpecialRenderable class. 2024-08-18 14:46:01 -05:00
943a98dc9d
Merge pull request #8 from sigonasr2/remove-assets-dependency-and-generated-project-files
Remove assets dependency and generated project files
2024-08-18 14:26:35 -05:00
Moros Smith
d33a8c1321 remove asset dependencies 2024-08-18 15:20:21 -04:00
Moros Smith
580df78ecd remove generated cmake cache files 2024-08-18 15:20:10 -04:00
Moros Smith
1983fa38b0 remove generated VS project files 2024-08-18 15:19:49 -04:00
2638271cb5 Merge branch 'main' of https://github.com/sigonasr2/hamster 2024-08-18 13:53:42 -05:00
d662b3d6a5 Add Matrix texture animating. And prepare jet sprite. 2024-08-18 13:53:41 -05:00
ae6a74e6ce
Merge pull request #6 from sigonasr2/set-visual-studio-working-directory-to-project-root,-for-easy-development
set working directory to project root
2024-08-18 12:35:04 -05:00
2701f5141b
Merge pull request #5 from sigonasr2/add-emscripten-shell
Add emscripten shell
2024-08-18 12:34:23 -05:00
6aad971aec
Merge pull request #7 from sigonasr2/remove-browser-title-hijack-from-PGE
comment out emscripten SetWindowTitle implementation
2024-08-18 12:25:35 -05:00
Moros Smith
3d95c8b00f comment out emscripten SetWindowTitle implementation 2024-08-18 11:05:00 -04:00
Moros Smith
3c75a8db28 set working directory to project root 2024-08-18 10:52:52 -04:00
Moros Smith
02dca56ee1 rename output html file to index.html to ease deployment 2024-08-18 10:49:35 -04:00
Moros Smith
acb2cbf442 add custom emscripten shell file 2024-08-18 10:02:10 -04:00
5e66fd009e Convert entire loaded map into a giant decal for performance reasons. 2024-08-18 05:00:23 -05:00
946c329b37 Fix the zoom! Finally! 2024-08-18 04:25:07 -05:00
530fdc7494 Scale and camera correction almost fixed. Still need to solidify zoom factors somehow. 2024-08-17 22:13:03 -05:00
66622c84f7 Scale correction on right edge of camera. 2024-08-17 21:17:36 -05:00
f47d49417b Add in burning and drowning states and all terrain effects. 2024-08-17 19:46:36 -05:00
9673cadd7c Add in basic terrain powerup effect modifiers. 2024-08-17 18:56:29 -05:00
b1e418bbc7 Add powerup collection and powerup collection effect. 2024-08-17 18:46:03 -05:00
cb16ce831a Update graphics to match new palette. Powerup reading and parsing/spawning completed. 2024-08-17 16:00:33 -05:00
7cf2bb7c3a Add in wheel and extra Animate2D helper functions. 2024-08-17 13:34:32 -05:00
13908da158 Adjust all physics values to be modified by terrain types. 2024-08-17 12:36:56 -05:00
32f6165f7d Detection of terrain types. 2024-08-17 12:05:24 -05:00
6822a4916c Implement multi-layer map rendering. Fix bug with GetLayers() returning a reference to a temporary copy of MapData. For whatever reason...oops. 2024-08-17 11:15:02 -05:00
972dd827e9 Prepare gameplay loop documentation. 2024-08-17 10:33:24 -05:00
4be0ebc161 Added animated water and lava tiles. 2024-08-17 09:09:52 -05:00
506b5f99ae Add basic collision resolution between Hamsters. 2024-08-17 00:12:06 -05:00
f234f1a4fe Added TMX Map Parsing. Added more color cycling to default border template. 2024-08-16 23:48:55 -05:00
3f9a30c16a Added a Border class and cycle timers for some cool color cycling. 2024-08-16 22:26:14 -05:00
7df7b5cbec Add missing camera update call. Fix player flag being set on NPCs instead of the player. Add friction and movement. 2024-08-16 21:17:39 -05:00
cf7121701a Force 30 FPS minimum elapsed time on game engine. Added directional turn controls for the player. 2024-08-16 20:59:09 -05:00
36eb4ce61e Setup game camera and player transformed view following/offset. 2024-08-16 20:25:54 -05:00
2b20570eb3 Remove dependency on olcPGEX_ViewPort. Add olcPGEX_TransformedView. Update border to be in front of the rest of the game drawing. 2024-08-16 20:02:33 -05:00
1a6980b3d4 Add in Hamsters and player flags. Fix up animation loading systems. Setup main game loop and load level function. 2024-08-16 19:30:34 -05:00
bc05757b84 Wrote Animation loading functions. 2024-08-16 18:24:32 -05:00
23523b754d Fix up debug assets folder during development to point to the assets directory. 2024-08-16 17:49:42 -05:00
593841971d Add border image + setup asset loading and animation loading for images. 2024-08-16 17:40:36 -05:00
e6ba1e88c7 Setup main game frame, initial assets and files. 2024-08-16 16:56:04 -05:00
278edfcb2b
Initial commit 2024-08-16 15:08:42 -05:00