instruction stringlengths 33 29.4k |
|---|
Context
Old Lucas Arts (ScummVM era) point and click graphic adventure games used precomputed pathfinding. Here's a rough outline of the technique.
Step 1
The floor in each room was divided into what they called "walk boxes", which were pretty much equivalent to nodes in a navigation mesh, but limited to trapezoid shap... |
I've seen a couple of examples of some game balancing techniques in books yet they are not comprehensive and not particularly aimed at MMORPGs but I'm looking for practical examples of game balancing techniques for MMORPGs. I am interested to know if anyone has documented the techniques used in popular games with prove... |
I'm making a casual game on iOS platform. But I'm not sure Do the consumers like my game. How can I make a market test for my game?
|
I am trying to have an explosion appear when a player lands on a mine. I checked out the particle example on the XNA website but it seemed to over complicate it a lot. So any simpler neater explosion particle effect would be cool to be linked to ;)
But on to the problem, i can't even see the explosion though i cannot s... |
I have posted this issue on stackoverflow, but unfortunately nobody couldn't find solution, maybe someone here know this.
I'm developing Side Scroll 2D Game, using AND ENGINE
https://i.stack.imgur.com/58Q1U.png
I'm using their SVG extension (I'm using vector graphic)
But I discovered strange and ugly effect, while movi... |
Hi I am searching for an open library (preferred in java) to generate user icons / badges for representing an user in an mmpg, rather than by his player name. The user does not need to take any actions to manipulate the icon by him self, but the system is auto generating the icon when the user is registering. Is there ... |
To be more precise, if I needed to recreate this functionality from scratch in another API (e.g. in OpenGL) what would it need to be capable of doing?
I do have a general idea of some of the steps, such as how it prepares an orthographic projection matrix and creates a quad for each draw call.
I'm not too familiar, how... |
I've reached the point in development where my Game Engine can actually do stuff, and it's time to start thinking about how to store / load the various bits and pieces where they need to be.
I've decided to go with file storage (rather than a database), which means I'm probably going to be using .xml, .json, or .csv fi... |
I decided to make my application for free but introduce donation button. For this I would use paypal. What are the advantages of this monetization model and what are other models to consider? My application is kinda educational so that's why I am thinking to make it free as I will try to send it to schools.
|
I'm working on a few features for a strategy engine I'm making. I'm trying to figure out the best spots to separate the components, as either option will provide the same amount of coupling, with the same effectiveness.
For example, all players have a Damage component, a Player component, and a HealthBar component:
ab... |
I am using a standard heightmapped procedural terrain in my project. However, I want the terrain to appear spherical when the user zooms out. This is an attempt to simulate the appearance of a spherical planet. Here is my current algorithm:
//get the direction from the "planet" center to this vert
Ve... |
Where can I find an easy to use and up to date C++ parser/library for the .tmx map format (used by the Tiled Map Editor) ?
EDIT: David's comment, 'Unless you want to build your game around the format of the parser..', got me thinking... So I have downloaded pugixml, which is an easy to use xml-parser with very straight... |
I'm making a game and I have a script (running it with Node) on the server that currently just randomly places things on the map... I'd like to change that. I saw something about Perlin noise but I'm not sure if that's the thing I want and I'm even less sure how to implement it...
I want something like this, green dot... |
I am about to start on a project which, at a minimum, will release to Android and iOS. Are there any game engines, other than Unity, which can publish to both? I fear that Unity might contain more overhead then we need, for what is essentially a 2D game.
|
I am creating the MC like terrain engine, and I have thought that lighting would make it look a whole lot nicer.The problem is that the blocks are not being lit properly when a block which emits light is placed (see the screenshots at the bottom on the page.
So far I want to implement minecraft's "blocky" lighting. So ... |
Is there a way one could bend an object, like a cylinder or a plane using OpenGL?
I'm an OpenGL beginner (I'm using OpenGL ES 2.0, if that matters, although I suspect, math matters most in this case, so it's somehow version independent), I understand the basics: translate, rotate, matrix transformations, etc. I was won... |
I was wondering how I can get my 110+ .png map tiles conveniently into a 1:1 pixel ratio size map .png. I've been scrolling through Google and forums for the free ware game that I am modding, but the app I'm using recognizes only .png files, and I want more than 1% of the map. If you guys know of a program I would be v... |
With the new (as of March 2011) landscape tool, the Unreal Development Kit supports bigger and (potentially) streaming landscapes than the old terrain tool. However, in my tests trying to import or create from scratch a small island (specifically, the island of Tenerife including some of the surrounding sea at 2m horiz... |
I am very much new to Android game development. and i have little idea about the canvas and open GL. in one of my requirement i wanted to draw a moving road/track(Jazzy). how should i start. please suggest me some approach/tutorial. Thanks
Below is the link for the reference..please take look at the road only
http://ww... |
I can't get it to work for the life of me. Its rotating the camera in the global coordinate system, or some other random coordinate system, not the camera local coordinate system. WASDEC work perfectly, right until I start rotating. Here's the annotated code:
//eye.r is the quat camera rotation
//eye.p is the vec3 ... |
I have recently finished a small framework that employs agents governed by a small hierarchical finite state machine, however I have quickly discovered the drawbacks of this approach. Namely the fact that increasing numbers of behaviours call for an exponentially complicated rule-base to govern the switches.
It occurs ... |
I'm having a few problems with collision detection in my game (written in C# with SDL.Net). Detecting the floor and roof is fine, as does detecting sides of tiles when not jumping/falling. My problem comes when the player jumps and hits one of the sides of a tile.
Sometimes the player (blue) enters the tile, like this:... |
I'm developing word game, similar to "Word Mole". I'm having a hard time determining how to store temporarily selected characters, which in turn, will changed into a word.
For example, say, I have the following characters:
0 1 2 3
0 O B O S
1 S F R H
2 T N E Z
3 R B D I
I store all this i... |
When you're trying to develop and iPad game what will be the differences between iPad 1 resources and iPad 2? Seen some example but what's the difference?
|
I'd like to get some information about my character from the game Star Wars: The Old Republic.
Is there some API available? If not, has someone reverse-engineered their protocols, so that I could get the same information by capturing the communication between the game servers and my computer?
|
I'm writing a simple model loader just to learn how models are loaded. I wrote a program to convert .OBJ files in a custom format. (It's virtually exactly the same as .OBJ, I wrote it once again just for learning). I can load all the data into std::vectors but I don't know how to put it into an array of vertices and in... |
I'm trying to make a tile matching game. User can select a pair of tiles from a square grid, and if they match, both are removed from the grid.
Tiles are matched if:
they are of the same type (many types of tiles are in the grid) AND
they can be connected in the grid (either adjacent, or has a clear path of empty s... |
In Farseer 3.3.1 for XNA, how do I change the origin of a Body? For example, when I create a Circle Body, instead of it rotating around its center, I want it to rotate around another specified point.
|
I am creating a Minecraft-like engine in XNA. What I want to do is create floating islands similar to the one shown in this video:
http://www.youtube.com/watch?v=gqHVOEPQK5g&feature=related
How would I replicate this using a world generator? Would I have to use some Perlin noise algorithm? I don't know how that wou... |
There are a few specific techniques to test if one object has hit another object in a game. One of them is called "double dispatch." Can someone explain what double dispatch is, and how it can be used to test hit objects?
|
The .obj files I export are missing data for vertex colors. Is there a way to include color information in the .obj file? If not, what are the alternatives?
|
How can I implement the fast forward feature for my tower defense game like in http://fieldrunners.com/ and other TD games?
I am using Unity 3D. Would there be something to manage fewer frames per second or some kind of manually set fast movement of enemies and tower firing speed, et cetera?
|
Background
I have a variable time step, component based game, with components that collectively hold an entity's properties and different systems that act on entities with certain required components.
The player controls a ship that can fire bullets. I have an input system that works on entities with a PlayerControlCom... |
Thinking about a common game, doesn't matter the type of the game, it's very likely that we need some camera type. For example:
Debug camera: controlled by keyboard and mouse, with that we are able to move around in any place of our scene.
Scripted camera: with that we can instruct the camera to move around, following... |
I'm on kinect coding with OpenNI, and i'm really enthusiastic of this new device!
I'm looking for some interaction pattern, like how to control movement of an actor in a 3d space.
anyone have some advice?
|
I have an input pipeline that stores InputObjects into a queue, which I then iterate through once every frame.
while(!inputQueue.isEmpty())
{
InputObject inp = inputQueue.pop();
boolean handled = false;
for(Entity entity : inputRecievingEntities)
{
//entity.manage() returns true if it wants t... |
I love the humble bundle. They are getting more and more generous, now including Pack #3 with Pack #4.
I am so confused. Will they last? Are they doing ok? They're putting so much out there, and if you donate less than $1, you get this image :
And that's it!
Is this really working?
|
Edit
Problem solved (see Drackir's answer). Here's a demo of what I was trying to achieve with this joint. More info about the scenario on this other question.
Problem
I'm trying to create a very specific type of joint in Farseer that behaves like this:
Objects should always keep the same distance between them in bo... |
Many games use random numbers for things like attack damage, gold loot, or monster type being spawned. It is obvious that random numbers allow you to generate content to make games more re-playable, but I am talking about specific things. For example: In DOTA, when you kill a monster you get a random amount of gold in ... |
Up until now I've handled a given object's rotation and translation separately using normal quaternions for rotation and vectors for translation. However I'd like to use dual quaternions to handle both an object's translation and rotation as I plan on using them for rigid body dynamics later. Basically I want it so I c... |
I have the following shader configuration code :
uint gBlendValue = 0xffffff00;
Terrain.Effect.GetVariableByName("gBlendValue").AsScalar().Set(gBlendValue);
And I have the following shader code :
// extract blend weights from gBlendValue - produces bVn values in the range [0,1]
float bV1 = ((gBlendValue >> 24) & 0xff)... |
I want to click on the particular sprite from the sprite sheet. For instance i have fruits sprite sheet i want to click on the particular fruit.
Thanks,
Jubin Mehta
|
I have an image background in surface view
I want to move something according to black surface.But i can not do this using height of this image as it return same height.and one more thing bitmap.getPixel is also not working.and my background is moving.So what is the way to achieve this feat
|
Pre. Having these matrix transformations:
var scale = Matrix.CreateScale(50f);
var eye = new Vector3(0, 0, 10.0f);
var view = Matrix.CreateLookAt(eye, Vector3.Zero, Vector3.Up);
var projection = scale * Matrix.CreateOrthographic(GraphicsDevice.Viewport.Width, GraphicsDevice.Viewport.Height, 1.0f, 1000f);
var rotation =... |
I have looked at two different vertex shaders that calculate luminance and both use a "magic" vector that I'm not sure the meaning of the the actual values. For instance:
const mediump vec3 Perception = vec3(0.299, 0.587, 0.114);
void main(void)
{
mediump vec3 color = texture2D(Sampler, TextureCoord).xyz;
medi... |
How can i calculate angle based on movement in C# XNA when i'm moving object with accelerometer? If object is moving up, sprite would rotate in corresponding direction. Should i use two vector coordinates(old, new) to calculate angle using Atan2?
|
Using Farseer 3.3.1 I want to create a rectangular BreakableBody with many pieces. Right now here is my code:
Vertices polygon = PolygonTools.CreateRectangle( 2.5f , 1.25f );
List<Vertices> triangulated = FlipcodeDecomposer.ConvexPartition(polygon);
BreakableBody breakableBody = new BreakableBody(triangulated, World,... |
What are best practices to add gameplay, to specific level? I have some event types, and my game logic now looks like. OnEnterSensor is virtual and is different for each level(01,02 ...). Game type platformer and what about other types of games and their logic description.
virtual bool OnEnterSensor( Entity* sensor... |
Repost from my question on stack overflow, didnt know this site existed.
I have a 2d platformer and I need help with collision. To show you my current collision system, here is picture:
Top picture is how game looks normally, bottom picture shows highlighted collision rectangles. Black ones are horizontal (If player r... |
I've read a few beginning iPhone game programming books, and they've helped tremendously in my education and advancement in creating a few simple games, but of all the books I've read, there doesn't seem to be anything about creating a Settings Menu or how to change and save settings within a game.
What are some ways t... |
I have read up on a tutorial that allows you to reuse sprites that are re-added to the scene such as bullets from a gun or any other objects using an ObjectPool.
In my game i have a variation of sprites about 6 all together with different textures.
This is how the object pool is set up with its own class extending Java... |
I'm extreme new to game development and this is my second project. I’m working on a platform game that expands on the Platformer example provided at the app hub, so far I’ve got parallax scrolling (horizontal and vertical), moving platforms, tight touch controls, double jumps, melee attacks projectiles, and Game State ... |
To begin with I am developing a PSP application so I have no clue how to debug a PSP application. That doesn't mean I do not know how debug period. Anyway, when I run the game everything runs fine but when I press the X button on the PSP I see no bullet being drawn or updated on the screen. I know the problem doesn't l... |
While in the rendering loop, is it OK to call glUseProgram? Does it have a big overhead? I'm planing to use a program for each different material in the scene. I'm a real beginner with OpenGL and I'm afraid that changing the program several times for each frame it's not the best practice (although I can't think of some... |
I got interested in studying graphic programming so the obvious entry point was to learn OpenGL. But gathering scattered information around forums and sites, it seems that a pure OpenGL implementation is fading out since most things pre-3.0 are being deprecated and quoting a review on Amazon, "since 3.0 it's all about ... |
I'm working on an OpenGL application and some routines render textured objects, some are just colored primitives. I was wondering if there was a standard convention for how to deal with setting the OpenGL 'state'.
For example, consider this routine (using OpenGL ES / OpenTK):
/// <summary>
/// Renders the given tile at... |
are there any light 3d iphone libraries that must have:
Physics ( ragdoll physics )
3D scene graph
Advanced lighting (lightmapping and stuff)
Sound engine
Ability to import 3D model from blender, 3d studio max, etc.
it should preferably be mature and have no bugs.
i have seen cocos3d but many say it is riddled with b... |
Do gamers developers use to write unit and integration tests? How common is it among puzzle developers? And among developers of MMORPGs and FPSes?
(I have no background in game development neither am I cogitating about working with it - it is just a doubt that occurred to me. So, no need of trying to convince me to wri... |
Simple question:
I have this image that is 200x200. I want to change it to 100x200 inside the HSLS, making it thin. Anyone have idea? I tried to do something like
output *= tex2D(CustomTextureSampler, float2(input.UV.x*2,input.UV.y));
Didn't work. it simple returns black.
|
Today I was looking at a still frame of a game, and noticed that all of the shadows were dynamic (created per frame). As we know, shadows can be quite expensive.
I was wondering why shadows could not be simply mapped at run time for non moving objects, and then only do dynamic shadows for players, vehicles, etc.
What a... |
I am developing an android game. and in this I want to move an object along a Bezier path.
my object is rotating with some angle on this curve.
I used this piece of code:
public void update() {
// check collision with bottom wall if heading down
if (droid.getSpeed().getyDirection() == Speed.DIRECTION_D... |
Can the time it takes for a packet to be transmitted from a client to the server fluctuate?
|
I have a landscape model, which goes from the coordinate -45, -45 to 90, 90.
The edge of the model just cuts off and i would like to somehow stop the screen from ever passing these points. Basically sticking a boundary so that you can't see off the side. The game is always in top view, with the camera directly facing d... |
I already understood how game developers could create very large game levels, bypassing the floating point precision limit.
This was my very first mind boggling question, and I understood it when I read how some programmer told the story of some dungeon PC game.
My question is more related to game networking, more prec... |
These days, I'm doing some research on component-based entity systems. I had a first approximation, using a blackboard pattern at the entity level, and with components sharing this blackboard to do communication.
Doing this research, I found an entity framework called Artemis, that follows a FRP structure for the entit... |
I have some friends who want to make the music for a game I'm developing. We have no idea where to start. I've seen software like Reason (way too expensive at $450). I've also seen stuff like GarageBand for $15. I'm happy to pay up to $50 for software, and I've seen some good quality free software like lmms. I just hav... |
I have seen some sites which shows servers(for online games) from various parts of world with there name and ip's. I am looking forward to develop something of same sort.
But the issue is how to get all the IP's of servers playing a certain game. Is there any criteria for the same. For eg: I want to list all online ser... |
For example, in a game like Diablo, how did they decide how much damage each skill does?
Is it the amount of clicks that the player needs to do? Or maybe the expected lifetime of a player? Maybe calculate the probability that the player will die?
|
I've been thinking about adding 3d support in my roguelike. It would still be top-down like other roguelikes, yet it would have layers, such that things like platforms, tunnels, and bridges, etc, could be added to levels. Whether I do this hinges on whether I can get the fov routine I'm using working with the layers.
N... |
If I missed the answer to this question being already posted I apologize but I was unable to find it.
I'm new to C# and XNA and converting a VB game I created into them. Im finding a problem I'm not sure how to get around.
I'm using a generic list that contains information about nonplayer characters including the Graph... |
I used WPF 3D to make a demo program a while ago. I'm now want to give some other things a shot but find working in WPF 3D ... confining. I have looked at Managed Direct3D but read that it's dead. I have looked at wrappers for OpenGL but they seem to be work in progress or documentation/tutorial sparse. XNA seems like ... |
I've seen interviews with certain games companies where they talk about getting stats back from their users, particularly with games on facebook.
This data allows the companies to monitor and adjust the difficulty of levels, see what's keeping people engaged etc.
I am just wondering exactly what sort of data would the... |
My game consists largely of "sea" tiles and areas of tiles to form "islands". Each "sea" tile is exactly the same.
The map is initially large and going to get larger. I'm trying to reduce the map size since, the majority of it is the same.
My initial thought:
Store just the islands with their locations within the map. ... |
I want to create a 3D game world where the players can modify the environment. I would like to bring it to the point where a power-user could even create "game objects" inside the application using some kind of very simple 3D modeling UI. So I decided to write this UI first, as I can then use it to create the game cont... |
I am currently working on a terminal text game just to practice my skills (C). It will be story driven escape the mansion kind of game. Even though the game will be short I want it to support save files.
Since I am new to game programming I am not sure how should I handle save files. The game will be short yet players ... |
I'm working with a stereo pair of photos, and trying to obtain a set of 3D points from matching points on these 2 images. How exactly is the point triangulated? Do you throw a ray from the camera pinhole centerpoint? Or do you throw a ray perpendicular to the photos?
Edit: I'm also looking for code examples, that docu... |
Given the 2 points describing a line segment, and the 3 points describing a quadratic bezier curve, how do you calculate if the line is facing towards or away from the curve?
The line has a fixed length, and is stored in 2D as x1/y1 and x2/y2. The curve is a quadratic bezier curve, and is stored as x1/y1 (control point... |
I learned 3ds Max two months ago. I am not perfect in it, but I used it to make a model of a house. I am interested in house architectures. I used to model everything in Max.
I have just started to learn AutoCAD and it has been two weeks. I realized that AutoCAD is very accurate in modelling floor plans, doors, windows... |
i think i just found the solution. 1) the problem is that backbuffer surface and source surface are of different formats - that is why exception was thrown. 2) the image path needed double slash "C\\......." ;)
=================================
I have been googling for a while but still cant come up with a solution to ... |
Possible Duplicate:
What techniques could I use to give players the ability to control certain features, e.g. fatness?
How are character creators(usually seen in RPGs) done?
Such as, the ability to change almost anything on the character, ranging from the size of the nose to overall height.
Sims also has a fairly ind... |
It would represent a map that is semi-square of arbitrary size. It would have a simple system for representation of the map coordinates, such as 0101 (first column, 1st hex). I'd want the map to be able to tell me the distance between two points and what other hexes lay between those two points, as a list or array.
I d... |
I was wondering how does the stars in night time in minecraft work, are they point sprites? And are they placed on a texture or just randomly placed on some far away location.
EDIT 1:
OK, well, with the imformation gathered concerning the minecraft skybox I now know that the stars are not directly textured onto a spher... |
I've been googling a bit and looking for ios game frameworks. It looks like cocos2d has the mindshare, and it looks like it has an active community. It also fits my budget ($0.00), as this is really more for fun than anything else.
Are there other open source alternatives worth looking at?
To be a bit more specific on... |
I'd like to have a procedural system that uses a string of data to create a 3d creature. The way I've thought to do this is to use the code to generate a simple creature skeleton (I'll get to the skin generation when I have time) so I can test different source data's effect on the structure produced.
How can i use a s... |
I am currently designing a game for small kids that have not yet learned to read and would like to get some opinions, and views, on scoring?
Given that these (hopefully) will be small children that cannot yet read or children that have just learned to read, between 2 - 5 maybe what about scoring, do you think that is n... |
I had a thought while ago. I read about bitBoard and I was curious, could be the concept be applied in 3D?
What I mean is to use a 3D matrix of boolean value, which correspond to the voxels. So that one could use the and, or, not, ecc bit operations to calculate if a position for example is occupied or not.
for example... |
I've created an animation entirely out of screen capture fragments and keyframes, and I haven't allowed enough time for one portion. I'd like to simply stretch out the time between two keyframes, pushing all other keyframes and exposures out to the right, but I can't see how to do it.
Here's a screenshot that shows my... |
UDK engine requires that end-users install .NET 4.0, but what about Windows XP users?
Is there any way to get rid of that requirement, by perhaps disabling certain features?
|
I'm having trouble finding sprite sheets that have the characters turn in 8th movements, so that you can see back, front, left, right, and in between. What would be a good term to search for when trying to find these kind of sprite sheets?
|
I'm making an MMO game and I just got to a point where I need to implement achievements... How do I do that? The most straight forward thing to do would be to run this once every 100ms,:
for a in achievements
for p in players
if a.meetsRequirements(p) then p.completeAchievement(a)
But that just raises even... |
I have an Android 2.2 device and I want to try to develop games for it.
I have three questions:
What is the best frame work to develop games.
Are there any good JavaScript ports or frameworks that let me develop to JavaScript and then to compile to Java ? ( or something like that )
Where do I start to learn how to d... |
In a 2D physics-based platformer game that has ladders in it, how do you determine whether the player moving up is caused by a jump or him climbing a ladder, such that you know what animation to play?
And in general, obviously the direction vector is not enought to determine the animation to play: how do you also dete... |
I've recently implemented a glow effect using a gaussian filter and could not get the full effect I was wanting. I'm curious to know if how certain glow effects are done in WoW. Like this image:
Around the sword is a really nice glow effect. How might this be done? Also, sometimes in WoW you see these glow effects tak... |
Just trying out the IOS build process....
Is it normal to see:
Q1 - "upgrade to latest project format - project currently in Xcode 3.1 format, this will upgrade to 3.2" - just click OK and let Xcode do it's stuff?
Q2 - same as Q1 but this time for the message "Remove obsolete build settings - will remove the build sett... |
I am trying to implement a FLICK gesture for throwing a ball from point A to point B on the iPhone. This is my current plan....
Using touchesBegan and touchesEnd I can find the direction I need to move the ball, and with a small counter, I can impact a certain velocity on the object.
My question is simple...
Is ther... |
I'm doing some research for a turn-based Strategy game project and looking for good resources on this topic. The game is a typical war game where countries can fight each other, deploy units and have these units move around on a hexagonal tilemap, attack each other, etc.
I'm particularly interested in how the AI of Civ... |
I'm just starting out as a game developer, and I'm finding some difficulty when naming classes.
I usually call the class that handles everything World, Map, or Grid. Then there's the names, inside.
For example, I'm making a Frogger clone, and I have a class for everything that moves on screen (I try to use MVC and I'... |
I have two components I'd like to connect them to each other.
PhysicalComponent
containing rigid body(position, rotation, velocity) and is holding body from physics engine.
GraphicsComponent
onscreen representation(position too, rotation too).
I'd like to sync this components, how to do it?
Read position, and rotati... |
Possible Duplicate:
Creating a basic character skeleton from code
I'd like to have a procedural system that uses a string of data to create a 3d creature. The way I've thought to do this is to use the code to generate a simple creature frame, and later add something to add additional detail.The goal is to create cre... |
I'm trying to render a tree made out of 2 rectangles intersecting in the center at a 90degree angle. The texture has an alpha channel but which ever rectangle gets rendered second causes a weird problem with the transparency.
Here is my rendering code:
public override void render(GraphicsDevice gd, Camera camera)
{
... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.