I decided to arrange such a test, since today I slightly changed some of the tank movement functions.
And I also removed old unused code
I decided to arrange such a test, since today I slightly changed some of the tank movement functions.
And I also removed old unused code
I improved my old tank control code. It used to be 400+ lines, but now it's only 66. Only 66, Carl!
This is very cool, but while I was rewriting my code, many bugs appeared, for example, when I clicked on WASD, I controlled all the tanks at once (GIF)
I am developing my own game engine. Currently, I am adding a graphical user interface. Later, I plan to create games and applications using this engine. The screenshot shows two buttons and a text input field with their colliders (red rectangles)
Our 2024 Advent Calendar has opened! Day 28: @Silentfaith is a great Creator and comic artist who also codes fan games! Accept the quest and give them a follow to get Coins and a seasonal sticker!
#MinecraftMemory The last 5 seconds of my life
Happy #WIPWednesday!
Are you working on a game?
Making some art?
Practicing a song?
Something else?
Tell us in the comments!
I added a new type of tank to the game - self-propelled artillery. It does not have a turret and the rotation angle of the barrel is limited. It deals more damage per shot, but has low speed.
I also improved some parts of the game (see article)
Now the tank turret rotates realistically - at different speeds, depending on the movement of the tank. I tried to do this before, but it turned out very poorly and strange things happened
(Tank turning speed increased by ~4 times)
Our 2024 Advent Calendar has opened! Day 29: @Dungeonation is a great Creator who draws cartoons and dabbles in making games! Accept the quest and give them a follow to get Coins and a seasonal sticker!
Previously, bullets could ricochet an infinite number of times and it looked very strange, but now I have limited the number of ricochets and it looks more realistic
0 comments