• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.
Sign in to follow this  
Followers 0
daedalus316

Python as a game programming language

9 posts in this topic

I was just wondering, how effective is python as a game programming language? I personally love the simplicity of python, and it's user friendliness. I have also experimented in pygame and pyglet. They both seem very effective but as I haven't used any other 2d libraries I don't really know how python and these libraries compare to others. Basically I want to know wether to make a simple 2d game such as a asteroids and then maybe a top down dungeon game, python is efficient?
0

Share this post


Link to post
Share on other sites
Python should be more than enough for games. I guess the most convincing example is EVE Online which is an MMO written in Python. Personally I'm not a fan of Python syntax, but that may be because I'm more used to seeing brackets and semi-colons that I don't feel too comfortable leaving them behind XD For the games you're planning, Python can do.
0

Share this post


Link to post
Share on other sites
Thanks, I took a look at your blog swiftcoder and was surprised and amused to see that i had already visited it in search of python game help. Do you know of any additional libraries that might be useful for game design in python and also do you know any good pyglet tutorials. Are you sure pyglet is not under active development because if it is i would probably be better of sticking with pygame wouldn't i? As for large scale games, is python a viable option?
0

Share this post


Link to post
Share on other sites
[quote name='boogyman19946' timestamp='1327157243' post='4904823']
Python should be more than enough for games. I guess the most convincing example is EVE Online which is an MMO written in Python.
[/quote]

Actually only UI and small bits are. However UI is extremely slow.
-2

Share this post


Link to post
Share on other sites
[quote name='Ripiz' timestamp='1327167174' post='4904878']
Actually only UI and small bits are. However UI is extremely slow.[/quote]
"Python enabled us to create EVE Online, a massive multiplayer game, in record time. The EVE Online server cluster runs over 50,000 simultaneous players in a shared space simulation, most of which is created in Python." -- Hilmar Veigar Petursson, of [url="http://www.ccpgames.com/en/home"]CCP Games[/url].

Please do your research before making sweeping statements...
2

Share this post


Link to post
Share on other sites
[quote name='swiftcoder' timestamp='1327185825' post='4904954']
[quote name='Ripiz' timestamp='1327167174' post='4904878']
Actually only UI and small bits are. However UI is extremely slow.[/quote]
"Python enabled us to create EVE Online, a massive multiplayer game, in record time. The EVE Online server cluster runs over 50,000 simultaneous players in a shared space simulation, most of which is created in Python." -- Hilmar Veigar Petursson, of [url="http://www.ccpgames.com/en/home"]CCP Games[/url].

Please do your research before making sweeping statements...
[/quote]

It's worth pointing out here that while large quantities of EVE may have been developed in Python it is definitely not all in Python, and the version of Python used is not your standard CPython due to the problem I outline below. If you're interested, have a read of [url="http://www.eveonline.com/devblog.asp?a=blog&bid=786"]http://www.eveonline.com/devblog.asp?a=blog&bid=786[/url].

Python's biggest problem going forward using modern hardware is the Global Interpreter Lock, which means that Python effectively forces you to be single-threaded unless you use the multiprocessing package, which can make life a lot more complicated. This is more of an issue for games like EVE where you're trying to eke every last bit of performance out of the hardware. For basic game development like what you're talking about Python should be absolutely fine assuming a PC that's not ancient.
2

Share this post


Link to post
Share on other sites
[quote name='daedalus316' timestamp='1327145987' post='4904804']
Basically I want to know wether to make a simple 2d game such as a asteroids and then maybe a top down dungeon game, python is efficient?
[/quote] It's fast enough using just Pygame for this. It was fast enough years ago when I first did it [img]http://public.gamedev.net//public/style_emoticons/default/mellow.png[/img]
[b] [url="http://www.gamedev.net/topic/444490-pygame-easy-as-py"]Pygame easy as Py [/url][/b]
0

Share this post


Link to post
Share on other sites
Ok I checked out your tutorial and they seem pretty good. Only thing that could be better is using code block(don't know if thats what it's called) and breaking up the code so it's easier to understand.
0

Share this post


Link to post
Share on other sites
Also has anyone used PGU or Directicus in that past? If you have are they worth using and do you have any good tutorials. ASLo are then any other libraries that extend pygame?
0

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0