Commit graph

579 commits

Author SHA1 Message Date
Weston Salinas cd756ddb17 Fixed Game Freeze on Pellet Kill Inside Portal
- game would freeze previously when player died in or near portal (because the portal would close with player still in it)
- moved the player touching check to be inside of the sceneClosePortal function.
- game no longer freezes when killed within a portal.

Fixes #108
2023-04-30 21:10:06 -05:00
Weston Salinas 3d4cfebe08 Force Places Auto Portals on Conflict
Fixes #141
- this fix forces an autoportal to be placed if there is a conflict.
- if there is a conflict when an auto portal is attempted to be placed it will:
1. close the other portal
2. save a copy of the parameters to the sceneFirePortal function in new SavedPortal struct
3. continuouslyAttemptingPortalOpen == 1
4. attempt to open the same portal once every single sceneUpdate call
- once it finally can open the portal it will set continuouslyAttemptingPortalOpen back to 0
2023-04-30 19:45:06 -05:00
lambertjamesd ac240fdffa
Merge pull request #144 from westonCoder/left-right-audio-fix
Fixed flipped audio panning direction
2023-04-30 15:57:52 -06:00
James Lambert 5c7cf66f29 refactor load game menu for reuse in save game menu 2023-04-30 15:56:53 -06:00
Weston Salinas c0c8047a7e Fixed flipped audio panning direction
- panning was flipped for 3d objects

Fixes #103
2023-04-30 15:04:02 -05:00
James Lambert 4adbef10b4 Start work on load game menu 2023-04-29 21:32:38 -06:00
Weston Salinas 51cee76822 Shuts Off Decor Object Sounds When Deleted
- stops decor object sounds when fizzled or deleted.

Fixes #116
2023-04-29 11:23:48 -05:00
James Lambert 3d996bd015 Work on savefile stuff 2023-04-28 22:55:24 -06:00
James Lambert 5b095414bc Start working on savefiles 2023-04-28 20:56:39 -06:00
James Lambert 29919c1fa5 Start work on audio settings 2023-04-27 20:29:56 -06:00
James Lambert 6983afe8e1 Get control settings working 2023-04-27 08:39:14 -06:00
James Lambert 16adc80e11 Implement control icons 2023-04-26 22:03:41 -06:00
James Lambert d1ee0627d3 Work on controls menu 2023-04-26 08:00:17 -06:00
James Lambert bba255a357 Work on controls menu 2023-04-25 21:20:32 -06:00
James Lambert e104577c41 Work on configurable controls 2023-04-25 08:51:55 -06:00
James Lambert b7d1404868 start on options menu 2023-04-22 22:57:50 -06:00
James Lambert e648add422 Breakup menu code into multiple files 2023-04-22 22:33:29 -06:00
James Lambert 2e47a2f541 Link up menus 2023-04-22 20:51:19 -06:00
James Lambert 1fb3234815 Fix chapter image 2023-04-22 17:46:25 -06:00
James Lambert 8621a04d3c Made a lot of progress on new game menu 2023-04-22 17:32:28 -06:00
James Lambert 0c8bc76732 Fix issue with first frame of camera animation 2023-04-22 09:03:33 -06:00
James Lambert ba5f97b346 Work on main menu camera 2023-04-21 23:32:46 -06:00
James Lambert 6b311659d6 Start work on main menu 2023-04-21 21:05:14 -06:00
James Lambert aa3ea24c16 Get font rendering working 2023-04-21 16:46:26 -06:00
James Lambert 33e997309e Start work on font rendering 2023-04-20 08:32:40 -06:00
James Lambert d574d1df95 release 0.8 2023-04-18 21:16:27 -06:00
James Lambert b459f46db8 Fix door animation bug 2023-04-18 20:58:25 -06:00
James Lambert 85c46f8f33 Set starting level back to 0 2023-04-13 19:50:22 -06:00
James Lambert 0eb3a399a0 fix door not closing all the way
fix auto uv generator
2023-04-13 06:44:01 -06:00
lambertjamesd 975a5bd827
Merge pull request #95 from westonCoder/switch-sounds
Added All Switch Sounds
2023-04-10 16:38:51 -06:00
lambertjamesd 89a044d93d
Merge pull request #94 from westonCoder/camera-shake
Added Player Shake In Elevator
2023-04-10 16:38:18 -06:00
James Lambert a1964cf75e Finish up test chamber 07 2023-04-10 16:34:55 -06:00
James Lambert e84e11acfa Finish up test chamber 07 2023-04-09 14:16:54 -06:00
Weston Salinas 18e0b0068b Added All Switch Sounds
- switch has activate sound
- switch has countdown timer sound
- the player now doesnt make the deniedSelect sound when clicking the switch, and makes the select sound instead
- tested on n64 hardware, no issues
2023-04-08 17:16:58 -05:00
Weston Salinas 4681dac410 Added Player Shake In Elevator
- When elevator starts "moving" the player screen now shakes for a bit
- added a shake update function in player
- tested on N64 no problems
- fixed a slight bug from before with checking if the elevator should start moving sound
2023-04-08 15:37:32 -05:00
lambertjamesd b0a92a4276
Merge pull request #88 from westonCoder/portal-visual-fixes
Portal visual fixes
2023-04-07 23:08:35 -06:00
Weston Salinas f9982e3c25 Added 3 New Sound Effects
- elevator chime arrive sound
- button release "beep" sound
- ball catcher activate sound
- updated TODO in readme
2023-04-07 21:23:58 -05:00
Weston Salinas cea6a82047 requested changes to adjust volume function 2023-04-05 21:11:26 -05:00
Weston Salinas ff2101642d Adding Sound for Fast Falling
- added a new function in SoundPlayer that allows to adjust a playing activesound
- added new fast falling whoosh sound
- tuned whoosh sound to be right volume
2023-04-05 19:31:57 -05:00
James Lambert 2cf701f863 Finish up test chamber 11 2023-04-04 06:24:59 -06:00
Weston 030208e5d5
Merge branch 'master' into portal-visual-fixes 2023-04-02 11:55:47 -05:00
Weston Salinas 1a58634348 portal overlap fixes 2023-04-02 11:54:00 -05:00
lambertjamesd acf0210a61
Merge pull request #89 from westonCoder/r-for-orange-portal
Slight Controls Change
2023-04-01 21:43:31 -06:00
lambertjamesd 3919d601aa
Merge pull request #87 from westonCoder/portal-gun-movement-cleanup
Portal Gun Movement Cleanup
2023-04-01 21:38:02 -06:00
lambertjamesd 2542711c21
Merge pull request #86 from westonCoder/wall-ground-portal-bug
Wall Ground Portal Bug Fix
2023-04-01 21:37:24 -06:00
Weston Salinas 8fcb7e43bf Slight Controls Change
- before player gets second portal gun l/r/z all shoot blue portal
- after player gets second portal gun l shoots blue, and r and z shoot orange portal
2023-04-01 18:23:35 -05:00
Weston Salinas 2cac746e40 Various Portal Visual Bug Fixes
- fixes "holes" being left behind
- fixes portals in same x position (aligned vertically) not being displayed properly
- fixes a hardware only crash where two portals being placed at roughly the same time would crash the game

Fixes #53
2023-04-01 11:22:28 -05:00
James Lambert 0d312e1f79 More work on test chamber 07 2023-03-31 21:10:42 -06:00
Weston Salinas a946b027cf Portal Gun Movement Cleanup
- the portal gun has much cleaner movement now
- portal gun has a recoil timer when it shoots for more game accurate animation
- portal gun is being "clamped" to an invisible sphere around its constraint point, so it can only go so far in one direction.
2023-03-29 22:07:11 -05:00
James Lambert 31390f0d29 work on test chamber 07 2023-03-29 19:59:16 -06:00
Weston Salinas 5fc0590ffb Final Version of Wall/Ground Portal Fix
- This version implements a function that clamps all objects to an oval shape if they are touching a single portal
- This aleviates player clipping out of stage with wall/ground portal
- This aleviates physics objects clipping out of stage with wall/ground portal
- player can no longer walk partially into a wall portal then walk into the wall

Fixes #3
Fixes #13
2023-03-28 16:14:10 -05:00
James Lambert e5e6bc577f Work on test chamber 07 2023-03-27 21:24:10 -06:00
Weston Salinas e4d9e57924 Merge branch 'wall-ground-portal-bug' of https://github.com/westonCoder/portal64 into wall-ground-portal-bug 2023-03-27 16:40:55 -05:00
Weston Salinas 5682481ec9 oops flipped a negative 2023-03-27 16:38:31 -05:00
Weston 199489f3f7
Merge branch 'master' into wall-ground-portal-bug 2023-03-27 16:12:01 -05:00
Weston Salinas 0642146034 Implemented oval clipping suggestions, and player boundry 2023-03-27 16:10:32 -05:00
lambertjamesd 717c04941b
Merge pull request #80 from westonCoder/portalgun-movement
Adds Movement to Portal Gun
2023-03-27 14:14:58 -06:00
lambertjamesd b96c241260
Merge pull request #81 from westonCoder/new-player-controls-fixes
Simply fixed grabbing controls
2023-03-26 21:38:14 -06:00
James Lambert e9e443ebeb Refactor door to be controlled by animation controller to allow for multiple door types 2023-03-26 21:33:23 -06:00
Weston Salinas e654225970 Fixes players and objects clipping out of stage with wall/ground portal
- this fix was implemented by simply clamping the x and y of the localPoint
  to -0.1-0.1 and -0.2-0.2 respectively.
- objects can no longer clip through stage
- player can no longer clip through stage

Fixes #13
2023-03-26 15:54:18 -05:00
Weston Salinas 6b909f778b Simply fixed grabbing controls
- the player shouldnt be able to shoot a portal while grabbing an object (as in game)
- if the player does shoot while grabbing an object then the object is dropped (as in game)
2023-03-25 09:58:18 -05:00
Weston Salinas 1b58e47d4f Adds Movement to Portal Gun
- The portal gun now has its own .c/.h files
- the portal gun is a struct containing a CollisionObject and RigidBody
- portal gun CollisionObject is set as a permanent player point constraint
- portal gun also moves while shooting
- video attached of it working
- was tested on N64 hardware no game breaking issues.
2023-03-24 20:38:58 -05:00
lambertjamesd a700cc9d98
Merge pull request #72 from westonCoder/grabbing-through-wall-fix
Fixed Objects Clipping Through Walls
2023-03-22 17:07:58 -06:00
lambertjamesd 1c7d55d6db
Merge pull request #74 from westonCoder/fizzler-portal-crash-fix
Fixes Game Crash On Portal Exit Fizzler Enter
2023-03-22 17:06:54 -06:00
lambertjamesd f177d9c1e0
Merge pull request #76 from westonCoder/objects-dissappear-between-rooms
Fixed Objects Dissapearing Between Rooms
2023-03-22 17:06:11 -06:00
Weston Salinas e6ce03faef moved room changing code to collision_scene in its own function 2023-03-22 15:32:11 -05:00
Weston Salinas 0b7fec38c2 fixed to use flags rather than function call. 2023-03-22 13:52:14 -05:00
Weston Salinas 4d88d9c3c4 Requested alterations implemented 2023-03-21 22:13:03 -05:00
Weston ef096a54f7
Merge branch 'master' into objects-clipping-through-doors-fix 2023-03-21 21:44:04 -05:00
lambertjamesd f55dd41501
Merge pull request #71 from westonCoder/add-various-sound-effects
Added Various Sounds to Game
2023-03-21 18:27:08 -06:00
lambertjamesd 40fb30c000
Merge pull request #67 from westonCoder/portal-pedastal-fix
Fixes #57
2023-03-21 18:25:40 -06:00
Weston Salinas ac697d8114 Fixed Objects Dissapearing Between Rooms
previously if the player walked with a decore object to a new room
within a level, the object would dissapear (because it was no longer
set to the correct currentRoom). This can be seen in test chamber 0 with the
radio for example.

- this is a simple fix to change the currentRoom of a grabbed object
to the players room if the player walks through a doorway.
2023-03-19 16:37:32 -05:00
Weston Salinas 0c8a96e796 Fixes Game Crash On Portal Exit Fizzler Enter
- only allows fizzler to close portals if the player is not in a portal currently.

Fixes #28
2023-03-17 09:59:07 -05:00
Weston Salinas 7ad51a2766 Fixes Objects Clipping Through Doors
- simply added a collision layer to doors so that decore objects cant clip through them anymore when closed
2023-03-17 09:40:20 -05:00
Weston Salinas 62cc0289c0 Fixed Objects Clipping Through Walls
This fix was implemented by checking the distance from the player to
the nearest collision object (thats not the player and the object they're
holding) and if that is too close, adjusting the grab point back towards the player.

grab point is also bounded to -1.5 -> 0 so that the grab point doesnt go somewhere odd.

Also if a player is holding an object and they are much too close to a wall
(less than 0.3 distance) it will disable grabbing on the object and drop the
object.

Fixes #32
Fixes #11
2023-03-16 14:49:24 -05:00
Weston Salinas e360a288df Added A Few More Sounds and Utilized Flags
- Door open and close sound implemented
- Pedestal rotating sound implemented
- Elevator moving sound and timing implemented
- fixed implementation to make use of object flags rather than global variables (this was a good catch because it fixed a bug when there were two buttons loaded at once)
2023-03-15 18:04:08 -05:00
Weston Salinas ef476af8a3 Added Various Sounds to Game
- intercom on sound triggers when its the first queued sound
- intercom off sound triggers when its the last queued sound in a string of sounds
- button press sound implemented
- cube dropper now has a sound when it drops cube
- pedestal now has a shooting sound
2023-03-14 15:34:34 -05:00
Weston d3f32ba5b2
Merge branch 'master' into portal-pedastal-fix 2023-03-14 11:29:25 -05:00
Weston Salinas b6f3e33a2f Changed How Fix Was Implemented
- save checkpoint is now at a few more places
- removed previous revision
- removed portalgun flag from being saved to a save file in player.c
  this was due to the fact that that information is already saved in
  checkpoints (I think?) and doesnt seem to serve a purpose
- the only downside (or maybe this is intended) is when a player
  loads from a checkpoint it only seems to load from the start of the
  blender file level (so if there are two levels in one blender file
  and the player clipped out or died in the second level then it would load
  back to the first level in that blender file)
2023-03-14 11:21:04 -05:00
Weston 53c7d10130
Merge branch 'master' into hud-finishing-touches 2023-03-14 09:36:55 -05:00
Weston Salinas 05762daa42 small fixes to adhere to coding standards 2023-03-14 09:33:57 -05:00
lambertjamesd 8cfe569c00
Merge pull request #70 from westonCoder/player-action-sounds
Player Action Sound Additions
2023-03-13 21:41:52 -06:00
James Lambert f4b149d24b Start work on test chamber 07 2023-03-13 21:13:47 -06:00
Weston 718b19a95b
Merge branch 'master' into player-action-sounds 2023-03-13 22:10:50 -05:00
Weston Salinas 52ede9d936 Player Action Sound Additions
- player now has footsteps (always sounds like concrete steps)
- player now has jump footstep
- player now has landing footstep
- player has select (grabbing) sound
- player now has select denied sound
- player has various new additions to flags to accomodate sounds

Fixes #20
Fixes #69
2023-03-13 22:04:31 -05:00
lambertjamesd 274194a3dc
Merge pull request #64 from westonCoder/camera-centering-functionality
Looking Forward/Backward Functionality
2023-03-13 20:29:10 -06:00
lambertjamesd b9e9a0d69c
Merge pull request #66 from westonCoder/signage_flickering
Flickering Signage Addition
2023-03-13 20:28:28 -06:00
Weston Salinas 89576f28a8 Fixes #35 2023-03-12 14:59:14 -05:00
Weston Salinas 82e7c0f99a Fixes #57 2023-03-12 14:10:01 -05:00
Weston Salinas 66bccd2b5b Flickering Signage Addition
- there is now a new asset "signage_off.blend"
- when the player first looks at a sign it exponentially is on more often
- video attached to PR of flickering in action
- majority of changes in signage.c
2023-03-12 10:56:10 -05:00
Weston Salinas d800c11490 Looking Forward/Backward Functionality
the following has been implemented:
- C UP cancels out any pitch the player might have (looks straight)
- C DOWN cancels out any pitch and rotates 180 (looks behind)
- this was implemented with only existing quaternion math operations
- functionality disabled if player is looking directly up or down.
2023-03-05 22:02:22 -06:00
Weston Salinas 251a112ee0 HUD Finishing Touches
these are some final tweaks to the HUD:
- when grabbing an object HUD turns white (as in the game)
- blue part of HUD indicates that a BLUE portal can be shot (not just any portal)
- orange part of HUD indicates that an ORANGE portal can be shot (not just any portal)
- screenshots are attached

at this point I think every logic based hud element has been implemented
not sure where the asset for the center reticle is (the white dots right in the middle of the HUD),
but once we add that as an asset it should be easy to plop that in the middle of the rest of the HUD elements
2023-03-05 15:38:56 -06:00
lambertjamesd 4854249093
Merge pull request #61 from westonCoder/crouching-implementation
Added Crouching Functionality
2023-03-04 20:54:19 -07:00
Weston Salinas d21e70858b True HUD Implementation
In the real game the HUD is constantly checking if you are looking at a
valid wall to shoot a portal at. If you are, it displays both parts of the
HUD as filled in. if you arent they are both unfilled.

the hud in the game also has a portal indicator on the side of the hud
corresponding to the portal you last shot (also in the corresponding color)

both of the above things have been implemented in this PR. also attached are
images of it working.

I had to add a flag "just_checking" to a few functions involved when the
player normally shoots a portal and the validity checks are run. This flag
tells the functions to not actually shoot a new portal but just check if
shooting a portal would be valid.
2023-03-04 21:33:41 -06:00
Weston Salinas a24f7acec5 Added Crouching Functionality
- Added crouch to Right C button
- Removed movement being from other c buttons
- Added a new player flag for "crouched"
2023-03-01 17:05:41 -06:00
Weston Salinas a009e1b3ce Added the hud toggling with portals opening and closing. 2023-02-28 23:07:50 -06:00
James Lambert 9c815de719 Work on next test chamber 2023-02-27 22:04:31 -07:00
James Lambert 7db90f4276 Fix airborn momentum 2023-02-27 21:23:08 -07:00
James Lambert 34f336f3af More work on test chamber 06 2023-02-25 21:36:22 -07:00
James Lambert 9878d18821 Finish up test chamber 05 2023-02-21 21:02:24 -07:00
James Lambert fc253fe93b Minor issues for next release 2023-02-18 20:20:28 -07:00
James Lambert 06593f221b Work on ball audio 2023-02-14 19:53:20 -07:00
James Lambert 47cd6c3c5e Work on ball sound effects 2023-02-14 08:54:34 -07:00
James Lambert 8c14455096 Implement doppler effect 2023-02-13 22:00:24 -07:00
James Lambert f612ba79fa Fix first portal wall clipping problem 2023-02-13 08:59:07 -07:00
James Lambert d88499d6ca Fix some physics problems between player and grabbed objects 2023-02-12 21:59:30 -07:00
James Lambert 1661eaf914 Update readme 2023-02-11 21:19:38 -07:00
James Lambert e0789a13fc Add ball burn marks 2023-02-11 21:17:44 -07:00
James Lambert 26c8fa5f99 Some test chamber polish 2023-02-11 14:28:14 -07:00
James Lambert 1eeab214c1 important objects respawn 2023-02-11 13:37:03 -07:00
James Lambert 4ac92e6163 Fix infinite jump glitch 2023-02-10 22:15:20 -07:00
James Lambert 95f9239d7e Underwater graphics done
moved autoportal frames to be a decor object
2023-02-10 21:11:58 -07:00
James Lambert 53f2d4dc58 Work on water death 2023-02-08 22:01:46 -07:00
James Lambert 0b7aee7f22 saving and loading checkpoints 2023-02-07 21:56:24 -07:00
James Lambert 4e06edb345 Work on checkpoint saving 2023-02-06 22:08:11 -07:00
James Lambert cd22140bf1 Player can now die 2023-02-06 18:02:58 -07:00
James Lambert 18e6a4090f Add death overlay 2023-02-06 08:45:07 -07:00
James Lambert a13f45a494 Start work player death 2023-02-05 22:00:11 -07:00
James Lambert 90f775c43f Work on test chamber 4 triggers 2023-02-04 21:43:31 -07:00
James Lambert 8938c24ae7 Work on test chamber 04 2023-02-03 21:56:10 -07:00
James Lambert 0827001771 Player now moves with moving objects 2023-01-31 21:14:54 -07:00
James Lambert b8727fc855 Fix raycast epa bug 2023-01-30 21:46:54 -07:00
James Lambert 7148d79a91 Texture ball catcher and ball launcher 2023-01-25 21:03:23 -07:00
James Lambert 9574122e5d Work on ball polish 2023-01-22 16:47:00 -07:00
James Lambert 7d71ed2708 Implement test chamber 6 2023-01-21 22:00:41 -07:00
James Lambert 6a274ab71c work on test chamber 03 2023-01-21 21:55:06 -07:00
James Lambert 970d45687c Start implementing ball catcher 2023-01-20 21:50:13 -07:00
James Lambert f5bf61d664 Make quads collide only on one side 2023-01-20 12:51:41 -07:00
James Lambert 68f39f24f2 Ball launcher is working better 2023-01-18 21:28:18 -07:00
James Lambert 77e4066259 Work on ball launcher 2023-01-18 21:00:21 -07:00
James Lambert 65523d12fb Fix some bugs with the ball launcher 2023-01-17 20:59:04 -07:00
James Lambert 1ff35c25f2 Start work on ball launcher, ball catcher, and ball 2023-01-16 14:36:32 -07:00
James Lambert 5bfe8ddf99 Don't give the player the portal gun by default 2023-01-09 21:52:05 -07:00
James Lambert e02dfdc08c Fix constraints 2023-01-09 21:31:00 -07:00
James Lambert 17df946bc4 Some physics is unborken 2023-01-07 22:04:42 -07:00
James Lambert ae1da1ef30 Break physics engine 2023-01-07 20:26:43 -07:00
James Lambert e290a60856 Work on swept object to object collision 2023-01-07 20:10:17 -07:00
James Lambert b470c10428 Fix relative velocity when going through portal 2023-01-06 21:57:11 -07:00
James Lambert 00444bc769 Check for portal collisions on dynamic objects 2023-01-05 21:54:25 -07:00
James Lambert efc190679e Work on moving portals 2023-01-05 08:38:02 -07:00
James Lambert c6c67b0d01 Allow a portal to move on animated surfaces 2023-01-05 08:15:41 -07:00
James Lambert 45e6194bd0 Animated surfaces can now recieve portals 2023-01-04 08:39:08 -07:00
James Lambert 26db9cf101 Get animatable colliders working 2023-01-03 22:12:25 -07:00
James Lambert 565e60584a Correctly cull animated scene elements 2023-01-02 21:03:04 -07:00
James Lambert 8d0be1c12a Get animation working with cutscenes and get switch object workings 2023-01-02 20:10:29 -07:00
James Lambert 7f965d28f3 Work on switch object 2023-01-02 15:45:39 -07:00
James Lambert c000fd60cb Fix a bug with cutscene triggers
fix some animation bugs
2023-01-01 21:14:32 -07:00
James Lambert 058ad8fd98 Work on animations playable from cutscenes
Allow animator to run backwards or at any speed
2023-01-01 16:53:08 -07:00
James Lambert 44c9974afb Get animations working for now 2022-12-31 16:12:35 -07:00
James Lambert be1f6dd243 Allow static to be modfied by a transform 2022-12-30 21:58:05 -07:00
James Lambert 226057dd61 Build out level animation export logic 2022-12-30 20:28:27 -07:00
James Lambert d26a6408b5 Fix PAL audio 2022-12-22 11:01:31 -07:00
James Lambert 9b7077aa09 Some work on the next test chamber 2022-12-15 21:07:50 -07:00
James Lambert a0bed76f85 Work on next test chamber 2022-12-14 21:46:24 -07:00
James Lambert c9907c13a5 Fix portal clipping planes 2022-12-13 19:33:40 -07:00
James Lambert 266ee8c24e Work on test chamber 1 2022-12-06 20:52:15 -07:00
James Lambert 3275716ac8 Fix animation bug 2022-12-06 08:33:29 -07:00
James Lambert 89004dcb4f Add player animation blending 2022-12-05 21:54:21 -07:00
James Lambert a81b2ae9a5 Use correctly named animation 2022-12-04 19:10:51 -07:00
James Lambert 302c53b704 Cleanup old animator 2022-12-02 22:06:19 -07:00
James Lambert 28db20bffe Remove references to old animaiton system 2022-12-02 22:06:19 -07:00
James Lambert 95ab27db2f Refactor animation system 2022-12-02 22:06:19 -07:00
James Lambert 98be397cdb Add bones to chell 2022-11-26 11:58:59 -07:00
James Lambert 121ca8a2f2 Fix some render issues 2022-11-25 20:52:02 -07:00
James Lambert 6e5c516084 Add t-posing chell 2022-11-25 19:45:15 -07:00
James Lambert aa9b313cd5 Allow z ranges to overlap 2022-11-17 21:27:33 -07:00
James Lambert b916035ed1 Fix farplane bug 2022-11-16 21:39:05 -07:00
James Lambert 656f45e13f Fix bug where portal surfaces with more than 32 vertices fail to cut a hole properly 2022-11-16 21:23:37 -07:00
James Lambert 9911fb37c9 Dynamic range for z buffer allocation 2022-11-16 19:53:03 -07:00
James Lambert 68f58dd8dc Implement dynamic far plane 2022-11-16 08:51:02 -07:00
James Lambert 14d0546752 Cache dynamic render data 2022-11-15 22:11:08 -07:00
James Lambert 41f658ef99 Fix broken stuff 2022-11-14 22:16:32 -07:00
James Lambert f10fc3ef95 Only keep one clipper result in the render plan 2022-11-14 20:59:21 -07:00
James Lambert d824c42317 finally unbork the new render plan 2022-11-14 08:30:14 -07:00
James Lambert be383858f3 A little less borken 2022-11-13 21:22:49 -07:00
James Lambert 5db7dc544a Finish out render plan code 2022-11-13 19:48:40 -07:00
James Lambert 927a977632 Fix projection matrix bug 2022-11-12 21:14:14 -07:00
James Lambert 4e97e820b1 Separate camera setup from apply 2022-11-12 20:01:34 -07:00
James Lambert c33661e1c1 More robust rendering 2022-11-12 16:16:20 -07:00
James Lambert c714ef44ca Fix bug where a bad portal view can crash the game 2022-11-11 10:07:31 -07:00
James Lambert 3826c8612b Implement controller data recording 2022-11-11 09:46:40 -07:00
James Lambert f767fdf8ab Add freecam 2022-09-27 19:33:56 -06:00
James Lambert 3a9459266c Incrase render state data 2022-09-01 20:59:05 -06:00
James Lambert b74c779c4b Work on test_chamber_02 2022-08-31 22:02:58 -06:00
James Lambert 1d0e29d5db Implement signal operators 2022-08-31 21:02:19 -06:00
James Lambert 0236fcc42c Cancel all cutscenes between levels 2022-08-31 08:25:56 -06:00
James Lambert e7601c2e4d Small elevator details 2022-08-31 07:36:07 -06:00
James Lambert 5a3d5d86b2 Work on elevator transition 2022-08-27 21:54:05 -06:00
James Lambert b59695f2a4 work on next test chamber 2022-08-26 21:20:14 -06:00
James Lambert 70b2585a1c Move shooting controls to the second player d-pad 2022-08-20 19:19:44 -06:00
James Lambert f7ee3f1880 Level polish 2022-08-19 21:21:22 -06:00
James Lambert 2a1658cdcb fix some portal tunneling bugs 2022-08-19 20:37:40 -06:00
James Lambert d56aac8c1d Fixup some bugs 2022-08-15 08:22:44 -06:00
James Lambert 333b17f9ad Fix player standing logic
fix lighting logic on rotated meshes with an armature
2022-08-12 21:02:18 -06:00
James Lambert c656c50c60 Fix bug where fast objects can pass by portals 2022-08-12 12:23:49 -06:00
James Lambert a4751e0bda Have player handle its own collision 2022-08-12 08:23:08 -06:00
James Lambert 338b197dcc Fix bugs in level transitions 2022-08-11 19:04:13 -06:00
James Lambert d48c57a19e Work on signage for all levels 2022-08-10 08:24:24 -06:00
James Lambert a2a88ac1aa Have signage room number count 2022-08-09 21:50:47 -06:00
James Lambert 6f78076558 work on dynamic signage 2022-08-09 12:59:09 -06:00
James Lambert c8c56abdb5 Fixup skeletal animation and armatures 2022-08-08 22:08:00 -06:00
James Lambert 0fafeee5b0 Work on pedestal animation 2022-08-08 08:37:33 -06:00
James Lambert 6e51bf109e Fix sk64 init logic 2022-08-07 22:05:45 -06:00
James Lambert 0a9071805b Work on portal gun pedestal 2022-08-07 18:57:12 -06:00
James Lambert 18a879d7fa Fixup skeletal animation 2022-08-07 13:55:50 -06:00
James Lambert ec0c6a79dc Work on portal gun pedestal
work on movement polish
2022-08-04 12:58:10 -06:00
James Lambert 6ced424472 Work on test chambers 2 and 3 2022-08-02 13:13:46 -06:00
James Lambert 0b72b423a8 work on test chamber 01 2022-08-01 19:43:24 -06:00
James Lambert 781b561198 work on physics 2022-07-31 20:16:11 -06:00
James Lambert c24ac7b527 Work on swept collision 2022-07-26 21:41:19 -06:00
James Lambert 475a182a79 Start work on loading next level 2022-07-25 08:23:27 -06:00
James Lambert b6821b5de6 v0.5.1 2022-07-25 07:43:37 -06:00
James Lambert 20f84f1fd4 Fix pointers after loading level from cart 2022-07-24 16:03:29 -06:00
James Lambert edd22cd670 Work on swept collision 2022-07-24 08:27:12 -06:00
James Lambert 738b238cd2 Work on swept epa 2022-07-22 08:34:50 -06:00
James Lambert d9d42d05e9 Rename cotangent to bitangent 2022-07-18 21:53:48 -06:00
James Lambert 97a0ef5699 Allow second controller to control debug rendering 2022-07-16 16:33:08 -06:00
James Lambert c38a5d5472 Some minor bug fixes 2022-07-14 16:57:44 -06:00
James Lambert 221bec7848 Fix some bugs 2022-07-13 08:46:22 -06:00
James Lambert 5efc317b23 bug fixes 2022-07-12 20:35:46 -06:00
James Lambert 66faa76851 Fix hole opening bug 2022-07-10 14:43:29 -06:00
James Lambert 589bc4a9fb Animate portal hole opening 2022-07-10 14:36:12 -06:00
James Lambert a1d670faf6 Start work on portal animation 2022-07-09 21:47:40 -06:00
James Lambert 7e9843f439 Fixup some portal rendering issues 2022-07-09 19:25:57 -06:00
James Lambert 5f517da095 Implement basics for polygon screen cover 2022-07-09 16:37:12 -06:00
James Lambert 16bf155b16 Fix some hole cutting bugs 2022-07-08 20:48:11 -06:00
James Lambert 1e2e20d828 Some more portal polish 2022-07-07 22:43:56 -06:00
James Lambert 421c943132 Fix portal face clipping issue 2022-07-07 22:30:55 -06:00
James Lambert 7b5b54d8c1 Move near clipping plane closer to portal when rendering portal contents 2022-07-07 18:14:08 -06:00
James Lambert b47e38e674 Fix minor screen clipper bug 2022-07-07 12:44:47 -06:00
James Lambert 27b3687f5c Allocate different ranges of the zbuffer to different portal levels 2022-07-07 12:35:34 -06:00
James Lambert b8fa40c3c5 make portal clipping more precise 2022-07-07 08:26:26 -06:00
James Lambert c70db7b9e8 Polish up passing through portals
polish up portal border
2022-07-06 21:38:22 -06:00
James Lambert abf2c858db Implement special case logic when standing close to a portal 2022-07-06 12:42:44 -06:00
James Lambert 9c478b6585 Surface hole cutting is working 2022-07-05 23:23:12 -06:00
James Lambert 12c7ae1741 Fix some more portal hole cutting bugs 2022-07-05 17:56:39 -06:00
James Lambert f7167ecd72 Allow collision surface to portal surface to be a many to many relationship 2022-07-05 13:57:09 -06:00
James Lambert 5dcef6b458 Fix some more portal hole cutting bugs 2022-07-03 21:06:34 -06:00
James Lambert 2b22d12a0e Fix more hole cutting bugs 2022-07-03 20:19:49 -06:00
James Lambert e3e4b23654 Some portal surface generation debugging 2022-07-03 18:43:23 -06:00
James Lambert c7a5497512 Fix a hole cutting bug 2022-07-03 13:06:47 -06:00
James Lambert 9c189355b5 Fix some bugs in the hole cutting logic 2022-07-02 21:59:16 -06:00
James Lambert a2b322d348 Finish up hole cutting logic 2022-07-02 12:39:20 -06:00
James Lambert cf9f53755e Implement hole cutting algorithm 2022-07-01 22:12:09 -06:00
James Lambert c7734ca524 Implement triangulation 2022-06-30 08:41:01 -06:00
James Lambert 2520920f4c cutting algorithm appears to be working 2022-06-30 07:27:07 -06:00
James Lambert 9f1ef5f184 Work on more bugs 2022-06-29 18:05:16 -06:00
James Lambert 2cd0216931 Refactor SurfaceBuilder to contain copy of PortalSurface instead of referencing it 2022-06-29 07:46:00 -06:00
James Lambert 63d614a777 Work on portal surface hole cutting some more 2022-06-28 22:21:30 -06:00
James Lambert eaa39ca9c8 Start debugging hole cutting logic 2022-06-28 13:09:09 -06:00