0
votes
0answers
27 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
32 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
21 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
29 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
66 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
1answer
22 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
35 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
42 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
27 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 ...
2
votes
1answer
75 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
33 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
32 views

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

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
134 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
72 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
51 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
43 views

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

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
84 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 ...
2
votes
0answers
35 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
2answers
93 views

Avoiding singletons for puzzle system [on hold]

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
59 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
111 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
38 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
74 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
836 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
59 views

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

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 ...
2
votes
2answers
93 views

Calculating gameObjects hit by a directional light source

I am trying to figure out in my current game whether a gameObject is lit by a directional light or not. Below is my image inside the Unity game engine As my game runs around a Day/Night cycle, I ...
1
vote
1answer
73 views

Rotate an arrow on a plane?

I'm creating a display for a GPS-based embedded system and would like to have an arrow indicating the current bearing. I'd love the arrow to have a 3d appearance by rotating it on a plane tilted up ...
0
votes
1answer
49 views

Suggestions for a game variable [on hold]

Im developing a browser game where you can build various buildings that cost varying amounts of resources, all text based. Buildings take land to build and cannot be built unless theres free space, ...
0
votes
3answers
55 views

Add a Countdown Timer that increments in JavaScript and resets per level(Resovled)

I am currently developing a Simon says type game using jquery and javascript. I have linked a fully copy of the game on github Github download and unzip to see the game fully ...
0
votes
0answers
24 views

Can't get libGDX to work! [closed]

I was just trying to make simple game using libGDX, just to try it out, but it looks like I can't set it up. I am using Eclipse+ADT bundle. I also set the android sdk location there. The only thing I ...
0
votes
1answer
65 views

Possible to create 3-D or accelerated graphics on Windows using your own library/API?

Say I want to come up with a way to replace what OpenGL and DirectX specifications do: communicate with GPU to get some functions done that help hardware-acceleration and rapid drawing of screen data. ...
0
votes
0answers
24 views

ID3D11DeviceContext Map/Unmap bottleneck

I maintain a small rendering engine that displays models in Direct3D 9. I'm currently migrating this to Direct3D 11, and I've hit a snag in how I display points on the model. Using a sphere mesh, I ...
0
votes
0answers
20 views

Tech recommendation for simple multiplayer browser games [closed]

I want to create a simple multiplayer browser game. It's basically a simplified chess game, where players would move pieces and I'd program a specific set of rules on the engine. I am proficient in ...
0
votes
0answers
81 views

3d game math problem

i'm very much new to 3d math operations. I know how to rotate 3d points certain degrees arbitrarily by any axis but we were given a strange problem to think on. I'll spare using actual numbers on ...
0
votes
0answers
36 views

Shadow mapping comparing depth in GLSL

I've been trying to figure out how to compare against my shadow map, which has a shader that just does the following: gl_FragColor.r = gl_FragCoord.z; And my vertex shader for the render pass does ...
0
votes
0answers
23 views

Artoolkit, transform pixels coordinates to be aligned to the marker

I'm working with artoolkit, i was trying to get the marker pixels using dataptr and marker_info (x,y coordinate), then i used opengl (GL_POINTS) to draw on these pixels and that was working right in ...
4
votes
2answers
314 views
+200

Should I have multiple small textures or a single big one?

I'm using SDL 2 to create a small 2D game. Based on the docs, this is what I would do: SDL_Surface *surface = SDL_LoadBMP("image.bmp"); SDL_Texture *texture = SDL_CreateTextureFromSurface(renderer, ...
1
vote
0answers
66 views

How to setup a particular blend state where the alpha channel is additive?

I would like to set a blend state to be "additive" and do the following: Result.R = Source.R + Destination.R; Result.G = Source.G + Destination.G; Result.B = Source.B + Destination.B; Result.A = ...
0
votes
0answers
34 views

Create a sprite in Unity that has a border that does not change its width when scaling

I am trying to create a box that has a 10 pixel border and when I scale that box I would like the border to stay 10 pixels no matter the size. I am currently trying to create an empty game object ...
0
votes
2answers
67 views

How to write an adjacency algorithm that compares position data?

I have a list of indexed triangles for which I need to generate adjacency data. I've already written a brute force algorithm that creates 3 edge data structures for each triangle and then compares the ...
0
votes
0answers
19 views

XNA: Does the position of mouseState matter? [migrated]

In order to get a single click response from MouseState, I use this line. currentMouseState.LeftButton == ButtonState.Pressed && oldMouseState.LeftButton == ButtonState.Released) And at the ...
-1
votes
1answer
28 views

Screen flashing while window is open [closed]

The screen renders everything in the right place but the entire screen flickers/flashes while it's open. Any Ideas? TileMapEditor class import com.stardust.main.gfx.Assets; import java.awt.Graphics; ...
0
votes
0answers
9 views

Creating bullets at tip of rotateable object? [duplicate]

I am and not very good at trigonometry or whatever it is i'm even using. My problem is that I simply cannot figure out how to create the bullets exactly at the point of my object. The object rotates ...
0
votes
0answers
6 views

Circular references in Nation-Town-Citizens chain [migrated]

Say I have three classes, Nation, Town, and Citizen. A nation contains towns, and a town contains citizens. public class Nation { Set<Town> towns; } public class Town { ...
0
votes
0answers
13 views

portable pti chamber editor

is there a portable version of the pti editor that does not rely on the p2 game files for chamber Development as i do not yet wish to use hammer or something that advanced
1
vote
0answers
62 views

Best view for 2D Android game in Xamarin [closed]

I am trying to create a 2D multiplayer turn-based cooperative game for Android in Xamarin with possible future implementations for Windows Phone and iOS. The main inspiration for my game is Pandemic. ...

15 30 50 per page