+ 1

Python

Please how to make a game with python

9th Jul 2024, 2:15 AM
Godwin€ws„
Godwin€ws„ - avatar
12 Answers
+ 3
You could start basic and search on the web on how to make tic tac toe & then you will get the hang of the syntax. I coded a game with Python when I was 13. You could start by learning the basics of tic-tac-toe from the web, and then you'll grasp the syntax. I created a Python game when I was 13.
11th Jul 2024, 6:52 PM
CodingMaster
CodingMaster - avatar
+ 8
Trust me, if you don’t want to work, and you just want to play video games, you’d probably not enjoy writing them. It’s a ton of effort, and it’s nothing like playing them. It isn’t pulling a free game out of your butt every few days.
9th Jul 2024, 3:37 AM
Wilbur Jaywright
Wilbur Jaywright - avatar
9th Jul 2024, 6:58 AM
Tibor Santa
Tibor Santa - avatar
+ 7
https://www.sololearn.com/Discuss/1667039/?ref=app
9th Jul 2024, 4:31 PM
R🍁🇼🇳
R🍁🇼🇳 - avatar
+ 5
"Trust me, if you don’t like work, and you want to play video games, you will hate writing them." This is brilliant! 😄😄😄 Although it must be said that sometimes doing something you really enjoy is nothing like work... I'm programming games and find it a different kind of entertainment (but still a kind of entertainment) than playing a game, but less than the feeling of it being "a job".
9th Jul 2024, 1:35 PM
Ausgrindtube
Ausgrindtube - avatar
+ 3
Learn the fundamental first and then I libraries like pygames
9th Jul 2024, 3:35 AM
Sreeju
Sreeju - avatar
+ 3
It’s a bit risky to pick your tool before you pick your project, and the recommendation I’ve heard is, figure out what kind of game you want to make and how it will work, then pick an engine that can do those things. If no engine exists that can do those things, only then should you write one in the language you prefer. As for writing a game in Python, there are two libraries I know of that can make a window and draw basically anything to it quickly: PyGame, and PyGlet. I learned with PyGame. The principle is fairly simple: Create a window display, then every frame you draw stuff to it and call its update method. You can “blit” images or text renders on the display in any position, and draw vector graphics. There’s a subconponent of PyGame for handling “sprites” (a single 2D “object” on screen), but I never learned about it. I actually used the Livewires game engine for my bigger projects involving multiple sprites, which is less popular but potentially more intuitive than raw PyGame.
9th Jul 2024, 1:43 PM
Wilbur Jaywright
Wilbur Jaywright - avatar
+ 2
Godwin€ws„ Listen to Wilbur Jaywright , definetly a good answer
9th Jul 2024, 7:28 AM
[Astro E] 王李
[Astro E] 王李 - avatar
+ 2
Thanks everyone
10th Jul 2024, 6:49 AM
Godwin€ws„
Godwin€ws„ - avatar
+ 2
Radmehr Afrouz do not piggy back on someone else’s question post, it actually means you get less visibility. Make your own post for every question.
10th Jul 2024, 2:04 PM
Wilbur Jaywright
Wilbur Jaywright - avatar
+ 1
Thanks everyone ok I here your all
9th Jul 2024, 9:12 PM
Godwin€ws„
Godwin€ws„ - avatar
0
Hay there I wanna write app in opening external file in my desktop Only if you enter an special website insid your brower Can you help me
10th Jul 2024, 1:41 PM
Radmehr Afrouz
Radmehr Afrouz - avatar