TWIN
2nd Devlog and I understand Bevy halfway.
And I have 20 Tabs opened with some examples.
Here are all changes:
1. Downgrade to Bevy 0.15
At first I was on the newest version of Bevy (0.20) but there is no event system and less tutorials than on bevy 0.15 so I just use the older version.
2. Textures
There are just placeholders from kenney.nl but they work fine.
3. Rotating and Shooting
I wanted a movement like in SAS: Zombie Assault (an old flash game). That means you move with WASD and aim with the mouse.
And you can also already shoot with left mouse button. For that I used the bevy event system. That means when I press left mouse button it sends an event and if that event sends it shoots.
That sounds way to over complicated but it is important for weapon switching later.
I also tried a weapon switch system.
4. Collision boxes.
I made Walls with rapier2D.
It was at first a bit complicated because every objects need an rigidbody and in Godot only Physics objects needed that and to control the player I must control a KinematicCharacterController instead of the transform but idk why.
5. Smooth Camera
The camera is a bit slower than the player and that looks cool
Comments 0
No comments yet. Be the first!
Sign in to join the conversation.