instruction stringlengths 33 29.4k |
|---|
What high-level game engine would you recommend to develop a 2D game prototype on windows? (or mac/linux if you wish)
The kind of things I mean by "high-level" includes (but is definitely not limited to):
not having to manage low-level stuff like screen buffers, graphics contexts
having an API to draw geometric shapes... |
I would like to create a simple multiplayer game server for a simple game:
The game is supposed to be similar to Command & Conquer, you have a few tanks and a few soldiers. You can select one soldier and than click on the map, to where the soldier should go. If the soldier comes to an area where he could not go, he wal... |
Blender is one of those applications that you either love or hate. I know it is great for 3D modeling and and animations and there is a lot said about the UI and its steep learning curve.
I am more interested in how Blender stands out as far as Game Development goes. So my question is, what would be the Pros and Cons o... |
What is the best way for keeping all clients synchronized with a server and with each other?
Currently, we have two approaches in mind:
When a client sends something to the server, the server immediately sends out messages to all clients, which react immediately.
Introducing some time delay, whereby the server sends o... |
By profiling my game, I see that the vast majority of the execution time of my hobby game is between the blit and the flip calls. Currently, it's only running at around 13fps. My video card is fairly decent, so my guess is that pygame is not using it.
Does anyone know of any graphics/display options I need to set in py... |
I've been trying out some rope-physics recently, and I've found that the "standard" solution - making a rope from a series of objects strung together with springs or joints - is unsatisfying. Especially when rope swinging is relevant to gameplay. I don't really care about a rope's ability to wrap up or sag (this can be... |
As most of you know, embedded interpreters for languages like Lua and Python are widely used for scripting game logic, but I haven't seen much information on people going with domain-specific languages for their scripts, e.g. building a little logic scripting 'dialect' on top of the language used for the rest of the ga... |
Are there methods of automated testing of games?
Specific experiences are appreciated, with relevant information about the project such as platform and type of game if that helps with clarification.
|
I have built a couple of games on the iPad using core animation, but for my next project I would like to built a 3D game. I am not really comfortable with programming OpenGL directly and would also like the toolset that usually comes with a mature 3D engine project. I have used Ogre3D on the PC before and was very happ... |
We are in Pre-alpha stage of a game development project and haven´t yet got reply from Valve about how it works to distribute through Steam. We need this information to do a business model with all the different costs of developing and distributing this game.
So my question is, what is the pricing structure? Do they ta... |
Assume that each Box object has the properties x, y, width, height and have their origin at their center, and that neither the objects nor the bounding boxes rotate.
|
If we use Cryengine 3 for game development and make the game 3D compatible. Because 3D sends out two pictures, will this mean that you need a computer with twice the "power"? So if you get 30 fps when playing normal you will need 60 fps for playing with 3D?
|
There are some programs that allow you to design some menus/hud/interfaces in flash and then insert them into your game. But is there something similar for making all of this stuff in Silverlight and then mount that content in your XNA game?
|
I'm making a point and click adventure game, and I'm currently trying to figure out the best way to implement a command system.
Assume a Monkey Island or Maniac Mansion style interface, with a palette of verbs, and objects in the scene and in the inventory. Clicking on these, you build up a sentence to execute.
for exa... |
UPDATE: This question refers to Farseer 2.x. The newer 3.x doesn't seem to do this.
I'm using Farseer Physics Engine quite extensively at the moment, and I've noticed that it seems to store a lot of temporary value types as members of the class, and not on the stack as one might expect.
Here is an example from the Body... |
I want to develop a huge world map; at least 8000×6000 pixels in size. I have broken it into a 10×10 grid of 800×600-pixel PNG images. To avoid loading everything into memory, the images should be loaded and unloaded depending on the player's position in the grid.
For example, here is the player at position (3,3):
As... |
I've been out of hobby Game Development for quite a while now. Back when I did it, most people used Direct Draw to create 2D games. By the time I stopped people were saying OpenGL or Direct3D with an orthogonal projection is just the way to go.
I'm thinking about getting back into creating 2D games, in particular on ... |
The biggest problem for me as a game programmer (who isn't also an artist) is getting good quality 3D models. I have checked out some of the 3D model market places like The 3D Studio and Top 3D Models but I have had difficulty finding the artwork I am looking for and, when I do find something I like, getting the level ... |
How much "harder" is 3D than 2D in terms of:
Amount/complexity of the code
Level of math skills required
Time involved in making art assets
Original title: How hard is 3D game development versus 2D?
|
I see a lot of examples and tutorials for 3D engines like Unity3D, UDK, Source etc. They all seem to be under the assumption that you are making a game for current(ish) hardware.
I would like some tips or tutorials on how to develop a game using UDK, Unity3D or any other modern game engine while targeting what might b... |
Generally, what are the core things that one should do in the game loop, and what are some things that one shouldn't do in the game loop?
|
As designers there has to be some ways you've approached establishing the 'fun-factor' in your games. You've likely done something in one game that may very well transfer into the future games you've worked on. You've likely played a game that did something really fun and you noticed that formula being applied to other... |
Suppose a player can construct a robot built from various parts and each part costs money. How would you balance the cost of a weapon against its capabilities? What about balancing weapons against other parts?
The base case seems pretty easy: imagine the player can only buy weapons and everything else on the robot is t... |
Many projects don't think about localization until the game is done. Then localization is done as a hack, and it's obvious that it was added on later. Some specific areas of concern:
Text strings (obviously)
Audio clips such as music and/or narratives
Text rendered on textures (e.g. a label on a crate)
Text rendered i... |
I would like to implement threading in my XNA game but I'm not sure how things work when compiling for the XBOX 360. Could someone elaborate on this?
For example, how many threads does XBOX support? I realize that XNA uses a special version of the Compact Framework. How does this affect the code during development? Do... |
Even games that are 100% client/server sometimes have issues when the client is behind NAT. Peee-peer games are even a bigger issues. Some games need to use multiple transports (such as UDP and TCP) or multiple connections (such as a different UDP port for voice).
What are some ways to make sure a game works reliably w... |
I am working on a network game project in python which we want to keep synchronized. I would assume we should use Network Time Protocol to cater for different levels of lag.
That being the case, is there an implementation for Network Time Protocol in python?
|
Posting this question here rather than SO because of it's relevance with game development.
My dilemma is this: It is currently my summer vacation after my first semester of CompSci and I have learned enough C++ to actually get started in a little more advanced stuff.
I don't want to start games programming yet until I... |
I'm asking this to get everyone's opinion -- I realize there isn't one "right way" to do this. I've tried a few ways myself, including using Cocoa for everything including the game itself (good for simpler games, like card games for example), using Cocoa for the screens outside of the game and using my game engine to ... |
I've played around in the past of the 2D Flash fan-made version of the popular Valve game Portal. It has basically the exact same mechanics, but as a 2D side-view flash game.
Lately I've toyed around with creating a simplified flash version of some of my favorite franchises (such as Zelda, Mario, Splinter Cell, etc.).... |
What properties make the main character of a game such that players can easily identify with it? Can the same set properties be used when designing the NPC characters players interact with, or should a different set of properties be considered?
|
When one begins the character design process, what are good starting points? Are there well known methodologies or systems to help in this process? How does the design process work in game industry, and are there big differences between the approaches different game producers use?
|
How do a characters designed for a game differ from characters made for books or movies? When a book or a movie is converted into a game, what are the differences and similarities that have to be addressed? Are there pitfalls in character design when jumping between these different medias?
|
I'm developing a little simon-like game and I'd like to know what the best approach is when it comes down to game states.
What would be the best approach?
Creating different states/screens for 1-player and 2-player game sessions.
Creating just one state/screen with validation from a variable that holds the selection m... |
When creating a system abstraction is better to have the platform different APIs hidden by a common interface at the lowest level that makes sense.
Taking in account the different modern (with no fixed function pipeline) native graphics APIs: OpenGLES 2.0+, OpengGL 3.0+, DirectX 10.0+, Xbox DirectX 9, LibGCM
If one was... |
I see a lot of games in "pre-production" and was just wondering what actually happens in this stage. Is it just planning or does a prototype get made or what?
|
I saw it mentioned on this question, but no one explained what it is.
|
I hear a lot about "procedural maps" and "procedural textures". What does that mean exactly, and what resources are there for learning these techniques in a game?
|
What are some pitfalls or pieces of good advice when designing levels or maps for a (presumeably 3D but not necessarily) game?
|
What are some of the biggest - and better yet: insidious and unexpected - mistakes that indie game developers make? Especially when making the transition from hobbyist to full-time indie?
|
Until now I've seen that many games are still compiled in 32-bit architecture although nearly 50% of current Windows users are on 64-bit OS? Why is this?
If the reason is for getting larger audience (since 32-bit app could run on 64) why don't they make two versions of it, since it is more or less about recompilation a... |
The last time I tried learning HLSL, I made a few shaders and mostly understood what I was doing, but I still felt like I was stumbling in the dark. Most of what I learned I got from various blog posts that didn't explain things very well.
Also, the documentation on MSDN seems to be more of a function reference.
Where ... |
I ask "how" rather than "where" because there are undoubtedly lots of artists that are just plain lousy or unreliable.
Let's assume both paying and non-paying (mods, free games/open-source) positions.
|
What code philosophy/structure of abstraction/program design would allow a game to be used with both 2D and 3D graphics (separately) WITHOUT having to re-code the Game logic?
We're talking taking the same code, changing a minimum of things (for example, exchange filenames for 2D assets with filenames for 3D assets), a... |
As an Android game developer, what should I keep in mind while developing my game if I ever wanted to cross-platform the game to the iPhone? Any strategies, tips, etc. on porting to both of these mobile platforms?
|
What is an easy way to have sprites collide and react to the collision? E.g. if I'm writing a game in XNA or with Canvas 2D and need to write the code myself very simply.
|
After the game is done (either shipped or the project was canned), what is the best way to make the post mortem, so that it maximizes the chances to never make the same mistakes again?
How do you gather all the needed informations from the team?
How do you condense them in the final postmortem?
How do you avoid to ma... |
While developing the assets for the game, (meshes, textures, sounds, videos) ho do you manage them?
Keeping them together with the source code
inside the versioning system? (perforce, git, etc…)
Or having a central back-upped, database
dedicated to the assets and having
the editors always work liked to it?
(PostgreSQL... |
I believe that my current game project is very well-suited for educational gaming; so well-suited, in fact, that I know of several different schools (one community college and at least one or two high schools) that have used versions of it at some time or another. And that's without any such marketing on my part.
I'd l... |
In an MMO (not even necessarily an MMORPG) what are some techniques for dealing with players disconnecting in the middle of PvP?
In particular - how do you avoid adversely affecting people who get disconnected due to network (or even real-life) issues, while not adversely affecting those people that are engaging them?
... |
Let's say you have a game board that you look at. It does not move but there is some action going on. For example Chess, Checkers, Solitaire. The game I'm working on is not one of these but it's a good reference.
What are some methods you can apply to the game or the design that increases the appeal of the game to the ... |
A variety of video games use uniformly distributed numbers to decide the outcome of an event, such as a "50% chance to hit" almost always means to check if a random floating point number from 0-1 is greater than 0.5. Many games will layer a few of these uniform percentages on top of each other, for instance a D&D hit r... |
Which continuous integration technology & software would you recommend for use with games?
Also are there any build technology libraries or specific languages you would recommend to use when a custom part of the game asset pipeline needs to be coded in-house?
Are there any good resources for demonstrating the business ... |
Kill X number of monsters.
Gather Y number of items (usually by killing X number of monsters).
Deliver this NPC's package to this other NPC who is far far away.
etc.
Yeah. These quests are easy to implement, easy to complete, but also very boring after the first few times. It's kind of disingenuous to call the... |
Is one allowed to make a similar game or even a sequel which would usually require obtaining a license? Who keeps the license in the end, i.e. who is to be asked for permission in such cases?
|
I know FreeToPlay games are financed by advertisements and/or selling additional content, but what about an Open Source single player game to which several people have contributed? And how can a fair sharing be determined?
|
Can you recommend a good C# game engine for cross platform (Win/Mac/Linux, I don't care about consoles) development?
I've got some experience with raw OpenGL and I played around with Java bindings and the JMonkeyEngine. However I'm somewhat disappointed those solutions and I tried Ogre3D which seemed really promising ... |
Assuming you already have the best-choice algorithm, what low-level solutions can you offer for squeezing the last few drops of sweet sweet frame rate out of C++ code?
It goes without saying that these tips only apply to that critical code section that you've already highlighted in your profiler, but they should be l... |
I believe that in order to become a good game developer, you need to make games.
From a programmer's perspective, what are some good entry level games to get your hands dirty? What skills and challenges do each of these games teach you?
|
How do I know whether or not to use a game engine? I want to make a relatively complex 2D game for Android. What factors should I weigh to decide whether to find, install and learn a game engine or just do everything manually?
|
There's nothing quite like the routine of tweaking a variable, compiling code that takes a few minutes, executing the code, realizing that your tweak was in the wrong direction and repeating the process all over again.
I would like to start interacting with my game logic while a session is in progress. What are some of... |
When optimizing the frame rate of a game, when should I focus on a large
FPS and when should I focus on a consistent frame rate.
This is often a hotly contested issue, so please note I'm not asking which
is better.
What are the pros and cons of each?
In which situations is one preferred over the other?
Also note: my in... |
In our custom assertion handler, I'd like to display a message box asking to see whether or not this failure can be ignored. However, when our DirectX game is full screen, I can't get the MessageBox function to display above the full screen.
Note: The first parameter to MessageBox is the the HWND used to create the de... |
Specifically, what is the best way to implement an achievement system flexible enough to handle going beyond simple statistics-driven achievements such as "kill x enemies."
I'm looking for something more robust than a statistics based system and something more organized and maintainable than "hardcode them all as condi... |
The short and sweet question
I'm new to game programming in general, so how do I go about making GOOD QUALITY opensource games?
What I have come across
There are a multitude of games that I have played on Linux that are just downright shameful. The graphics are terrible, the AI is lacking, and the replayability is litt... |
What algorithm have you used in the past to generate a simple 2d maze?
|
I recently started learning spriting/pixel art to help propel my game development endeavors and I've gotten to the point where I'd like to start sharing it for comments, critiques and other feedback.
I've got a pretty good awareness of some art sites out there but none of them have really struck me as ideal so I'm look... |
What kind of methods are best used managing complex story lines in a game? A simple story is basically linear line with stops, so that would not be that difficult, but a more complex one is basically an elaborate directed graph, with certain requirements to move between nodes. So how does one effectively store and main... |
It appears that there are ways to make money with flash games through portal and aggregator sites and embedded ads.
But I do my programming in C and C++. I've started a prototype which relies on a few existing C++ SDK's. The game would have to be downloadable. Is this just a labor of love, or are there any ways t... |
I am making my first indie retail game, I hosted a prototype on www.agfgames.com but I am struggling to find testers...
Being a company made only of myself, and having no budget (actually, I have huge debts because of college), I cannot hire a testing service, but I am failing to find testers on my own, does not matter... |
Related questions under this topic might include:
How should I base how much experience points it takes to get to the next level?
What factors are involved in this?
How do I keep the player not entertained long enough till he levels up?
How can I vary the way the player gets experience points?
|
How is game difficulty typically tested or balanced so that there's a steady progression of difficulty; how do I ensure that no level is too difficult or too easy for its point in the game?
Are play testers of various skills brought in, or a random sampling of people? What considerations are/should be taken into accoun... |
I've recently been interviewing design interns and been pitching what I consider fairly easy practical design questions to measure their skill level. I've been shocked by poor quality of answers. Now this may be the quality of the applicants.
What questions do you ask an entry level games designer to probe for their sk... |
It seems like the status quo in the games industry is to write most software in-house, maybe excluding the engine if you use one of the dozen or so big ones. Before working here I was mostly an open-source developer, so this mindset seems downright crazy to me. Is there any good way we can all stop building things like... |
I'm making a Tower Defense and I need a good pathing algorithm for it.
I have thought about Dijkstra but I need one that can be dynamic; it must be able to update itself when one edge is removed or added without a full recalculation.
I'm coding in C# if it helps.
|
I am trying to create a system that can easily modify objects on the fly. For example, lets say I have an Entity2D that inherits from Entity. Entity2D has a Position property. I also have a class called ModifyPosition that inherits from Modifier.
Here is the code:
public class Entity
{
/// <summary>Applies the modi... |
I am making a breakout-clone, I not want only want it to feel "arcade" for home users, but it will have a arcade version (although probably noone will buy, and I will only use the machine to amuse other people...), this make scoring, and high-scores a important part of it, it has no multiplayer, with the community exis... |
Valve just released Alien Swarm on steam, along with all the source code. I would love to build a version of it on my own machine and play a little bit with the code.
Has anyone here tried to build it yet? Is it easy enough to just build and run it?
Thanks.
|
I'll start off with John Carmack's the Fast Inverse Square Root in Quake III:
float Q_rsqrt(float number) {
long i;
float x2, y;
const float threehalfs = 1.5F;
x2 = number * 0.5F;
y = number;
i = * ( long * ) &y;
i = 0x5f3759df - ( i >> 1 );
y = * ( float * ) &i;
y = y * ( threehalfs - ( x2 * y * y ... |
I have been looking for strong game portals that support Silverlight. Which ones are currently available?
|
When simulating an airplane and a missile, to get them moving in the air we apply a force in one direction. Now an airplane has wings that keeps it afloat while a missile can have fins to stabilize it. In both cases when the force is no longer strong enough, the velocity reduces and the projectiles are bound to succumb... |
I'm considering development of some simple Unity games but am worried about distribution. Which well known game portals currently support unity?
|
I'm a new hobbyist game developer but have yet to come up with something original that I found to be really fun. The hardest part I find about game development is this:
You have an idea that in your head looks like it would be really fun.
You build a quick prototype and you realise that in reality its not so much fun ... |
i went thru a lot pages here searching for information about the "server side" of a multiplayer game, while i did found some information they were not exactly what i was looking for.
What is the best available options
for the server communication ?
Is it worthed to handle a game server with website requests for a mmo ... |
What cheap/free tools do you use for 2D art and/or animation?
I don't really like Gimp's interface, Paint.NET is limited and GraphicsGale is sort of archaic. Cosmigo ProMotion looks like it could be good, anyone use it? Seems a bit pricey at $78/92 but of course cheaper than Photoshop.
I used to like Jasc Paint Shop ... |
I've come across this problem before and it would be good to know the different ways of solving this problem.
|
What tips or tricks do you have when it comes to making the OpenGL more efficient?
|
I am approaching the point where I can release a playable beta of a very complex game I am making in Flash/AS3. It is fairly involved and the deepest game Ive made so far. I plan on hosting it on my personal site but I want to try and get good feedback on the game elements so far.
Is it worth it to expose this beta to... |
With your typical MMORPG, players can usually farm the world for raw materials essentially forever. Monsters/mineral veins/etc are usually on some sort of respawn timer, so other than time there really isn't a good way to limit the amount of new currency entering the system.
That really only leaves money sinks to try ... |
I was reading on SO about native flash rendering vs building a custom BitmapData frame buffer and some of the answers were a bit conflicting, so I was wondering:
Is it generally best practice to go the custom Bitmap buffer route or is it best to leave rendering to the flash engine?
If you're using vector animations (M... |
I think it's pretty much universally agreed that simply mapping the analog stick to rotational speed of the character is not good enough to make console first person shooter feel good.
So what are some input paradigms that make a modern FPS on the console work well?
|
I'm writing an AI for a card game and after some testing I've discovered that using MTD(f) on my alpha beta algorithm - a series of zero-window searches - is faster than just using alpha-beta by itself.
The MTD(f) algorithm is described well here http://people.csail.mit.edu/plaat/mtdf.html
The problem I have is that fo... |
I'm building my own game engine in C++ and I'm currently deciding on what user interface I should use.
Should I use a library? Should I make my own?
|
I'm wondering what options are available for in-game interface libraries (not OS-level interfaces) and what are your opinions about them?
Please put only one library per answer and follow this template.
Name
Link to website
Cost
License (if free or open source)
General summary / Opinion
|
I have two user cases:
How would entity_A send a take-damage message to entity_B?
How would entity_A query entity_B's HP?
Here's what I've encountered so far:
Message queue
entity_A creates a take-damage message and posts it to entity_B's message queue.
entity_A creates a query-hp message and posts it to entity_B... |
As of DirectX10, the usual functions to load a mesh in the .X-format are marked as deprecated and they are DX9 functions anyway. How can I load a mesh from the .X-format into an ID3DX10Mesh object using the SlimDX wrapper?
|
I have been using the OpenGL ES on the iPhone for a while now and basically I feel pretty lost outside to the small set of commands I've seen in examples and adopted as my own. I would love to use OpenGL on other platforms and have a good understanding of it.
Every time I search for a book I find this HUGE bibles that ... |
A few years back it was looking like COLLADA was going to be quite a big thing, maybe at last a fairly standardized format for getting 3D assets from a DCC package into the tools pipeline of a game. And it looked like a good option for an indie developer that didn't want to lock themselves into a single 3D package by w... |
I've been thinking about developing a small engine not only to develop small experimental games, but also to serve as a base to test various rendering techniques and things like that. Right now I've been thinking a lot about how to handle textures and stumbled on megatexture, but this is something that is a bit puzzlin... |
While answers will vary depending on the case, I'd love to hear about what people have seen in their past experiences.
The question mainly relates to DirectX though if you have some numbers for any other API (OpenGL, consoles etc) I'd be glad to hear them too.
Thanks in advance.
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.