Hi!
How can we run a OpenGL applications (say a games) in higher frame rate like 500 - 800 FPS ?
For a example AOE 2 is running with more than 700 FPS (I know it is about DirectX). Eventhough I just clear buffers and swap buffers within the game loop, I can only get about 200 (max) FPS. I know that FPS isn't a good messurenment (and al...
Hi!
Can anyone pls tell me how to use hardware memory to create textures in OpenGL ? Currently I'm running my game in window mode, do I need to switch to fullscreen to get the use of hardware ?
If I can create textures in hardware, is there a limit for no of textures (other than the hardware memory) ? and then how can I cache my textu...
Working on a game in Objective-C/Cocoa for OS X, and I finished the prototype as much as it's worth being finished. It's a mess of code, being my first game, but everything works. I've been reading up on the best way to put things together, and MVC seems to make the most sense, but I'm a bit confused.
Where does it start? With the cont...
Hi guyz,
I'm starting a game project, my first, it'll be like a civilization clone, with a big focus in war. I always worked with C# but for business apps (mostly web apps) so I have a doubt about what would be a good design to build the map positioning system.
I would like to each unit know where it's positioned, and to the map to kn...
Hi there, I have made two games for the iPhone already, the first one was a mess, and the second one is less messy but still, not perfect.
I would love to hear if someone had some links that pointed to good class organization advice when creating games using MVC ?
...
How would you create an algorithm to solve the following puzzle, "Mastermind"?
Your opponent has chosen four different colours from a set of six (yellow, blue, green, red, orange, purple). You must guess which they have chosen, and in what order. After each guess, your opponent tells you how many (but not which) of the colours you guess...
I'm trying to write a simple RPG. So far, each time I try to start it instantly becomes a mess and I don't know how to organize anything. So I'm starting over, trying to prototype a new structure that is basically the MVC framework. My app starts execution in the Controller, where it will create the View and Model. Then it will enter the...
Hi,
I have 52 records in DB, get those and store in an Array. Now i want to distribute them in to four arrays each array will have to 7 records only so only 28 records will be among 4 arrays and remaining will be in new temp array. Actually this is a card based game with four players, card will distribute like this: begin from first pla...
Hi!
I was wondering if I can deallocate the depth buffer in iPhone OpenGL ES to conserve memory? Or it stays until the application finishes?
I only need the depth testing in the beginning of the application.
...
Otherwise known as a hard edge, this is a line over which the mouse cannot cross. Useful in games and the like.
Currently, I have a function that returns if my mouse cursor is in a polygon drawn on the screen. If it is not, I move my cursor to the last stored point that was in the polygon.
if (!PointInPolygon(local, polyGon))
{...
I would like to create a baseball simulation game.
Are these sports management games based on luck? A management game entirely based on luck is not fair, but it cannot be too predictable either. How does the logic behind these games work?
...
This question is intended for someone who is in game development, possibly working in one of the major sweatshops .. :)
I'm a programmer, not an artist. Up until recently, I had this notion that level design was something to be done in Maya, by an artist. The programmer would then load it up and "parse" that model and construct a BSP ...
I have an image mySprite.png. The image is a 5x5 grid of 32x32 px sprites. This image has been loaded into the project's library.
Assuming I have a render() function inside a class, how would this class draw itself as a single sprite from this sprite sheet resource?
...
I am teaching myself C++, and I am learning more of the compsci side of the issue, like data structures. I want to get into game programming (and, as a side effect, windows programming), especially 2d games (at this point, I really want to clone tetris, since that is my favorite game of all time). I do want to do 3d programming, but that...
i just noticed that this game (on psp) is roughly around 500MB on a disk image
and i was wondering how capcom made it so.
i mean there were around 300 variations of weapons for their sword types Greatswords and Longswords alone
plus there are other weapon classes (lance,bows,guns) as well that would make the list of weapons go longer......
Hello,
I'm developing a simple 2D game in Java, everything works fine. To find the correct FPS refresh/redraw/update, I used currentTimeMillis to find the difference.
The problem is that currentTimeMillis sometimes returns negative values, and the Thread.sleep will throw exception (java.lang.IllegalArgumentException: timeout value is n...
Which framework do you suggest for building a 2D platform game for the iPhone? I only need to move assets around the screen and detect collisions etc.
I would think OpenGL. But maybe Quartz 2D is enough? Or is there something else I should be aware of? What are advantages and disadvantages of each?
I guess there is a longer learning cur...
tl;dr version: What is the best advice (that you learned by experience and not from books) that you can give me, with regards to 3D game architecture? (as in, how to design and connect the components of a 3D game)
When it comes to programming, there is only so much you can learn from books. It seems to me, many of the things learned a...
I have a game I am working on that has homing missiles in it. At the moment they just turn towards their target, which produces a rather dumb looking result, with all the missiles following the target around.
I want to create a more deadly flavour of missile that will aim at the where the target "will be" by the time it gets there and I...
Sometimes, game-like features in an application can make work fun. For example, Stack Overflow uses badges and points to coerce its users into doing work.
What game-like features are
transferable to applications?
What kinds of applications are
appropriate for game-like features?
Why are game-like features uncommon in applications?
...