Tagged Questions
0
votes
0answers
39 views
OpenGL ES 2.0 - Rendered texture is blank [closed]
I am attempting to render to a texture, then render the texture to the screen, but it always seems to be blank no matter what I do. Can you guys take a look for me and see what I am missing here?
The ...
2
votes
2answers
144 views
How can I switch between scenarios in a text game?
I am making a text-based adventure game. How should I go about changing to another scene if the player wants to e.g. go to the house or walk down the road?
I am using Objective C, but C will work ...
3
votes
3answers
405 views
What algorithm can I use to detect simple shapes in a 4x4 matrix?
I'm working on a simple multiplayer game that receives a random 4x4 matrix from a server and extracts a shape from it.
For example:
XXOO OXOO
XXOX XXOO
XOOX and XOOO
XXXX OXXX
...
1
vote
2answers
331 views
Are C and Objective-C sufficient for creating games on the iOS?
These days, I'm focusing on games development on the iOS.
C++ is the lingua franca for games development but seriously, I prefer to code in C programming language, not in C++.
So for iOS games ...
2
votes
4answers
1k views
Objective-C to plain c iPhone game performance improvements
I'm testing a 2D OpenGL ES based iPhone game on both the iPhone 3G and the iPhone 4. It runs great on the iPhone 4... and pretty well on the 3G. The game state is updated at 60 Hz... and the ...
6
votes
2answers
992 views
Sending a struct containing a string over network
I'm trying to send structs as neatly sorted packets using iPhone Game Kit..
I have a struct which looks like:
typedef struct {
int coolStuff;
char playerID[100];
} MyStruct;
Then I'm using ...