Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 678995
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 14, 20262026-05-14T01:12:40+00:00 2026-05-14T01:12:40+00:00

Some friends and I wanted to develop a game. Any language will do. I’ve

  • 0

Some friends and I wanted to develop a game. Any language will do. I’ve been programming in C for years, but never wrote a game before. One of us knows SDL a little bit. It would also be a nice excuse to learn Python+pygame.

We wish our game to be ‘standalone’. By standalone, I mean most users (at least Linux, Mac and Windows) will not have to manually download and install anything else apart from a package. It is ok if the installation automatically handles missing dependencies. If the packages contain binaries, we wish to be able to generate them using cross-compilation from Linux.

How should we package and structure the project, and what language is best suited?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-14T01:12:41+00:00Added an answer on May 14, 2026 at 1:12 am

    If you haven’t programmed a game before, I’d recommend that you start with Python and Pygame. Python itself is very easy to learn if you’re already a programmer, so that won’t be too much of a leap for you.

    With Pygame, you spend almost no time writing “glue” or dealing with mundane low-level details like window management and sound setup – you’ll almost immediately be programming game logic and in no time you’ll be bliting left and right. What’s more, it’ll be very easy to get a prototype of your game running so you can start experimenting with the mechanics – I’ve programmed a simple little side-scrolling platformer in a matter of hours.

    Performance

    The performance of Python with Pygame is normally decent for simple games, though “smooth-scrolling” games can show poor performance, especially on Linux (in my experience, at least – pygame.display.update() literally took 15-30ms per frame on Linux, and 4-5 on Windows with cheapo Intel graphics, though this was two years ago and the Linux Intel driver has improved of late). In addition, if you have physics/math-heavy code Psyco can give you huge speedups (20% – 200% in some cases), though you’ll be limited to 32 bit Python on x86 computers.

    Once you get most of the game logic worked out, if performance is still unsatisfactory, you could switch to C and SDL. Since you’ve already written the game logic, you’ll just have to focus on dealing directly with SDL. Even that should be fairly easy – Pygame internally uses SDL, so the translation should be relatively straightforward.

    OpenGL

    Unfortunately, the above is only true if you’re writing a 2D game – Pygame gives you basically no help for OpenGL. However, I would not recommend starting game programming with OpenGL. It can be pretty difficult to understand at first, so you’d be presenting yourself with two problems at once – first, you’re trying to figure out how to get the game logic/physics/ai/etc. working, and then you’re struggling to understand OpenGL. It is worth it to learn OpenGL eventually, but not to start with – better to start with the basics and go from there.

    Cross-Platform Considerations

    As far as cross-platform concerns – py2exe (for Windows) and py2app (for Mac) allow you to build individual executable files that include your dependencies (including the Python interpreter and Pygame); however, I do not think you’d be able to build your executables from a Linux environment (you’d have to be able to borrow a Windows/Mac computer for a few minutes, probably). For Linux, you’d probably just distribute a .deb that lists Pygame as a Dependency (and Psyco as a Recommends or Suggests if necessary).

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm working with some friends on a small private mini MMORPG game server, and
Any chance the 'me/friends' graph api or friends FQL table return some friends only?
My Friends, I spent quite some time on this one... but cannot yet figure
I've been programming for the iPhone for about 2 years now, and as part
Beyond work, some friends and I are trying to build a game of sorts;
Some friends and I are starting to make a video game. I'm pretty new
some friends and me are developing a game in cocos2d :), and im using
I have been working with some friends to convert a Matlab Genetic Algorithm to
I've not done any thread programming before, so i wanted to ask you guys
I'm working on a C project with some friends for school. They helped me

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.