69 Commits

Author SHA1 Message Date
fd6d186fb6 Remove SpecialRenderable and all associated code related to it. Performance gains. 2024-08-21 07:57:25 -05:00
a0c78b9a85 Fix naming conflict with olc::Decal and olc::Sprite (Makes gcc happy) 2024-08-21 06:28:25 -05:00
599114ca02 Lots of micro-optimizations and depth fixes for emscripten. 2024-08-21 06:10:30 -05:00
14296e2e63 Make checkpoint hashing faster! 2024-08-21 03:40:49 -05:00
766eba4444 Added a radar. 2024-08-21 03:10:41 -05:00
7eda510317 Add checkpoint arrow indicators for offscreen checkpoints. 2024-08-21 01:39:21 -05:00
6ee7e293d5 Add Viewport PGEX back in for radar stuff. 2024-08-21 00:34:46 -05:00
e37456f757 Add display names for powerups. 2024-08-21 00:04:42 -05:00
051d2f32b0 Add Floating Text and DrawRotatedString functions in TransformedView. 2024-08-20 23:42:55 -05:00
98e0aa804f Center powerup icons, cleanup border. Select correct tile ID for rendering checkpoints. 2024-08-20 22:58:06 -05:00
fefbbceef4 Fix acceleration / movement code issues, added race finished state, added checkpoints, added victory animation. 2024-08-20 20:56:28 -05:00
76bc1ce3ae Fix player state getting modified to bump while preparing for flying state. Transition smoothly from hamster control to landing state for hamster jet. 2024-08-20 17:50:47 -05:00
220beffeae Hamster Jet platform was lagging behind. Moved platform following to after hamster movement code. Remove all string_view conversions being converted into strings. VERY EXPENSIVE OPERATIONS apparently. 2024-08-20 05:42:01 -05:00
c85b8ebf2c I guess adding strings was really slow? 2024-08-20 05:10:57 -05:00
0df1760f15 Added speedometer visual and text display. 2024-08-20 04:45:50 -05:00
002b00f018 Added Fall-o-meter HUD elements, added crash landing mechanics, and fuel. 2024-08-20 03:52:29 -05:00
5b188afc85 Fix respawn location bug. Prepare fuel meters 2024-08-19 20:22:03 -05:00
a16dc51d23 Hamster landing speed controls. 2024-08-19 17:37:02 -05:00
fa25cfa54c Added landing mechanic and landing animations. Add safe spot find algorithm. Prepare Fallometer graphics. 2024-08-19 17:15:27 -05:00
8720d20b82 Moved Hamster Jet camera down, added targeting indicator, fix ground detection issues while in the air. 2024-08-19 14:57:12 -05:00
121061f3b8 Clean up Hamster Jet animations. Add hamster jet flame animations and rockets activate during movement. Refined Hamster Jet controls. 2024-08-19 14:13:50 -05:00
2a821cb70a Fix collision bugs, added sky covers. Implemented basic hamster jet animations. 2024-08-19 01:56:12 -05:00
086e244866 Implemented new 3D rendering integration with GFX3D engine. GFX3D PGEX now uses decals for drawing. Camera follows the player into the sky. 2024-08-18 23:13:44 -05:00
ff8f513807 Prepare 3D PGEX and PGE for camera shenanigans. 2024-08-18 20:10:55 -05:00
4fd6f22344 Make preparations for 3D flying effect integration. 2024-08-18 16:49:44 -05:00
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