2020-05-19 updates
Bona Fighter 2020 » Devlog
After each +10000 score player gains another bullet.
For getting the starting points of bullets i used this algorithm:
https://stackoverflow.com/questions/3542402/partition-line-into-equal-parts
Which divides line into equal parts based on a weighted average of starting points.
var A = position.y - y/2-3;
var B = position.y + y/2+3;
for i in range(num_bullets):
var k = float(i)/float(num_bullets-1)
bullet_position = position
bullet_position.y = A*(1.0-k)+B*k
add_bullet(bullet_position)
'num_bullets' starts at 1.
'y' is the size of rectangle of the Player ships sprite texture in the respective scene.
+/- 3 is a magic number:)
Files
bona_fighter_2020.zip Play in browser
May 19, 2020
Bona Fighter 2020
Simple space shooter game made in godot. I will update the game as I make it.
Status | In development |
Author | xSakix |
Genre | Shooter |
Tags | 2D, bonafighter, Pixel Art, Singleplayer, spaceshooter |
More posts
- 2020-06-07Jun 07, 2020
- 2020-06-03 updatesJun 03, 2020
- 2020-06-02 updateJun 02, 2020
- 2020-05-31 updatesMay 31, 2020
- 2020-05-26 updatesMay 26, 2020
- 2020-05-22 updatesMay 22, 2020
- 2020-05-20 updatesMay 20, 2020
- 2020-05-18 updateMay 18, 2020
- 2020-05-17 updatesMay 17, 2020
Leave a comment
Log in with itch.io to leave a comment.