Tumgik
#vertical scrolling
Text
python a vertical scrolling arcade style shooting game
import pygame import random import time # https://pythonprogrammingsnippets.tumblr.com # Define some colors WHITE = (255, 255, 255) BLACK = (0, 0, 0) RED = (255, 0, 0) GREEN = (0, 255, 0) BLUE = (0, 0, 255) # Set the width and height of the screen [width, height] SCREEN_WIDTH = 800 SCREEN_HEIGHT = 600 screen = pygame.display.set_mode((SCREEN_WIDTH, SCREEN_HEIGHT)) # Set the title of the window pygame.display.set_caption("Raiden-like game") # Define the player's plane player_width = 50 player_height = 50 player_x = (SCREEN_WIDTH - player_width) / 2 player_y = SCREEN_HEIGHT - player_height player_speed = 5 # Define the bullet's size and speed bullet_width = 5 bullet_height = 10 bullet_speed = 10 # Define the enemy's size and speed enemy_width = 50 enemy_height = 50 enemy_speed = 2 # Create a list to hold the bullets bullet_list = [] # Create a list to hold the enemies enemy_list = [] # Create a clock to control the frame rate clock = pygame.time.Clock() # Function to create a new enemy at random intervals def create_enemy(): if random.randint(0, 100) 0: player_x -= player_speed if keys[pygame.K_d] and player_x 0: player_y -= player_speed if keys[pygame.K_s] and player_y = player_y and enemy[0] + enemy_width >= player_x and enemy[0] = enemy[0] and bullet[0] SCREEN_HEIGHT: enemy_list.remove(enemy) # Function to draw the score def draw_score(): pass # Function to draw the game over message def draw_game_over(): # switch background to red screen.fill(RED) # update canvas pygame.display.update() # draw game over message # wait a few seconds time.sleep(3) # quit pygame and program pygame.quit() quit() # Loop until the user clicks the close button. done = False # Used to manage how fast the screen updates clock = pygame.time.Clock() # -- main game loop -- running = True while not done: # --- Main event loop for event in pygame.event.get(): # User did something if event.type == pygame.QUIT: # If user clicked close done = True # Flag that we are done so we exit this loop elif event.type == pygame.KEYDOWN: if event.key == pygame.K_SPACE: bullet_x = player_x + player_width / 2 - bullet_width / 2 bullet_y = player_y - bullet_height bullet_list.append([bullet_x, bullet_y]) # --- Game logic should go here create_enemy() keys = pygame.key.get_pressed() move_player(keys) move_bullets() move_enemies() check_collisions() remove_offscreen() # --- Drawing code should go here # First, clear the screen to white. Don't put other drawing commands # above this, or they will be erased with this command. screen.fill(WHITE) # Draw the player's plane draw_player() # Draw the bullets draw_bullets() # Draw the enemies draw_enemies() # Draw the score draw_score() # Check if the game is over if not running: draw_game_over() # --- Go ahead and update the screen with what we've drawn. pygame.display.flip() # --- Limit to 60 frames per second clock.tick(60) # Close the window and quit. pygame.quit()
0 notes
tonylongworth · 2 years
Link
Xenon 2: Megablast (Atari ST) - ALL LIVES LOST ...  Before my sit-down with the Fulton brothers for our Atari ST Rocks series chatting about this classic Bitmap Brothers game, I had to get some serious gameplay in. Here's me attempting to get as far as possible and score as many points in Xenon 2: Megablast but not really doing as well as I hoped I would. Jeez, this is one tough blaster - it's a good game, but really, really difficult.
0 notes
t00thpasteface · 2 years
Text
"SANGUINE THROWBACK"
Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media Tumblr media
i have no excuse for this (ಥ _ ಥ) behold, and enjoy, my silliest and most self-indulgient marcien creation yet...
2K notes · View notes
void-inked-pen · 17 days
Text
Personal opinion on webtoons and vertical scroll format:
It sucks.
Not just from a personal preference standpoint but also from a creative standpoint.
I’ve seen many creators who work on webtoons originals comment on how they miss doing regular comic page formatting and I honestly think the vertical scroll CAN be used creatively… artists just don’t have the time to do it.
They expect 70+ panels every update (which is ridiculous btw, at most 1 standard page comic would have 10 panels at most to give you an idea, so basically webtoons is asking for 7+ pages per update which is insane) which can be stressful but they also expect you to somehow do that many panels in a week!
When I see people complain about the background art in some of these comics I IMMEDIATELY come to their defense because would YOU honestly be able to draw over 70+ backgrounds in that time? The story is more important at that point! So I really don’t care.
Not to mention that workload is KILLER on an artists drive, motivation, and overall health (mental and physical) I don’t see how any of that is okay.
Regular comic artists who don’t use the webtoons format have expressed their own problems with all these issues and they make a single page a week!
Unfortunately, the draw back from doing a regular page a week means less exposure to an audience so there is a draw back but this consumer mentality when it comes to comics is disheartening.
Idk what or where I will be posting my comics in the future (maybe tapas? They allow regular page formats I think) but I don’t intend to bend to the webtoons gods will on this matter either if it means I can finish a story reasonably with my squirrel brain.
So ye… rant over I guess
146 notes · View notes
one-bunny-a-day · 6 months
Text
Tumblr media
15/11/2023
wadda hell
99 notes · View notes
ot3 · 5 months
Text
making comics be in webtoon format is the compositional equivalent to corsetry that distorts one's organs
64 notes · View notes
spaciebabie · 11 months
Text
please dont use tumblr the way you would use twitter god im begging
189 notes · View notes
devilrose · 2 months
Text
Elder Scrolls people, enjoy my newest Oblivion character.
Tumblr media
Oblivion can be a comedy if you want.
43 notes · View notes
Text
Tumblr media
Dragonborn, saving the town and still being unappreciated.
And Nerevarine be like:
Tumblr media
I like how the citizen of Vvardengell doesn't care about me waving my knife around. I don't think I have ever sheath my weapon in game.
Tumblr media
SUS
370 notes · View notes
essenceofarda · 2 years
Text
Tumblr media
Romance in Rivendell - Part 4.6
Masterlist of Pages (tumblr) | or Read on Tapas
“…and it was then that Elrond first saw Celebrían, and loved her, though he said nothing of it.” - History of Galadriel and Celeborn.
186 notes · View notes
futureagents · 11 months
Photo
Tumblr media
🌐 New Future Agents Webcomic Out Now! 🌐
How is Maddie's first day going? Will she be able to fit in with the other employees? 
Read now on Webtoon Canvas and Tapas
17 notes · View notes
keeps-ache · 8 months
Text
found a scorpion walking down my arm the other day like nobody's business and now i'm scared of every brush of air on my neck fhvshfvh
6 notes · View notes
matineemonsters · 2 months
Text
Tumblr media
It's my 13 year anniversary on Tumblr 🥳
I started this in tenth grade when I was sad and lonely and only cared about MCR, memes, and cats, and now I'm almost 30, married, and still only care about MCR, memes, and cats
4 notes · View notes
alarrytale · 4 months
Note
Hello Marte! As a newbie digging up everything about larry, can I have a few questions?
What is your opinion about the Piece ring? What I understood larries basically say it´s a kind of an engagement ring and there´s no doubt H got it for Louis.
Another H´s accessory - the cross necklace. Read theory that it´s a symbol for LT. Do you believe in it? Like it kind of makes sense because H also has a cross tattoo on his hand (on the exact spot as Louis has his E tattoo which is meant as the stunt tattoo but read somewhere it could also stand for Edward aka H´s middle name
Just now I saw one series of photos from 1D meets and greets and in all of them is H kissing the fan holding her in his arms or having his arms around her. Do you need he was too kind to say no to this request or why the hell was he posing like this if we believe he´s gay and pda with women just gives him ick? And in front of his bf who was usually very jealous and he had to have a poker face like nothings happening....
One time H caused a mess on twitter because he liked some het porn post and fans immediately went like it´s a proof about his sexuality. Also read that he liked in in the middle of the night and after few hours he unliked it. What´s your opinion?
Hi, anon!
Of course, you can have as many questions as you like!
Yes, some fans believe the peace ring to mean something special, since it's the only one he's worn regularly over several years. I don't know if i believe it's an engagement ring or a promise ring. It might be a gift from Louis. If it's just a ring, they both know what the fandom thinks of it, and how much attention it gets when he wears it. He's continued to wear it to this day. I tend to think it's H signaling to us larries.
The cross necklace i don't remember. Wasn't it gifted to him by Gemma who got it from their grandma or something? Or did she buy it? I can't remember the details. Either it an heirloom or it's Gemma who bought it, or it's just a fashion piece. He's not religious, so i think it's sentimental (family). It doubles as an LT sybol, but i don't think that's the main reason he wears it.
I'm not sure which particular m&g you're referring to. I don't think H is scared of cooties or anything. He's just uncomfortable when females show obvious attraction and he has to show affection back, like hug or kiss them. He doesn’t want them to think their attraction is reciprocated or for them to mistake his show of affection for attraction. 1d was usually very silly behaving during the m&gs and H has no problem being affectionate with girls/women when he gets the right vibes from you. Louis is just the same. H is still gay and not attracted to women.
Harry_Styles did like a nsfw post on twitter. I don't think it was an accident at all. It was up for hours and hours and people notified 1d's team about it to make them take it down. It was up hours after that. It played right into his womaniser image and it was clearly to enforce an image. He tweeted "Sooo....the weather?" right after, making him sound guilty. There were also loads of "hacking" at the time, which were in line with his image, so i think it was an attempt from hq to fool people into believing he's into women. It was done on purpose.
2 notes · View notes
haliaiii · 4 months
Text
Ok quick question, should I start posting the first couple strips of the pilot chapter for my comic now and continue posting the rest of the strips as I complete them or wait till it’s all done and post the full thing?
5 notes · View notes
fruitsclipper · 9 months
Text
woaa iidx13 came out on my little brothers exact birthday wtf
4 notes · View notes