Log In  

Cart #shootybird-0 | 2020-06-11 | Code ▽ | Embed ▽ | No License
8

Made as the final project of CS50x.

Shooty Bird borrows the controls of Flappy Bird and add the ability to shoot a projectile every time the player "jumps". Waves of ennemies are coming from the right side of the screen and your goal is to get the highest score as possible.

This game was more than anything a good first step in learning pico-8.

P#77957 2020-06-11 20:34

As you said, a pretty good first step in Pico-8 :) It has a nice flow to it.

You don't die if you hit the enemies though. Could be a nice exercise and also a good way to add more difficulty.

P#77960 2020-06-11 21:25

Thank you for your feedback ! :)
This is a good idea, right now, enemies only make you lose the game by reaching the left side of the screen

P#77963 2020-06-11 21:35
2

No problem!

I use this collision function from OSMStudios all the time. Real simple, real helpful.

function ccol(x1,y1,w1,h1,x2,y2,w2,h2)
  return x1 < x2+w2 and
         x2 < x1+w1 and
         y1 < y2+h2 and
         y2 < y1+h1
end

Good way to make your game check every bird to see if it hit the player, and if it did, just go to the game over screen.

Hope it helps you as well!

P#77964 2020-06-11 23:35

This function would have probably been a better way to handle collisions for the bullets and the enemies too haha
Thank you for sharing it !

P#78003 2020-06-12 19:14

Graphic style is good but really loosing if a single enemy reaches the left side is too much (given the total lack of aiming precision!).

P#78035 2020-06-13 16:14

@Serendipity oh yeah, I use it for checking bullet collision as well! It's really versatile.

And I agree with @freds72 , it is a little too much losing that way. Maybe it would be better if it just lowered your score by 10 points or something like that.

P#78040 2020-06-13 18:08

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2022-05-21 21:37:46 | 0.024s | Q:21