2025-08-25 02:47 UTC
IT'S ALIVE!
Now I can move the character.
It was way more adaptation as ebiten is more immediate mode and g3n is more retained, but I kind of like it as it is. I don't have a render loop, it is handled by the 3D engine.
I just use the update loop to update the position based on KeyPress events.
Problem is, now it interacts with the camera control as well, so I get to move my character and change the camera settings as well.
#golang #gamedev #3d #g3n
Replies (1)
-
@dolanor@hachyderm.io 2025-08-25 10:14
very easy fix, map the z, s, q, d button for player move and keep the arrows for the camera. I'd like more control over the camera from the code, though. There is some weird thing about it. I'm gonna find what's wrong with it.