Skip to main content
GameDev.net gamedev.net
🔒 Locked

python engine ....

Started by game_lover _n_maker Oct 2, 2008 at 7:33 AM 1 replies 900+ views
Original Post
game_lover _n_maker
game_lover _n_maker
hello everyone . I have been learning python currently mainly to create games. i have made a huge collection of clones (e.g tetris and many stuff) , so i have decided to make my own game from scratch completely in python . Its going to be an action based game (like street fighter 2) . So i have decided to make my own game engine for it and many other games to come... But unfortunately i don't how to make one in python.. So if anyone could help by providing links to tutorials online , or just post it here ,i would be really great - full. Thank You
Captain P
Captain P
You don't need an 'engine' to build games (after all, you've been able to build quite a few so far, haven't you?), you simply need some core functionality like rendering, input handling, sound playing, etc, which is where frameworks like Pygame or Pyglet come in handy.

So, what's the real issue here? You want reusable code? Look at the games you've built so far and see what things they had in common and what things could've been generalized a bit more.
Oluseyi
Oluseyi
An "engine" is a popular name for the pre-integration of graphics, input, sound, networking, serialization and other interfaces for the purpose of implementing a specific game. It can be a simple collection of relatively low-level routines, a library coupled with a few extension/convenience functions, or a large number of sophisticated software facilities tuned to interoperate with each other. The identifying characteristic of an "engine" is that you simply need to provide data to it to complete the game.

You want to make a Street Fighter 2 style game. You need graphics, obviously, as well as sound, input handling and data services. You need behavioral logic to guide your fighters, including patterns of behavior and the ability to recognize user patterns by analyzing input history (in the current match, across rounds) and identify an advantageous strategy. You need a framework to handle hitboxes spread across the fighter's body in all possible stances, indicating relative damage amounts, stun effects and attack susceptibility (blocking).

Put that together and you have your engine.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.