Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

darkbard

Building a commercial-like game using only python

This topic is 5302 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi guys. Do you think I can build a commercial game using only python as porgramming language?? It could be too slow?? tnx

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
You could also probably write any turn based game you felt like

Share this post


Link to post
Share on other sites
Uh hum... does python have graphics support? The only text-based games that I know of that will sell now-a-days are hacking games.

Share this post


Link to post
Share on other sites
Well, you are thinking in the right direction. You don''t have to use just C to write your games. In fact, the Unix philosophy is set against this. That''s how Python and numerous other scripting languages were born!

I would write the executable in C. Period. This is the program that loads up the scripts and data. Then it tells Python (the interpreter) to "do that voodoo that you do (to my scripts)."

Any process that''s very "heavy" (graphics, streaming, process control...) should not be written in Python in the final build. Those need to be hard-coded. (And the Unix philosophy also encourages you to use existing libraries of satisfying quality, but do help other dev''ers where you can.)

Use python for other things, especially things in your game. That way, game objects can be represented by scripts that are turned on and off.

Golden Rule: Use common sense.



==================
Benjamin Heath
==================

Share this post


Link to post
Share on other sites
quote:
Do you think I can build a commercial game using only python as porgramming language?? It could be too slow??


It depends on what you mean by commercial. If you mean Quake 4, then no. But you can write smaller games that run fine written in Python using Pygame (http://pygame.org/)



quote:
Original post by dist0rted
Uh hum... does python have graphics support? The only text-based games that I know of that will sell now-a-days are hacking games.


Yes. http://pygame.org/

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!