instruction
stringlengths
33
29.4k
I'm in the very, very early brainstorming stages of a game which centers around the manipulation of water and the terrain around it. (i.e., changing the water's state between solid, liquid, gas; building up or tearing down hills to control its flow; and so forth.) I'm not yet sure if it should be a puzzle game, a plat...
Hey guys, I'm trying to figure out how to generate tileable fractals in code (for game maps, but that's irrelevant) I've been trying to modify the Solid Noise plug-in shipped with GIMP (with my extremely limited understanding of how the code works) but I cant get mine to work correctly. My modified code so far (Java) ...
I've got an XNA Creators Club trial membership via DreamSpark, but I cannot download the XNA Game Studio Connect app due to a bug in the site. Users from Finland and US experienced this before and MS fixed something in the Marketplace configuration that enabled them to download this. You need this app to deploy apps to...
I'm designing a game calculator . My problem is how to link between the keyboard event and the button. **When I click no.2 button on my Keyboard the button doesn't roolover . I want the exact button roolover wen I use the keyboard . Note every button have it's instance name ex: the button of number one : one_mc my ...
Assuming I were to develop a graphics engine for a modern PC game that used only DirectX or OpenGL, which techniques could I use to make sure it ran quickly? Edit: I'm looking for any approaches that I could take that would result in a speed increase. By graphics engine I mean general purpose graphics engine - such as ...
TL;DR: Using CSS as an element in defining rulesets in Civ-style turn-based strategy games: Madness or just plain old insanity? Real question: Designing ruleset parse rules is a pain. Every single game out there seems to define its own ruleset for how rulesets are to be parsed (insofar as the game features customizable...
I'm currently talking with a design studio for the artworks of my game. They are saying they want to still own the IP of their chracter graphic in my game as they want to sell merchandise with my character idea and their artwork. I'd like to know what kind of stuffs should I look out for in such an agreement. Does owni...
What do you call games developed for Android or iPhone to differentiate them from games developed for other platforms?
So I'm working on expanding the uses of items over at www.ninjawars.net, and I'm not exactly sure how to represent them flexibly in the relational database that we use. I may be barking up the wrong tree, so feel free to make suggestions in other directions, but currently I'm thinking that each item should have relatio...
I am new to UDK and Blender but I've some prior game development experience on XNA. Now I want to know should I start using Blender gaming engine which is open source and gives lot of freedom to programmer or UDK which is awesome tool to create 3D games but it is very specific and bounds you to use Unreal script. Which...
I need some ideas to make players interested in the game result. Otherwise, the player plays again to get high score. My game is a calculation game that measures the speed of calculations that the user makes. I added in the result: The number of right answers The number of wrong answers Score of player High score of...
Yeah yeah I know, best is probably a bad way to phrase this. But I need some pros and cons. I need a new phone and if I'm going to get a smartphone and pay all that money, I better get one that I can develop for, and games are what I want to make (not apps). So the way I see it is the iPhone would be a bit too expensiv...
I'm working on a 3d game using OpenGL and would like to take it in a fantasy direction. Specifically I'm thinking of having magic with effects for fire, water, ice, and lightning. My problem is I have no idea how to create these effects. Are there any resources for me on how to learn something like this?
I am making simple model viewer using OpenGL. When I want to pick an object OpenGL returns nothing or an object that is in another place. This is my code: GLuint buff[1024] = {0}; GLint hits,view[4]; glSelectBuffer(1024,buff); glGetIntegerv(GL_VIEWPORT, view); glMatrixMode(GL_PROJECTION); glPushMatrix(); glLoadIdenti...
I'm looking for a 3D graphics library (not a complete game engine). Preferred a scene graph. Something small (unlike jME, XNA or Unity), that I can easily expand and change. Preferred features: Cross Platform Wrriten in Java/Scala (JOGL or LWJGL), C# (preferred OpenTK), Python or JavaScript/WebGL. Support for OpenGL ...
How do you implement a touch hash code and reference it later? I have read about a "hash" code, but I don't understand how to use it. I want to know when two of my Sprites are touched at the same time, like as if pressing a chord on two keys of a piano. Here is an example of what I have for my ccTouchesBegan: - (void) ...
How can I represent 3D world space with 2D tiles? I do not mean isometric, which is visually represent 3D objects in 2D space. Let's say there's some height map, and each 2D tile (X, Y) represents a coordinate on the top of the map - so the Y is generated automatically, X stays the same and the tile's Y is the 3D Z co...
I'm looking into doing a 2d lighting system with a result similar to this: http://forums.tigsource.com/index.php?topic=15619.0 This thread I believe disregards color, as well as doesn't really list a clear final solution, which is something we could provide here. What I'd like to do is start with a solid black texture,...
This tutorial (msdn) gives a description of a vertex layout. This is an example of a input layout: D3D11_INPUT_ELEMENT_DESC layout[] = { { "POSITION", 0, DXGI_FORMAT_R32G32B32_FLOAT, 0, 0, D3D11_INPUT_PER_VERTEX_DATA, 0 }, }; UINT numElements = ARRAYSIZE(layout); It seems to me that it would be easier to bypass ...
Man, I'm really bad at drawing... I feel myself really ashamed because I cannot draw even a little nice sword... :( The problem is, on game development (I will be on the programming part, relax!) I will need to explain some game ideas to game artists, like "I need that city like this" or "that character needs to have t...
I've created an HTML5 Canvas and JS game that runs great on a desktop or laptop in Chrome (30fps), but on mobile Safari I only get around 8 fps. Are there any simple tips or tricks to increase the framerate?
I've built a web app that makes heavy use of JavaScript and HTML5 canvas. It's easy to debug in Chrome, but on a mobile device the developer tools are much less robust. Is there a tool or technique that will enable me to easily debug and profile my application on an iPod in Mobile Safari?
Out of an opportunity and boredom, a friend and I decided to make a web based game. This is the first 'game' I will be making, since usually I program web apps in django. I've opted to use the same framework for the game, but I am not totally sure about the data storage, since I cannot foresee future requirements and ...
How can I render some graphics using XNA to a widget/control in a WPF app? Specifically, I don't need any WPF controls inside the XNA graphics window, I just want to put some controls around it for a level editor.
TL;DR: Does the short development time required for HTTP/XML offset its size issues compared to developing a custom protocol? As some of you might have divined; I'm currently working on a turn-based strategy game of the massively multiplayeriffic variety. The target turn-length is anywhere from 6 hours and up, so synch...
I need to find someone talented to create a series of 2D graphics a la cart for my mobile games. My graphics are just not impressive enough, but the game play is solid and fun. This is sort of a multi-part question: Where do I start to find someone? What should I expect to pay for custom sprites and backgrounds? Wh...
I'm programming a dedicated server in C# using BeamServer2 DLL's. At first I wanted to be able to see other players move on our already made Omuni map. This I did by just sending your position to the server each frame. This worked out and I was able to play with a few friends but the movement wasn't laggfree. So I star...
When a person mouse down, moves the mouse, and mouses up the system gets the different in the mouse down coord and the mouse up coords and loads in the new map items. However, the problem is it loads them every time so I want a way to track what has been loaded without too much work on checking or storing checks. Most...
I know someone who is thinking about getting into game design, and I wondered, what does the job game designer entail? what tools do you have to learn how to use? what unique skills do you need? what exactly is it you'd do from day to day. I may be wording this a bit wrong because I'm not sure if the college program is...
I was contemplating the design of a game (translating a boardgame to the computer, specifically, which I suppose is relevant in this case) and it occurred to me that it might make sense to build the 'game' separate from the 'display.' It would allow me to prototype something quickly with a simple text interface, and th...
OK, I already posted this over at math.stackechange.com but didn't get any answers :( First of here's a picture of my problem, the description follows afterwards: So I got all the points and values set up. The ship starts out moving around the left planet P1 with S=0.27 Degrees per gametick, when it reaches Point A ...
Do we need MAC OS for Ogre Iphone SDK? and Is there any other way for developing iphone game on windows i mean free open source SDK?
If you have played GTA 4, then you have probably been drunk at some stage. This is one of the best intoxicated simulators I have ever seen. It is actually hard or sometimes almost impossible to drive a vehicle while drunk in this game. I know that a lot of the things that make up this drunk experience are changes to th...
I'm in the process of debugging GLSL vertex shaders and I can't shake the feeling that I'm doing it wrong. In general I have two strategies to make up for the lack of tracing I stuff values into a debug color varying that I pass to the fragment shader and then try to interpret the colors. I change the vertex shader c...
Take this example, a player has a sword composed of the handle and a blade. Together, they generate a strength of X and that combination adds qualitative attributes (induce more damage to fire creatures). If the player encounter 2 enemies, both at same defence level, but one is made of fire. Then, I need to calculate t...
With the proliferation of touch based devices, many lacking a true D-Pad, I'm wondering if anyone has any resources on how to emulate a D-Pad on a touch screen? I'm specifically interested in XNA and/or Android code examples.
I have a png which is mostly transparent, except for a shape I've drawn in white. I want to be able to blend this bitmap with a color when drawing it with Canvas. I'd like something like [Sa, (Dc * (1 - Sa)) + (Sc * C * Sa)], where C would be the color I want to blend with. I assumed I would just set the paint color to...
I'm thinking of picking up the book called "Killer Game Programming" by Andrew Davidson, but its pretty old, now. I know Java, and I've been messing with jMonkeyEngine for a few days, but I'm curious to see if I would benefit from the 3D chapters of this book. The book was published was in 2005. Has Java changed to th...
I'm working in a free MMORPG and I have a problem. I'm (with other people) developing a video recording system for the game. The idea is basically: we record all the packages sent & received with timestamps, plus some local data from the client, and then dump it in a file. For playing the video, we just emulate everyth...
Is it possible by any means to have a game developed for iPhone using the iPhone sdk on Windows?
So, I've been a programmer for 3 years and am finishing up my first graduate semester. I want to get into independent software( mostly mobile ) development with a interest in game development. The university I go to does research in software development but not computer graphics, but they do offer courses in computer...
So now that the restrictions are lifted from the third party developer by Apple. And the new packager for iPhone for Flash in CS5 is available for download. How much efficient it can be to develop a game in Flash for iPhone. How much worth it can be to invest time in developing games on Flash? anybody started working o...
I'm curious to know the workflow when creating a game in Unity3D? Does it generate a lot of code for you? My understanding is that you describe the game in Unity and do scripting on the back end to do the logic. Kind of like you use Unity to describe the puppets and you use a scripting language as the puppet master.
I am working on a game in JavaScript and my current implementation of collision uses the shortest distance to push the intersecting object away, which isn't always correct. I've made this diagram of the ideal collision. The red box represents the starting position, the green box represents the proper position and the b...
I've used Python before with PyGame to make games, but PyGame doesn't seem to be so popular anymore, and there arent that many good resources for it. I hear lots of buzz about Lua as a fast scripting language to be used inside of projects made in other languages. I work much faster and enjoy the higher-level programmin...
Creating interesting, original, logical, thoughtful puzzles is an art. What techniques and methods do you use to create good puzzles? Do you write storyline before designing puzzles or combine these 2 processes?
I would want to have the ability to simulate different variables like brittleness, or other variables to get varied end results. I would mainly need to generate impact cracks, so it would need to react to different impact angles and speeds. I am using ActionScript3, but general theory answers will be helpful as well.
I am on a small development team that is tasked with completing the server side programming for an Open Source MMO project that has been in progress for about 5 years now. Approximately a year ago we Open Sourced the project hoping to draw in new developers, this was without much success and in fact we haven't gained e...
I'm asking here so since you all have experience in or around game programming, that's what I want to do, and I’m trying to find as many options as I can before my senior year, which is next year. So do you have any opinions on the matter of which would give me a better education in programming? Please no talking about...
While working on a game project for Android i was digging for some information on performance optimization for game code. And i came to know that use of Java Collections like List,Arraylist etc are not encouraged in game codes,though collection is an useful tool in Java programming.Why is it so? I would like to know te...
EDIT: There aren't sufficient enough tutorials for what I'm trying to do in Python, so I'm going to take my time and slowly build up my skills in C++. It's hard to trip and not land in a book of C++ tutorials on game development and 3D programming. Once I get passed the basic syntax for classes in multiple files with p...
Does the game engine you use affect monetization of indie games? Of course, targeting difficult platforms is one of the issues. Besides that, how would the game engine used impact monetization of games, assuming cases where the developers are going through a portal, and handling the online distribution, themselves? As ...
I'm doing a tactical game (X-Com / Fallout style) for fun. I've decided to use a hexagonal map, but I'm having a graphic problem. My current map display is HUD-like, with only the border of the map cells displayed, without any texture. It's simple and allows for display of different types of information by varying the...
If I wanted to launch a free-to-play game with different characters, weapons, items and clothes that can be either unlocked through gameplay or bought with real money, what percentage of items should only be available for real money? This isn't "subjective" - I'm interested in examples of real games and estimates of wh...
Playing around with creating minecraftish/lego world landscapes in Unity 3D (procedurally generated voxel landscapes with cubes), I'm finding that the meshes created for these landscapes take up a LOT of memory. The mesh currently only consists of vertices for visible sides of a cube. Memory usage for a complex terrain...
For OpenGL, the OpenGL SuperBible 5th edition was just released only a few months ago, and is considered a fantastic, highly rated book for not only learning OpenGL 3 (Part 1 of the book), but it also goes into advanced OpenGL topics in Parts 2 and 3. For DirectX, what is the current material we should be reading to le...
I know about BSP trees, Octrees and Portal that where used for a long time. But modern games still use this systems or they are using new things? If it's possible with pros and cons, considering rendering and collision detection.
I'd like to use some pixel characters as a base for tweaking into characters for my browser-based-game http://ninjawars.net . (In other words, I take a base template and I modify it with colors and pixels slightly to make character variations) Now, my bbg is mostly ninja oriented, so a ninja avatar to work off of woul...
I've been pondering this question for some months now, and have been unable to get an answer from anyone in the industry (likely because I know no one in the industry). I am currently completing a B.S. in Computer Science, and I want to know if minoring in math will look good on my resume to gaming companies large and ...
I've heard countless times about the pitfalls of Singletons / globals, and I understand why they're so often frowned upon. What I don't understand is what the elegant, non-messy alternative is. It seems that the alternative to using Singletons/globals always involves passing objects a million levels down through your ...
Is there any open source android gaming engine ?
I'm writing a basic spriting engine for a blackberry app, and I want to know the best way to draw tons of sprites using the glDrawArrays() command. We have several sprites that move around the screen, and a bunch of sprites for background tiles. Zelda-1 like tiling. My first idea was to create a quad at the origin for...
I making graphics viewer, and I want to use "arcball" to manipulate object. I using OpenGL + CML ( for math ). My arcball don't want work, it is skewing not rotating :/ And I don't know why, I use formulas from http://www.csi.ucd.ie/staff/hcarr/home/teaching/comp4004/slides/05_arcball.pdf . My code: cml::vector3f u,v;...
I have always found emulators rather fascinating. I would seriously like to create an emulator for an older ganeration console or handheld. It would help me gain a greater appreciation of the hardware and the games which were created for that hardware. However, people are always saying how hard it is and that I should ...
I'm using box2d and I simply hook up 10 points each with a similar length constraint to the adjacent point. When I move 1 point, the others follow just like a rope/chain. Just like one would expect. What I would not expect however is that when I fix the leftmost point and then pull the right most, the points distribute...
I am designing a simple game and am looking for some help designing different level/ranks. For instance, starting from "Novice" to "Intermediate" to "Master". Is there are repository somewhere that records these from various games? For instance, from World of Warcraft, Diablo etc. Any suggestions?
I work for Konami as a Flash developer, and got sent some code for a puzzle mini-game from a new, yet-to-be-released Silent Hill game for PS3/Xbox 360. It was a windows executable, but it was made in Flash, and I saw some GFX (Scaleform) libraries in the source. I was very surprised by this, as I thought the extent o...
I have a 32x32x32 cube (I say 32 because that's the size of the texture). I can make the vertices of this cube go from (0,0,0) to (32,32,32). This mean the camera will be moving += 1 when ever a key on the keyboard is pressed. This also mean that the far clipping area will be pretty big when calling the CreatePerspecti...
I'm doing line plane intersection, and have come across an un-referenced variable or constant in the tutorial I'm following. One of the formulae given is this: t = N dot (p2 – p0)      N dot V The variable I'm stuck with is V. Can someone tell me what V is and how I'd go about finding it? For more info on that formula,...
What I would like to know is: What are the daily duties of a graduate programmer in the games industry workplace? Is it mostly coding, analysing, designing, or what? Thank you. P.S. I am in my second year of University at the moment and am working towards specialising in games programming, specifically gameplay, tools ...
Just curious if anyone has an insight onto the efficacy of self-set goals as opposed to explicit ones in regards to player retention. Content requirements aside are there any anecdotal or quantitative results on which method provides a more immersive experience for a player, and thus is more likely to keep them around...
I love writing video games for fun, and often do that. I noticed, anyway, that most of the times implementing the gameplay itself doesn't take too much time to me (maybe because I already did that plenty times and know what and how to do for most of the things), but when I try to implement off-game stuff I get lost. By...
I am trying to render to a texture2Darray in OpenGL, with a similar setup as descriped in this post. My question is, if anyone has gotten this to work on ATI hardware? Or is there still a bug in the driver, preventing multi layered rendering? The bug is also mentioned in the forum post.
What modern AAA games on the top of the market used OpenGL? If applicable, what engine did they use?
I'm seeking an example showing how to create a DLL that can be called from UnrealScript in Unreal Engine 1 or Unreal Tournament.
So I have been working on web application. So invariably what it boils down to is making simple games which were previously based on flash or openGL. Now I know apple was moving away from flash because its proprietary unlike their stance that its got "pathetic performance"! Not true, try playing a canvas game, I can a...
I have a very general question which bothers me but i want to add some details first. I'm a core Java programmer. I have independently created some small games in Java for fun. Now, the more I'm looking into professional game development the more I'm getting confused. This is because, whenever I Google about some game ...
1) RPG? 2) MMORPG? I'm talking more about good content here. Update: Because it is said here that volume of information is low in my question, and because there was too much to say, I created an extension question
Which technologies would you use if you were to write a (MMO)RPG, and why ? Would that be Java + AJAX + HTML5 + Linux or ASP.NET + MVC + JQuery + Windows or PHP + Linux + MySQL or ColdFusion + Windows + MySQL or ASP.NET + MVC with mono on Linux or Perl + Linux + cgi/fastcgi or C++ + Linux + lighthttp module or Deskto...
Are there any simple (or well documented) algorithms for basic CSG operations on 2D polygons? I'm looking for a way to 'add' a number of overlapping 2D collision shapes. These may be convex or concave, but will be closed shapes, defined as a set of line segments, with no self-intersections. The use of this would be to ...
I'm doing line-triangle intersection. I have found the intersection point (vector) on the plane. All I need to do now is work out whether the point is inside the triangle it collided with (not the plane the tri is on) The line is represented by two 3D vectors, the triangle 3 points and the collision point another vecto...
I was wondering what do you need to know in C++ before starting to program with DirectX? I have only been programming in C++ (more for 2D games using SDL and learning the basics) for just over a year, I was wondering what kind of concepts and methods should someone be knowledgeable with or at least have seen before, be...
Imagine we have a wizard that knows a few spells. Each spell has 3 attributes: Damage, cool down time, and a cast time. Pretty standard RPG stuff. Cooldown time: the amount of time (t) it takes before being able to cast that spell again. A spell goes on "cooldown" the moment it begins casting. Cast time: the amount of ...
Are there any free XNA 4.0 post-processing libraries that are easy to hook into projects? I am looking specifically for a glow effect (although anything is great), and I should also mention that I'm using the Reach profile. EDIT: I should add that I'm not concerned about the Windows phone, because it can't support cust...
Say I have an octree and at a certain level I store VBOs in that octree. I know the dimensions of of the nodes that own the vbo so I can do basic frustum culling. That works nicely because everything outside of the screen is never rendered. However my world is quite big and I currently also draw things behind already ...
The ContentManager in XNA 4.0 only has one Unload() method that Unloads all Assets. I want to have some "global" Assets that are always loaded, but then I want per-Level Assets which should be Unloaded when the level is changed. Should I create a second Instance of the ContentManager as part of the Level.cs Class? Or s...
I've experimented a bit with the Ogre (http://www.ogre3d.org) and Irrlicht (http://irrlicht.sourceforge.net) engines, both of which are open source and are trying to fill similar niches. From what I've seen so far they're both well-written and easy to use. I could use an informed compare-and-contrast of the strong and...
I've been working with XAudio2. After looking at the samples, example code, and sparse documentation available from Microsoft and the MSDN, I've found that there aren't any easy-to-find resources on creating and using XAPO effects, nor any XAPO effects produced by third parties that I can download and/or buy. What it l...
I am in the planning phase of a small RPG style game. The character will have have a set of attributes, like strength, agility, etc which are represented as integers. The character also will have a set of attacks represented as an attack class. On each attack I want it to do damage based on the characters attributes, ...
If i have to create a Battle System for a game which is like Final Fantasy 10 Turn Based battle system or Shadow Hearts Ring Based Battle System and likewise. How should i start with scripting a particular part of the game? Any reference,blogs,sources,code snippets will be helpful. Any scripting language will do as...
I am working on an RPG type game in Java and I would like to know a few things relating to threading, What is the best way to implement a "wait for this then do this" without hanging the whole thread? Like waiting for a player to move to a location then pick up an item? or to wait one second then attack? Currently I am...
I'm having trouble understanding how I would implement a moving platform in the actual map file. Lets say its a file of character's and maybe the letter 'P' would stand for Platform. Then, how would the game know which direction it moves, how far it's suppose to move before returning, what size it is, etc... Am I ev...
Preface: I purchased Programming an RTS in DirectX recently, and I know the code uses DirectX 9, but it has fantastic reviews and is apparently one of the best books you can get on beginning DirectX. Question: To my understanding, DirectX is just a means of displaying graphics to the scene. I will still have to code ...
This is an extension of my previous question. Recently I had an idea of making an, as I could describe it, agile open-source player-financial-profitable MMORPG, which has an interesting (from my POV) project and development model. Agile means that development should be iterative, with world extending every fixed perio...
Right now, I feel I am strong in both Java a C#. (Not much of a leap from one to the other really). While I don't expect a game designer/programmer is an attainable goal early on in my career, This is a goal I will reach later on in my career. With this in mind, I feel that ignoring C++ and game design tools associated...
I am trying to put together a website/portfolio and it would be great to see what others have done.
Hey, I know Flash works using Facebook, and I think I've seen some Java stuff on there too, but does anyone know if the Unity Player can be used in Facebook?
I have an idea for an addon for World of Warcraft which would basically be a minigame within the game itself. Eventually, I'd like to have players be able to compete against each other directly. The game would have some RPG-like elements, particularly statistics and abilities, which it would be undesirable for the end ...
I'm currently developing a puzzle game for Android that is sort of along the lines of Alchemy. I was wondering what makes games like Alchemy or Bejeweled so addicting? How do I keep players interested in the game to want to play it over and over? Is it the scores? Level advancement? The challenges? What should I b...
I'm using FMOD (with C++ syntax, not C) and I'm having trouble getting the wave data of a whole sound file. Channel::GetWave() only gets the wave data of the area on which it is currently playing. The documentation says: Do not use this function to try and display the whole waveform of the sound, as this is more of ...