Design pattern is a general reusable solution to a commonly occurring problem within a given context in software design.

learn more… | top users | synonyms

0
votes
0answers
37 views

Architecture of a simple game

I am creating a simple 2D game in Android. When I started, I originally had all of the variables specific to each session of the game (score, level, etc.) as static variables inside of my game loop ...
0
votes
0answers
10 views

GameLogic Model as Property or Constants with lookup in other Models?

Basically imagine a game where the Player has a Weapon which has a BulletType/type of Bullet. Now Player, Weapon and Bullet are Models having properties and they would represent Instances in the ...
0
votes
0answers
58 views

How can I position different size creatures in a group automaticly

I'm doing a game (in xna) on my free time, as I'm not in the game market, I'm pretty sure I'm missing something that would help me get this right. Think of Ogre Battle. A group of unit moves, and ...
0
votes
0answers
107 views

inheritance and state machine with flyweight pattern

I everyone, i'm working on an indie game and i'm stuck with two problems I have many similar units on screen so i decided to implement the flightWeight pattern so there is intrinsic and extrinsic ...