Move the helicopter around with the arrow keys. Try to beat all of the 3 levels. Click the screen to start. Use the following link to play it in a larger window. https://repl.it/@RhinoRunner/The-Helicopter-Game?lite=1&outputonly=1
Why is the government hunting me down with missiles and all that anyway? @RhinoRunner lol
@LTI2 you stole some canned beanos from them.
@RhinoRunner what i hate beans but i do remember stealing their burritos, and farted a lot
@LTI2 not beans, beanos. Look up "beanos"
@RhinoRunner beanos are drug beans
@LTI2 No no no this is beanos
@RhinoRunner oh sorry not drug beans, beans on drugs
@RhinoRunner also stole their beano and beans
What's with all of the <Event(number-eventname dict)>
? Is it for debugging?
@RahulChoubey1 where do you see that?
@RhinoRunner In this view on the bottom right
Or in a hyperlink: https://The-Helicopter-Game.rhinorunner.repl.run
@RahulChoubey1 That is the event of the mouse moving. pygame for some reason prints it. (or I cannot find the code that prints it)#
EDIT:
@RahulChoubey1 by using print(event)
I can tell what is happening, such as when an enemy spawns it will print "<Event(25-UserEvent {'code': 0})>". It is mostly just for when I'm making the game I'll know if something is wrong.
@RhinoRunner So it is for debugging.
@RhinoRunner, I learned that today. I made a snake game.
Fun game, but I suggest you add more realistic details like when the helicopter hits something it gets damaged. You should also add different maps.
@NisheshBasam Technically, the different maps are just the background color changing.
Is there a way to shoot at the enemies?
@noordabe I wish.
@NisheshBasam Nonetheless, can you give me a quick rundown on all of the other controls?
@noordabe, If you press enter, the game will start and you can just use the arrows to control the helicopter
@NisheshBasam Got it, thanks.
@NisheshBasam Actually you press the screen to play. Enter does nothing.
@RhinoRunner For me it works if I press enter so it might just depend on what device you're on.
Maybe make an explosion when you get hit and maybe different types of explosions for a different type of weapon/missile/bomb
cool!
Really Cool!
With a little more work, this could be awesome!
Great Job!
This Is Awesome!
Nice!
this is fun.
Actually, this is quite impressive.
Very cool
cool nice!
ay man i think you got the wrong beat
@DanielGreynold1 wdym ohh the beanos song lol
@DanielGreynold1 wow this post is dead
@RhinoRunner What the-!
Ay man, I think you got the wrong beat (No I don't)
So you sampled the song from SpongeBob? (Sure did!)
Hey (hey hey)
Oh (oh oh oh)
Ok ok I'm wit it now
Yeah, yeah
[Verse]
I gotta count up, count up, count up, count up
These racks I made today
If you ain't talking 'bout money man get out my damn face
I got cash, cash, cash means money to my bank
If you ain't gonna dance for cash lil' mama then you will not get paid
I'm gon' blow ten grand, these bands gon' make her dance
Runnin' runnin' runnin' runnin' to the money like I'm Spongebob
Just like he know the Krabby Patty formula I just be cookin' up straight bars
Then dig cash like I'm Mr. Krabs
I might just drive by the bank tomorrow
Do I go dumb I go stupid don't know what I'm doin' I feel like I'm Patrick Star
That's that Migo's flow right there and nobody can hear me
But, back on topic, got the top down, lock it
Got a bad thang waiting on me (Yeah, yeah)
Start flexin' on the gram you ain't gang, yeah
I ain't wastin' yo time, baby, you gotta drop that line, baby
Get on yo grind, baby, that flexin' ain't gon' help, baby
Had to call you out, yo, I had to call you out, yo
I had to call you out, yo
[Outro]
Holy Tony gone (gone gone)
Oh!
@DanielGreynold1 beanos song is godly
I found a place where pretty much no planes and obstacles go
@jianglele the enemies spawn randomly across the right side of the screen. Chances are, you got lucky and very few enemies spawned in front of you.
@RhinoRunner you used "import random" right?
@jianglele yes. Specifically I used random.randint
@RhinoRunner i don't rly know the difference between pygame and python, I kjust started pygame and i don't know the difference
@jianglele pygame is just a module inside of python. Python is the actual coding language.
@jianglele use this if you need to learn Python -> https://www.w3schools.com/python/default.asp <-
@RhinoRunner Thank you
the further I got it got more laggy but besides that nice game
REALLY HARD
kinda like those space invaders tutorial except dif pictured and its along x axis but still good job!
It's kind of laggy. Try to stop the printing in the console, I think that will help
Stupid question: How do you code in one of those UIs? I would really like to learn that. Is it from the pygame library or something? If so how do I import it?
@noordabe just put in import pygame
to import it. This site helped a lot on understanding it -> https://pythonprogramming.net/pygame-python-3-part-1-intro/
@RhinoRunner Thank you!
@RhinoRunner cool but slightly laggy. great coding though!
Great game @RhinoRunner but you should add score and a leader board to make the game perfect.
@Leroy01010 yeah the hitbox can be weird sometimes.
You could make the screen go blank when the loser crashes and say 'Game Over' instead of 'You Died'. Also, add a nice background of clouds for your background.
@vismodo I will add something like that, thanks!
Hey @RhinoRunner, Well done - I think your game is great. How long did it take you to make it?
@rjlevy It took me about a week to make. I was still in the process of learning pygame and as I was I just kept on adding too it.
@RhinoRunner, nice job. I like the fact that you took the time to use some cool graphics.
When I tried to view it in a new window, following this link I got errors. Why don't you put this link in the description so people can enjoy the game in a larger window?
@rjlevy Thanks, will do!
how do we jone the zoom meting
@dog123456789 What zoom meeting?
Fun!, could use a few updates though.
@thewaydu what would you like me to add?
@RhinoRunner, its fun, but it displays a lot of error, and its a bit laggy, but other then that it is a great game.
@thewaydu yeah the errors are primarily because of something to do with the sound card, even though there is no sound.