Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-4041-

How do I learn to make a game in Python?

Name: Anonymous 2012-08-02 6:16

Tell me guys. I have no programming experience in any language. I want a good way to learn Python.

Name: Anonymous 2012-08-02 6:44

Name: Anonymous 2012-08-02 7:02

>>2
Which ones are good on there?

Name: Anonymous 2012-08-02 7:15

Name: Anonymous 2012-08-02 7:21

If you're getting into programming solely for video games, you're setting yourself up for failure. It's not all fun and games. You'll have to learn logic and math and all sorts of dry topics which a "gamer" wouldn't enjoy. Just go back to the imageboards, play your video games, post your "memes", and forget about programming for good.

Name: Anonymous 2012-08-02 7:23

>>5
Not solely for video games, but they are a topic I would like to branch out to.

Name: Anonymous 2012-08-02 10:12

>>5
Logic, math, and design are the opposite of dry for me, I enjoy designing and coding a game 100x more than ever playing them.

Name: >>7 2012-08-02 10:14

Sorry what I meant was
ON MOTHERFUCKING WORD NIGGER: /THE FORCED NIGGERDENTATION OF THE FUCKING NIGGERCOE/ THREAD THE FUCK OVER NIGGER.

Name: Anonymous 2012-08-06 12:31

Python is one of the worst languages to code a game in.

Name: Anonymous 2012-08-06 13:29

games
Grow up, kid. There are maybe 1000 jobs in that field, with a billion lardos like you trying to get them. Do something useful.

Name: Anonymous 2012-08-06 17:02

>>10
Games are an excellent vehicle to practise and develop programming skills. It's not necessary to enter the game development field with such skills, it's transferable to other programming work.

Name: Anonymous 2012-08-06 17:41

>>11
nice dubz

Name: Anonymous 2012-08-06 17:53

>>10
Say that to the asians with their mountains of remixed MMO games.

Name: Anonymous 2012-08-06 20:06

Ignore all these faggots trying to stop you from following your dreams just because they failed theirs, or whatever. Realistically you aren't going to get a job in game development, especially not using Python (it is used for scripting and RAD tools (like map editors and such), but you wouldn't write a game engine in it). That doesn't mean it's impossible, and even if you do fail, you could well find yourself in a different field that you might even like more.

If you want to learn game development with Python, though, you can, and a lot of the things you learn will be applicable to other languages which are more commonly used in game development (primarily C++ in the industry, although casual games often use Flash or Java, and The Sims 3 even used C# (partly)).

So, start with Python and PyGame, make some simple games, whatever. Python's not a good language for games, mostly because of performance reasons, but you can do smallish games in it. If you want to do 3D and particle effects and stuff like that, you'll want to learn C++ (you can use SFML, it's pretty good). I'd start with Python and move on to C++ as you gain experience. Especially if you want to make more complex games with proper maps and stuff like that. Python won't be good for that, it's too slow. It's fine for 2D games and sidescrollers, though.

Oh, and, don't bother with text-based RPGs unless you actually want to make one (i.e., don't do it just because you think it's easier). What you learn there doesn't really transfer to graphical games, they aren't as fun to make or play (unless you're into that sort of thing), and they aren't as easy as you might think (dealing with natural languages is hard, especially if you plan to make it multilingua).

Name: Anonymous 2012-08-06 20:22

>>1-14
/backplate getgoes/

Name: Anonymous 2012-08-06 20:41

>>14
LOL

You don't want to make a 3D game engine in Python, surely. But you don't need to write an new engine for every game you'll work on anyway. Just use something already working like Source/Havok, UDK, Unity, Torque, Panda, etc...

Name: Anonymous 2012-08-06 20:47

>>16
>cloosed source shit
no thanks go viral somewhere else pls

Name: Anonymous 2012-08-06 23:43

Doom3 is GPL'ed.

Name: Anonymous 2012-08-07 0:14

>>1
okay op, let's go over something:

are you retarded? seriously, what do you have open right now, right this minute? i'll give you a minute...

... give up? it's called a web browser. that right there is the future of everything that will be done on a computer. i'm about to  tell you something that has been guarded for several generations, a power so great that one day you will be sending be blowjobs by email because you have been enlightened

Javascript

let's say that again: Javascript

this is the last thing you will ever need to learn. by 2015, Javascript will drive your game. it will drive your operating system. it will drive your hardware. it will drive your life

Javascript has innovated the programming world with unheard of features like closures, callbacks, and node.js. it has the fastest language implementation ever designed, readily kicking C right in its undefined nutsack.

use it. live it. love it.

Name: Anonymous 2012-08-07 0:17

No.

Name: Anonymous 2012-08-07 0:20

>>19
As much as I like Javascript, it's not suited for vidio games. But games are for children anyway, not for adults.

Name: Anonymous 2012-08-07 0:23

>>19
Actually I was reading this thread off a text-only progscrape UI.  Your argument is invalid.

Name: Anonymous 2012-08-07 0:25

>>22
Yeah, but normal people don't do that.

Name: Anonymous 2012-08-07 0:40

>>23
Normality is subjective, thus irrelevant.

Name: Anonymous 2012-08-07 1:31

Javascript is a terrible language. If it ain't Lisp, it's crap.

Name: Anonymous 2012-08-07 1:38

>>25
If it ain't shit, it's crap.

Name: Anonymous 2012-08-07 1:41

if it's shit, it's gc

Name: Anonymous 2012-08-07 2:08

>>27
Sepples is shit but isn't gc.  Therefore your wrong bitch.

Name: Anonymous 2012-08-07 10:34

>>16
I wasn't suggesting he write a fully-fledged 3D game engine himself... just that if he wants to do anything in 3D, Python won't be suitable.

Name: Anonymous 2012-08-07 10:49

>>28
Lisp is shit.
Thus, sepples is crap.

Name: Anonymous 2012-08-07 12:38

Sup. You should use pygame (like, pygame.org or something?). This'll let you draw windows, blit images, and accept input.

It's not the highest level library, but it puts you at a good place to learn about games programming with the right amount of abstraction. You might have a little trouble at first, but there's good documentation on the website.

Name: Anonymous 2012-08-07 13:28

Doing anything in 2D at this day and age is idiotic and a majestic waste of time and often gives out a poorer result. Many game types didn't switch to 3D because it was so cool, but because it improved their dev-times, animating a 3d model is much easier than hand-drawing bitmap animation - and if you don't have stellar artists for the latter with high res, it's going to look worse on top too.

Python is thus a tremendous failure even if you want to do a railroaded pygame tutorial game. Get a free game engine and work on that.

Name: Anonymous 2012-08-07 16:26

>>32
Check the dubs, king of trolling.

Name: Anonymous 2012-08-07 16:51

>>32
How the fuck is 3D more efficient for a purely 2D game like a roguelike or a puzzle game?

Go ``deploy" a chess game in Ruby on Rails, ``faggot". Don't forget the Share on le Reddit button

Name: Anonymous 2012-08-07 17:05

Why would you use anything other than LISP for ANYTHING?

Name: Anonymous 2012-08-07 17:12

>>34
It's not about 3D versus 2D but stateful canvasses running on the GPU with hardware-accelerated rasterisation (e.g. OpenGL) versus CPU-side drawing.

>>35
C and C++ are horrible languages but they're better than Lisp for some purposes such as writing the core of a game engine. Assembly is another option.

Name: Anonymous 2012-08-07 18:14

>>36
better
No.

Assembly is another option.
Any other language too.

Name: Anonymous 2012-08-08 2:43

>>36
>there will never be a gpu-accelerated 2d-version of Gamemaker, SDL, Flash, etc

Name: Anonymous 2012-08-09 7:17

pySFML is a good library, and you can move on to the C/C++ version if Python isn't meeting your needs.

Name: Anonymous 2012-08-09 7:28

>>39
Cancel that, if you use the Cython binding performance probably won't be issue enough to need to switch.

Name: Anonymous 2012-08-09 7:35

But why would you want to harm yourself with Python in the first place? Implicit declarations are masochism.

Name: Anonymous 2012-08-09 7:49

Go would be a good language to program a game in if there were any libraries at all

Name: Anonymous 2012-08-09 11:44

>>36
yeah because it's impossible to do orthographic projection in gl or dx

Name: 36 2012-08-09 11:50

>>43
Of course it is possible. I merely misunderstood what >>32-san had said.

Name: Anonymous 2012-08-09 19:22

And that's why doing 2D anime nowadays is idiotic, 3D is much easier.
Oh wait

Name: Anonymous 2012-08-09 23:51

Creating games isn't a particularly good way to learn programming and programming isn't a particularly important part of creating (most) games.

Name: Anonymous 2012-08-10 1:12

>>46
Event-driven games such as board games are an interesting experience for learning.

Name: Anonymous 2012-08-10 3:40

>>46
A good way to learn how to program is to work on something that you are interested in and is just beyond your current ability. Games are as complex as you are willing to push them, so I'd say it's a good choice if you are interested in creating them.

Name: Anonymous 2012-08-10 14:04

>>48
A better way to learn how to program is to take an algorithms course.

Name: Anonymous 2012-08-10 18:51

downgoating this thread

Don't change these.
Name: Email:
Entire Thread Thread List