What's a good algorithm for calculating frames per second in a game? I want to show it as a number in the corner of the screen. If I just look at how long it took to render the last frame the number changes too fast.
Bonus points if your answer updates each frame and doesn't converge differently when the frame rate is increasing vs decr...
I used to be a member of +Ma's Reversing, and later became a member of Caesum's Electrica. Recently I've played Bright Shadows. Are there other good sites for a challenge?
Question reopened; not a duplicate. Similar, yes, but slightly different.
Related: http://stackoverflow.com/questions/24692/where-can-you-find-funeducational-p...
What update rate should I run my fixed-rate game logic at?
I've used 60 updates per second in the past, but that's hard because it's not an even number of updates per second (16.666666). My current games uses 100, but that seems like overkill for most things.
...
Which is the best available, free, easy-to-learn game programming library for C++?
...
I have some experience making multiplayer turn-based games using sockets, but I've never attempted a realtime action game. What kind of extra issues would I have to deal with? Do I need to keep a history of player actions in case lagged players do something in the past? Do I really need to use UDP packets or will TCP suffice? What else?
...
I'm working with a team that's building an engine for a variety of 2D and eventually 3D mini-games. The problem we're facing is a solid, cross-platform, sound API. Obviously, DirectX is out of the question due to our needs for cross-platform capabilities. SDL is nice, and works great, but let's face it SDL_Mixer is a bit limited in what ...
DirectX, XNA, SDL, Allegro, OpenGl, PyGame, many more! ??? whats your personal favorite ?
Whats catching up? Which way to go and why ?
Lol so many open ended questions! take your time.
...
Anyone can point me to any info regarding physics of a snooker game, if possible more about the ball colisions? I would like to make a game and I need some help about the physics...
thanks!
...
Just to make it clear, I'm not interested in DOM scripting or writing Javascript in a browser. What I want to do is embed Javascript in a hobby game engine of mine. Now that we have the 5th generation of Javascript engines out (all blazing fast) I'm curious what engine would you choose to embed in a C++ framework (that includes actual ea...
I thought I was a decent programmer until I tried writing gamepad code for OS X. Now I feel deeply useless.
Does anyone know of any code that I can legally use in my (non-free) game?
Is it really this hard to talk to a gamepad on OS X? What am I missing?
...
I am programming a game on the iPhone. I am currently using NSTimer to trigger my game update/render. The problem with this is that (after profiling) I appear to lose a lot of time between updates/renders and this seems to be mostly to do with the time interval that I plug into NSTimer.
So my question is what is the best alternative...
What are some good tools and techniques for making in game UI? I'm looking for things that help artists-types create and animate game HUD (heads up display) UI and can be added to the game engine for real time playback.
...
Can anyone point me to a library for 2D game physics, etc for programming gravity, jumping actions, etc for a 2d platform/sidescrolling game ?
Or could you suggest some algorithms for side scroller like mario, sonic etc?
...
Whats the best way to detect collisions in a 2d game sprites? I am currently working in allegro and G++
...
Using the GamerServices component for XNA to access Xbox/GfW Live for networking purposes requires developers and players each to have a US$100/year subscription to Microsoft's Creators Club. That's not much of an issue for Xbox360 XNA projects as you need the subscription anyway to be able to put your game on the 360.
But for PC games ...
Is there a tutotial or help file, suitable for a beginner c# programmer to use.
...
There are some HTML based games (ie bootleggers.us) that have a simple login form and after that your entire game experience revolves around submitting various forms and reading information from the website itself.
My Question is, what is the best way to go about writing a bot / automate the html-based game using C#?
My initial thoug...
I am designing a game to be played in the browser.
Game is a space theme and I need to generate a map of the "Galaxy".
Basic idea of the map is here:
The map is a grid, with each grid sector can contain a planet/system and each of these has links to a number of adjacent grids.
To generate the maps I figured that I would have a coll...
.
Inspiration -- Southpark game
(very popular if you see download count on download.com ,,, did he ask for permission ??)
I am making a 2d game based on dexter's lab theme. I've got the sprite of dexter from GSA. basically I'm not an artist, so I have to depend on already available sprites, backgrounds, sfx on websites like GameSpr...
I've been wondering, as a lone game developer,
or to say a part of team which has only got programmers and people who like to play games...
How do I manage the void created by lack of artists (sprites/tiles/animations) in such a situation???
What do you do in that case? and suppose I am a student, with no money to hire artists, is ther...