0
votes
0answers
6 views

Getting the Halo property of a point light in Unity

I am adding point lights in my scene ( max 6 ) and I want to be able to enable its Halo property via script. However in the documentation reference, they haven't mentioned how to enable the halo ...
1
vote
0answers
14 views

TypeLoadException when running a Monogame Windows Phone 8 game

Using Monogame, I'm trying to port a game to Windows Phone 8, but I'm having issues getting a basic example to run. When I create a basic Mono project and run it on my phone (to check everything's ...
12
votes
1answer
417 views

How are some games playable before fully downloaded?

Diablo 3 and StarCraft 2 have a nice feature: I can start playing before the full game/update has finished downloading. How does this work? How could I implement a similar feature? I guess Diablo 3 ...
0
votes
1answer
31 views

How do I position a cylinder between 2 points?

I found this code to draw a line between two mouse points. I want to do the same, but inverted; going in the other direction. The line should get larger from my first point toward the second. None ...
0
votes
0answers
30 views

My pool balls often jump around when there are two or more balls colliding/touching

I'm working through the book 'Introduction to Game Physics with Box2D' and I've created a little pool game with the example code. Despite the name, there is NO box 2D used in this particular exercise. ...
1
vote
1answer
10 views

How does the Maya ASCII FBX format store positions within animation?

I want to understand Maya's ASCII FBX format so I can convert animations in it to OSG (OpenSceneGraph) format. I have a simple sphere, with a translation in one direction for 30 frames baked into an ...
1
vote
0answers
33 views

How do I detect collisions between a particle-based net and a ball?

I've implemented a net using Verlet integration and many points connected with constrains; like this demo, but in 3D. I want to implement collision detection between this net and a ball (like in a ...
0
votes
1answer
14 views

QT for mobile games [on hold]

I'm a desktop apps developer (C++/Delphi) with lots of graphical development experience on Windows, using QT, OpenGL, DirectX For a year or more now I'm primarily using Linux as my development ...
0
votes
1answer
44 views

Location of “units” in Code

So, I've been playing around with the concept of a game, mechanically think of the Civilization games(Tile, turn-based strategy) but I am quite uncertain about where I should store the units location ...
0
votes
1answer
37 views

How to combine the camera that follows the player and the camera shake effect in Unity?

I need to combine both camera that follows the player and the camera shake effect in the same moment. The problem is in that, if I make the shake effect for the camera, then the camera doesn't follow ...
0
votes
0answers
8 views

how to add .tif importer to skinned model pipeline

I have model which is occuring .tif components but XNA can not import .tif.Because of that I should add a .tif importer to my skinned model processor. How can ı add this? My SkinnedModelProcessor into ...
0
votes
0answers
12 views

How to load and render PhysX 3.3 heightfield

I'm trying to load a PhysX 3.3 heightmap and render it with OpenGL using glm and glfw, but so far it doesn't seem to be working. I'm basing my code on the PhysX samples, and am also using FreeImage to ...
1
vote
1answer
38 views

How does the SDL dynamic API inject itself in statically linked code

I've been using SDL2 for development almost since it came out. Long story short, I stumbled upon the SDL dynamic api explanation. I've looked in SDL_Dynapi.c to understand how it works. I get that the ...
-1
votes
0answers
63 views

Best programming language for game development? [on hold]

Is java the best one for this job? Or is there languages better for game development?
1
vote
1answer
68 views

How can I create an aperture-closing effect?

I'm looking to create an effect like this in a game I'm making: I would describe it as a camera aperture closing. I have the following requirements: I need to be able to reverse the fade (open ...
0
votes
0answers
29 views

What is the easiest way to develop a fixed perspective 2D game with an isometric tiled map using Javascipt? [on hold]

The main stumbling block I've come across with the couple of libraries I've seen is that it's extremely difficult to add ramps or the idea of height. The basic idea I'm going for is Diablo 2. I've ...
0
votes
0answers
27 views

Retrieving adjacent object if existing [on hold]

I am doing a little game. Before performing an action, I need to know whether my current object is next to another object, i.e. trying to know if my object is adjacent on the world map (tile-based) to ...
0
votes
0answers
23 views

JavaScript UI library (for games)? [on hold]

I'm at the point with my HTML5 game where I'm looking for viable UI libraries that have at least basic widget support and support modern browsers (mobile support not needed). I've found three (that ...
0
votes
0answers
18 views

Inconsistency with custom WebGL shaders under linux with Three.js [on hold]

I'm experiencing some weird behavior with a relatively small custom shaders. This is the expected behavior as seen under windows. Unfortunately under linux (you can see the files ...
0
votes
0answers
33 views

3d Rotation problem

I was given an interesting (but tough) problem to solve: In a game, you want to change the heading of an enemy by +30°. Construct a Rotation Matrix, Euler Angles and a Quaternion that would do this. ...
0
votes
0answers
32 views

OpenGL: What's the best way to convert a screen coordinate to a world coordinate? [duplicate]

For example, suppose I'm building a first-person shooter and the player pulls the trigger. I want to convert the screen coordinate (x, y) into a world coordinate (x, y, z) to know what they've hit. ...
0
votes
0answers
17 views

HTML5/Javascript multi-platform games in Android/iOS: How fast is it? And any good frameworks? [on hold]

I've been wanting to get into mobile game development for a long time, and as a Web Developer, the idea of making a game in a web platform like HTML5 and Javascript that was compatible with any ...
2
votes
1answer
21 views

XNA: How do I match Spritebatch View/Projection Matrices with BasicEffect Matrices?

I'm rendering a bunch of 2D content using SpriteBatches to a default XNA viewport. A simple 2D camera is used to move around the scene, which generates a transformation matrix passed to each ...
1
vote
0answers
18 views

How do I pause and resume a game in ActionScript 2?

I'm making a game where the player must avoid random falling objects. I dont know how to implement pausing. I've been stuck on this for 2 days! I tried using gotoAndPlay and such, but the objects ...
-1
votes
0answers
21 views

3d game engines [on hold]

I can create 2d games using libGDX , box2D (Java) ,but I want to start create 3d games , but I don`t know where to start . I have looked a little tutorial of creating shooter using cryengine and he ...
0
votes
1answer
46 views

Per vertex diffuse lighting not propogating across entire model

I'm not sure how to describe this problem so I've added a picture. When I add per vertex diffuse lighting to my model (just a field of cubes for simplicity) the lighting effect applies to each ...
0
votes
0answers
10 views

IDXGISwapChain::ResizeBuffers - should I recreate the depth/stencil buffer too?

When I resize the buffers via IDXGISwapChain::ResizeBuffers(), it is required to release any references to views to the back buffer. That of course makes sense, because the back buffer texture is ...
0
votes
0answers
26 views

How do I make my character move during its animation?

I have an OGRE animation problem: I want to control a character with the WASD keys, but pressing W, the character only moves once the animation completes. I want to move the character with the ...
0
votes
0answers
21 views

How to move vertices of matrix in order to cast a 2d shadow?

I am trying to add shadows to my 2D xna game. Currently I have created a "shadow" using the texture of the caster with a transparent gray color, rotated, and stretched using a matrix. This, though, ...
0
votes
0answers
17 views

Scaling UDK landscape material

I have been following some guides off this site, more specifically the "Random Tiling Masks: Randomize the texture mapping to reduce tiling" section and I have run into an issue regarding scaling of ...
0
votes
0answers
25 views

Unity 4.6 GUI causing issue [on hold]

I am in a trouble. I have a Unity 4.6 button that is the child of an Image object. The button changes it's position and sets on the center whatever anchoring mode I use. The Tragic thing is that When ...
0
votes
0answers
28 views

2D Bullets / particles in parallax [on hold]

Parallax in 2d games is a method to create an illusion of depth. Sprites representing entities that are further away appear smaller and move more slowly. Sprites that are closer, appear bigger and ...
1
vote
1answer
63 views

Infinite loop of prerendered 3d graphic

I have a game where I want a never ending pathway for the character to walk along. So in my 3d modeling tool I created a path like this: now I want to loop that model over and over in my ...
1
vote
0answers
32 views

XNA and Json.Net - Recognizing types when deserializing with inherited classes [on hold]

The title may seem a bit confusing, so let me explain. I am using Json.Net and XNA. I have an entity class, that has a virtual update method. I also have a class named Monster, which inherits the ...
0
votes
0answers
29 views

Place to find testers to try a new level in an existing game [on hold]

I designed a new level in an existing game. I am looking for testers to try whether a specific achievement is possible in the level. Is there any place to find testers to try a new level in an ...
2
votes
1answer
115 views

Avoiding memory allocation in Android game development

For obvious reasons, allocating memory on the fly in Android game development is not recommended. For example: http://developer.android.com/training/articles/perf-tips.html: There are two basic ...
0
votes
1answer
68 views

Alternative to Update()

Here is my noobish scenario I'm trying to understand: Some class, Terrain: void Start() { ... switch (Type) { case TerrainType.StartPoint: ...
1
vote
1answer
42 views

What is the relationship between glVertexAttribPointer index and GLSL location?

I've been getting some strange results when trying to implement a normals buffer for the purpose of rendering lighting. It seems to be related to the indexes for glEnableVertexAttribArray, ...
-2
votes
0answers
42 views

How to check the Intersection the line and triangle in 3D [on hold]

For example there is a code: struct Point { public int X; public int Y; public int Z; } struct Triangle { public Point p1; public Point p2; public Point p3; } struct Line { ...
3
votes
1answer
52 views

what is the name for the category of game that use a real time clock as the game time like die2nite.com

I was looking for more game like http://www.die2nite.com and http://mush.twinoid.com/ They use real time as the fictional time. Player are given a number of action point they can use freely during a ...
1
vote
0answers
26 views

Variance shadow maps less blurred than normal shadow map

I've implemented VSM (and also ESM) in my engine but results are for me not as I expected and saw in many examples published on network. I set filtering of shadow maps to GL_LINEAR but when I compare ...
0
votes
1answer
63 views

Avoiding singletons for puzzle system

Say for instance I have a puzzle with 3 switches that need to be in some configuration (say all on) in one room, that opens a door in another, with a load screen separating, so I can't link the ...
2
votes
1answer
53 views

How can I access a script variable from another script in Unity?

I'm creating a space shooter (think Space Invaders or Galaga) where the GameManager persists between scenes but the player and enemies don't. I need to access a boolean value from the player and ...
0
votes
0answers
11 views

How can you duplicat folders and not share old dependencies in Unity?

I have a folder with some prefabs, materials, textures, FBX, etc. My Prefabs refers to FBXs and Materials in this folder. Can I clone this folder in a way that it will save those local dependencies? ...
2
votes
1answer
88 views

Collision detection between 2 irregular shapes

I need to implement a collision system for a vertical-shotter and the bullets can have any type of shape; i've implemented the shape class with an array of choords and an array of lines which have the ...
1
vote
0answers
36 views

Shadow map shimmering, indexing outside the shadow map

I have tried to reduce shadow shimmering/flickering using technique described here: http://msdn.microsoft.com/en-us/library/windows/desktop/ee416324%28v=vs.85%29.aspx I works as I want and shimmering ...
0
votes
1answer
71 views

Why does GameComponent have an Initialize() method?

I'm not sure if this exact question has been asked before, but all I could find were questions about how to work with GameComponent, or why something wasn't working. I understand that you overload ...
0
votes
0answers
40 views

How can I store Key/Button bindings separately in a datastructure?

I want to let the player set their own keybinds, and it's working well. However, I can't tell keyboard Key from controller Button when displaying them in the menu. I store the inputs in a INI file and ...
5
votes
2answers
764 views

Are there any hex tile sizes where both width and height are integers?

I'm trying to figure out the optimal width and height (in pixels) to start building hex tiles for game development. My preference is for "flat topped" hex grids, but the math is similar for both. I ...
-1
votes
0answers
54 views

Percentage HP (100%) vs. Numbered HP (100/100) — Mobile Role-Playing Game [on hold]

Just wondered what everyone's preference would be for a health bar. I am making a RPG game for android and apple phones and Im trying to get as much feedback as possible.... even on the tiny things ...

15 30 50 per page