Skip to content

Conversation

@syncopika
Copy link
Owner

@syncopika syncopika commented Nov 16, 2024

finally some improvements (I think) for the FPS demo which include:

  • player model rotates (or looks at) towards mouse cursor on mousemove over the canvas
  • better first-person view (but still not great with crosshair placement - would like to figure that out eventually)

16-11-2024_124629

issues:

  • the animation when transitioning between holding the rifle <-> idle can look a bit wonky though :/. will hopefully look into that more eventually

also added some minor edits for abacus demo to make it more mobile-friendly (e.g. pointermove evt support via touch-action: none)

…ve towards some point along camera forward (so they're going towards the center of the camera)
…so they don't move erratically like before when walking/running)
…t least for me. also some small edits for abacus (make sure pointermove events work on mobile for it)
@syncopika syncopika merged commit 33174f2 into master Nov 16, 2024
3 checks passed
@syncopika syncopika deleted the improve-fps branch November 16, 2024 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants