-2
votes
1answer
62 views

What is the advantage of 6 Directional Movement vs, for instance, 8 or 4 [closed]

I'm making a fallout 2 inspired game and I'm wondering what you guys think about its use of 6 directional movement. It kind of bugs me for some reason and seems like it would make game play odd and ...
1
vote
1answer
96 views

How to handle game objects in DirectX

Coming from XNA, I would use the content pipeline and create XML files for game objects. However, if I changed something in the XML, I would need to do a rebuild of the project so it will create the ...
1
vote
1answer
121 views

Fire Delay Timers

I currently have a turret that can fire projectiles. I can control the delay between shots (fireDelay), and I can control the time needed to reload the magazine of the gun(reloadDelay). I do the ...
0
votes
1answer
109 views

Designing Character Movement Need Advice

(This game is written in C++ with GDI+ It's a simple side-scroller.) I am having a problem deciding on how I should handle player movement. Currently it runs at 20 frames per second (I just chose ...
2
votes
1answer
546 views

Improving Click and Drag with C++

I'm currently using SFML 2.0 to develop a game in C++. I have a game sprite class that has a click and drag method. The method works, but there is a slight problem. If the mouse moves too fast, the ...
2
votes
1answer
192 views

Setting a displacement or offset between Snake segements

I have a problem in maths or I do not know. I have drawn few circles that simulates the body of a snake, the head of the snake moves and others should follow. but the is no offset or displacement ...
4
votes
2answers
277 views

Manage user input and diffentiate it between the player and the app

I hope the title makes sense. Basically, I am trying to figure out how the app will know I the input I am sending it is meant for the app and not the player, and vice-versa. (It is very similar to ...
4
votes
2answers
540 views

Best way to keep track of game objects

I'm not exactly sure how I should ask this question, and so the title may be misleading - I am not asking if I should use a list or a stack or a vector or a queue - but how I should go about keeping ...
1
vote
1answer
219 views

Score system for “little bit more complex” snake game

I have created snake game. I can't think of good score system so that is is fair. There is only one highscore list for all modes. Player can choose any size of board - Let's call that param "Board ...
0
votes
1answer
859 views

cocos2d-x - object creation and management in game design

How do others keep track of everything going on in their games? I am working on a new game and I am quickly realizing everything that I need to keep track of. Example: Maybe a layerManager that ...
0
votes
2answers
330 views

What beginner level game should I practice developing that has all the basics of game development? [duplicate]

I am a fresh graduate of Computer Science and am very nervoud for my skills test next week. So I have only about 4 days left till the exam and I really want that job which is game development. They ...
-6
votes
1answer
109 views

Android Game an [closed]

I want to develop an android game (3D/2D).. and I don't have any knowledge about android app development. So can you suggest some helpful and understandable resources like video tutorials or head ...
6
votes
2answers
794 views

Example of Data Oriented Design

I can't seem to find a nice explanation of the Data Oriented Design for a generic zombie game (it's just an example, pretty common example). Could you make an example of the Data Oriented Design on ...
6
votes
2answers
808 views

How should I plan the inheritance structure for my game?

I am trying to write a platform shooter in C++ with a really good class structure for robustness. The game itself is secondary; it is the learning process of writing it that is primary. I am ...
5
votes
2answers
2k views

How do I create a game that runs on Windows, iOS and Android? [on hold]

I use C++ to create windows games and now I want to step into another other OS like Android or iOS. I'm totally familiar with C++ so I tried to create app for iOS using objective C it was working ...
1
vote
2answers
135 views

Informing GUI objects about screen size - Designing

I have a problem with designing classes for my game which I create. In my app, there is: class CGame which contains all the information about game itself, e.g. screen width, screen height, etc. In ...
2
votes
2answers
343 views

DOT implementation

I have some DOT (damage over time) implementation problems. My game runs on 30 FPS speed. Current implementation is: let's say the hero casts a spell which deals 1 damage per second. On every frame I ...
1
vote
2answers
8k views

Where to start learning OpenGL with C++? [duplicate]

Possible Duplicate: What are some good learning resources for OpenGL? I have learnt C++ and made some cool text based games and such but I would love to start graphical programming. I'm a ...
-2
votes
2answers
238 views

Should I use javascript to make a windows 8 game? [closed]

Windows 8 game development is designed mainly for C++ (which I don't know), but can be done in JS (which I do know). Is it worth it to learn C++ or should I continue with JS?
6
votes
3answers
1k views

Create Levels using blender

I am creating a game and I have a custom level format for levels in my game. I wanted to know if it is possible to create levels for that kinda format in Blender. My format is XML based and just ...
4
votes
1answer
871 views

Designing a simple snake A.I

I've looked at some stuff online regarding this specific topic, and a lot of the info that I read involved graphs and path finding. I really don't want to get involved in something too complex & ...
3
votes
1answer
725 views

Recommended method towards making custom maps for a 2d game?

I am planning on making a 2D game, however different from my last personal projects I want this one to have enhanced graphics, with custom-designed levels. My previous 2d platformers were tile-based, ...
0
votes
1answer
325 views

Will a polled event system cause lag for a server?

I'm using a library called ENet. It is a reliable UDP library. The way it works is a polled event system like this: ENetEvent event; /* Wait up to 1000 milliseconds for an event. */ while ...
5
votes
1answer
537 views

Splitting up duties for a card game server

I'm working on a game where players connect to a game server and to a lobby to play a card game against others. I have a pretty good idea how to code it and such, I'm just not sure regarding a few ...
2
votes
1answer
604 views

Setting the Box2D gravity for a pixel coordinate game?

I'm making a game with Box2D with a top left coordinate system. I multiply positions by an M_TO_PX_RATIO of 10.0f to convert from meters to pixels. I noticed that when I set gravity to 9.8, the ...
12
votes
1answer
1k views

Programming a climbing system like tomb raider

I was wondering if anyone knew or had knowledge of how to program a climbing system like the one found in tomb raider/uncharted. I had thought of just having bounding boxes at all the climbable ...
0
votes
2answers
333 views

Obtaining a certain type of object with component based design

I'm trying to design my game to be component based rather than overly hierarchical. Essentially, every high level object in the game (like gun, or whatever) inherits and implements the interfaces that ...
5
votes
2answers
2k views

Culling for a 2D, platformer game?

By culling, I mean, only rendering what is currently seen by the camera. In my game, nothing is tile based. Each object has a center point and that is where it is on the screen. The camera is ...
7
votes
1answer
788 views

Bringing a Box2D, Physics Enabled game Online?

Lets say, to simplify the problem of online games a bit, my goal would be to run a near identical simulation on multiple computers in sync. Would sending commands be a good idea? Now if only sending ...
0
votes
1answer
162 views

Collision with User Input and Object

I am curious on how to handle collision detection involving a moving target and user input. Basing myself in the mobile space, I get events from a set framework, but I do wonder about the amount of ...
2
votes
2answers
887 views

Collision Resolution

Hey all, I'm making a simple side-scrolling game, and I would appreciate some input! My collision detection system is a simple bounding box detection, so it's really easy to implement. However my ...
1
vote
2answers
364 views

Cyclic Dependencies

Are cyclic dependencies a common thing in games dev? I ask as I keep getting into situation where I'm using and have been told more than once that they should be avoided. I am wondering if this is ...
7
votes
1answer
7k views

Time based movement Vs Frame rate based movement?

I'm new to Game programmming and SDL, and I have been following Lazyfoo's SDL tutorials. My question is related to time based motion and frame rate based motion, basically which is better or ...
3
votes
2answers
533 views

Should Game Gui APIs use themes?

I'm making a GUI API (in C++) for games which uses Allegro 5 as a backend. I looked at how GuiChan works and noticed that they intend for the user to override the paint event and do all the drawing ...
6
votes
2answers
1k views

How do I build games with scripted actors?

The idea I have an idea for a game. A few games, actually, that can built on top of the same general design. There is a game world that the player and the other actors exist in. The player can get ...
11
votes
5answers
999 views

Custom Content Package for Files

I am about to purchase quite a few model packs from a website for prototyping my game. In the contract it states that I must protect them as to prevent the public from gaining access to them. I ...
6
votes
3answers
716 views

Most Efficient way to read a Settings Configuration File

I have been working on a game for quite a while, and I am using Ogre3D for the rendering engine. It is getting to the point I need to move adjustable settings to a configuration file such as video ...