Python Game Programming Tutorial: SpaceWar 9

preview_player
Показать описание
NEED HELP?

❤️❤️ SHOW SOME LOVE AND SUPPORT THE CHANNEL ❤️❤️

Click Join and Become a Channel Member Today!
Channel members can get preferential comment replies, early access to new content, members only live streams, and access to my private Discord.

Amazon Affiliate Links

Other Affiliate Links

LINKS

LEARN MORE PYTHON

LEARN MORE JAVA

#Python #Tutorial #Beginner
Рекомендации по теме
Комментарии
Автор

can you make a save files pls like my high score is 100 so it's save it in file and if i close and open agin i still have 100 high score

shlomibenbaron
Автор

Hi, I made a little spaceship looking shape from scratch that rotates properly in the turtle environment :D
screen = turtle.Screen()
screen.register_shape("ship", ((-4, 0), (-8, 4), (-8, 8), (-4, 4), (0, 16), (4, 4), (8, 8), (8, 4), (4, 0), (0, 0)))

So to use it you can just call on the shape "ship".

ae
Автор

Hi there really enjoying your videos. So clear and concise. I was wondering though how you got your image into your project. I'm on windows pycharm and using a JPEG file. Also a beginner so any help would be much appreciated thanks

nklandon
Автор

I saved videos I'm defentky going to try to code this over holiday

justme
Автор

import turtle

# creating the screen
wn = turtle.Screen()
wn.title("Alien Hunter")
# set the size of the screen
wn.setup(width=800, height=600)
# change the background color
wn.bgcolor("black")
#change the background image
wn.bgpic("game.gif")


on using this code i am not able to get background image, even my images are in same folder of in which the code is placed

krishnasudan
Автор

Hi, I don't know why but when I shoot or explode, the sounds start late and it doesn't sound good, can you help me?

KERDYftVADOR
Автор

So for some reason I can't see TokyoEdTech's comments/replies to other users, which is a bummer since some people are asking great questions. I know this is not a Python issue but... anyone else have this problem or know how to fix it?

dannordquist
Автор

How can you resize the background? I want to make it larger.

franke
Автор

bro the turtle.bgpic dosen't show up and destroying the screen


self.tk.call(('image', 'create', imgtype, name, ) + options)
_tkinter.TclError: couldn't recognize data in image file "starfiled.gif"

shlomibenbaron
Автор

how do you add sprites to the characters

alec
Автор

Please could you send a github link to the code for space war and the images and sounds
Thanks in advance

shaunsony
Автор

I have the image in the same folder as the code but it still is unable to locate the gif file. Help please

coleyarbrough
Автор

For some reason, the image is black and white. Can you help with that.

legendboss
visit shbcf.ru