Week 8A - Playtest!
So I need folks help here. You know what? I have an idea. Comment on this post with any feedback you have, and your name goes in the credits under "First Fliers" (Post the name you want listed in that comment). I don't expect much, a couple minutes of fiddling around will do it.
Offer open until....let's say 10 people reply.
The short version is this: I want help to know if this feels good to handle or not. Pressing the E key will toggle some sliders that change some numbers. Controller input works, enough for testing. Pressing B (xbox) or A (nintendo) will jump.
The other controls remain the same as they are on the main page. WASD for walking. While flying, W/S accelerates, A/D tilts, and mouse does full turns. There is a bug on controller where rotating the camera while walking has
For the curious, the code for movement is as follows. A bit of a simplification, my code organization isn't the best. Suggestions appreciated.
- Find the forward vector and modify that based on movement keys. This just takes the Transform.basis, modifies it then normalizes it.
- Adjust the values of rotation based on input (mouse or joystick)
- If resetting from flying (pressing jump or hitting the ground) then quickly readjust left/right rotation (z axis)
- State switch statement
- Flying
- Rotate player and turn based on A/D input. If no input, float back to neutral
- Accelerate or decelerate (floor is 0) using W/S input
- Check the angle of flight, if pointed down then speed up.
- Jump
- Apply gravity
- Check if jumping again
- Walk
- Apply gravity
- Check for jump
- Flying
- Apply the rotations
- Apply a linear interpolate to the final velocity vector using acceleration * delta as T
- MoveAndSlide
Also if anybody has recommendations for 2D interior tileset packages, I'd like to see them. I probably don't have the time to make my own.
Files
Get Deliveries in Jam Valley
Deliveries in Jam Valley
A small world to explore and run a couple quick favors
Status | In development |
Author | s1lv3r dr4g0n |
Tags | 2D, 3D, Casual, Godot |
More posts
- Release!Jan 03, 2022
- Week 15 - Final WeekDec 27, 2021
- Week 13 - Near BurnoutDec 13, 2021
- Week 11 - BusyNov 29, 2021
- Week 10 - Lights and ActionNov 22, 2021
- Week 10_m - MidweekNov 17, 2021
- Week 9 - PolishNov 15, 2021
- Week 8B - Actual UpdateNov 08, 2021
Comments
Log in with itch.io to leave a comment.
(I just noticed the post says comment here and not on the game page, so I'll put my comment here as well :P)
The flying is cool, but the rolling feels a bit too slow and I think you keep your flying speed after flying where the floor would be instead of resetting to the walking speed. As far as I can tell that's it for bugs and it feels good otherwise, I can't wait for it to be more fleshed out!