Tagged Questions
0
votes
2answers
77 views
Serious gameplay issue by spawning enemies according to elapsed time
EDIT: I have changed the title as I think that this is a general gamedevelopment question but, on a technical note, I am using Cocos2d v2.0
Some time ago I had asked a question on which was the most ...
-1
votes
1answer
93 views
Get distance between the edge of screen and a moving sprite
How to get the distance between the edge of the screen and a vector moving sprite? I want to get the distance between my moving sprite and the edge of the screen so that when my sprite touches the ...
2
votes
2answers
133 views
Correct utilisation of gameloop (Android)
When using a gameloop like (much simplified)............
updateLogic();
render();
How does one perform 'single' operations? I mean, things like triggering sounds (which will only be played once), ...
7
votes
2answers
493 views
Java 2D game programming: Different approaches to make a game loop
I am new to Java game programming, but the more I read the more I'm confused, because I've seen several different approaches to make a game loop:
1. The standard approach, that uses the Timer class ...
7
votes
4answers
495 views
Simultaneous game states
I think I understand the basic idea behind a Finite State Machine-based game loop. But I'm trying to write a little game in which the same object can simultaneously be in multiple, independent states. ...
-6
votes
1answer
165 views
Making A C++ Game [closed]
I'm gonna make a game and I think C++ would be perfect for it.
I think I'm gonna use SDL and OpenGL but I need help with making the code manageable.
These were my ideas:
1. Making A DLL File With ...
0
votes
0answers
468 views
Best practices in Game architechture design [closed]
I have to create a game using Java. It is a simple game with a mix of rules from Texas Hold'em and Scrabble. The purpose of this project is to cover all software engineering practices. I have some ...
4
votes
4answers
506 views
Game loop alternatives for efficiency
Understand where I'm coming from - I've been taught that a game is implemented something like this (pseudocode):
while (!win_condition)
{
waitforinput();
updategraphics();
//etc..
}
exit();
...
11
votes
4answers
1k views
Programming the combat sequence in a role playing game
I'm trying to write a short "game" where a player goes around and fights monsters but I have no idea how to handle the combat.
For example, say I have a "Warrior" and a "Troll". How do the two fight ...
4
votes
3answers
647 views
What technology would you use to communicate between an iOS game and a Lua-based AI server?
What technology would you use to communicate between a two-player,turn-based, board game (like checkers or Othello) running native on iOS, and a remote game server
The remote game server is just the ...