0
votes
2answers
13 views

What is the pixels to units property in Unity sprites used for?

I'm starting to learn Unity for 2D development. So, I am importing several sprites into the game, and I couldn't help but notice that there is a "pixels to units" property, by default on 100. I ...
0
votes
0answers
11 views

Games that hide stats to discourage min-maxing

One of the things I dislike about every MMO I've ever played is the tendency toward min-maxing. The fact that you can do it makes it necessary to do it if you want to be considered a "serious" ...
0
votes
0answers
7 views

How can I control the “speed” of a func_rotating object via Squirrel scripting in Portal 2?

I wish there was a better place to ask this, but I've ran out of ideas (after googling and finding nothing even close to what I'm looking for). I basically have this rotating platform. At the ...
0
votes
1answer
173 views

Layout and Sprite in Andengine

I m playing video in andengine on @Override protected void onSetContentView() {} but when i place sprite in screen at some point of time it is placed behind that videoview but i need to appear ...
0
votes
0answers
25 views

Parallelism and Functional programming

I have had a recent interest in functional programming and found it to be most appealing to me. However, coming from a OOP background i can't seem to wrap my head around some problems. The main ...
0
votes
0answers
25 views

Ambient occlusion: Correct culling after anisotropy correction

I've added simple ambient occlusion to my game and I had to add the anisotropy correction. This means some faces had to be flipped in order to fix the issue. My question however is how I should fix ...
0
votes
2answers
78 views

2D Lighting Glitch

I've been working on a game in Java, and recently I decided to try out my game on a netbook just to see how it would run. While I do get a constant and decent FPS, it appears that my lighting ...
2
votes
2answers
43 views

Rendering after interpolating, renders inside/outside other objects

So, we're working out our interpolated render-coordinates during our render call and it's doing a fantastic job of smoothing everything out. All is great and collision detection is working to a ...
1
vote
1answer
37 views

Usage of math.Atan2 in a 3D coordinate system with Unity

I have a simple question on usage of math.Atan2 function with Unity in a 3D environment. I found this code on Unity's documentation for Math.Atan2. I changed it a bit to fit my needs. Vector3 ...
0
votes
0answers
29 views

How to add Level and expiriance [on hold]

I'm making Shump defense game. Where you defend a base with your ship while hordes of enemy's shoot at you and your base. What i need is after each kill to get some exp while base gets level after ...
1
vote
2answers
34 views

Vertex Skinning Looks Messy on Real Android Device using Monodroid

I have no problem doing the "vertex skinning" for three-dimensional animation. All goes well when using the emulator (and genymotion). However, when run on a real device (such as Samsung and Lenovo) ...
0
votes
1answer
60 views

3D position of an arbitrary UV coordinate

I have a UV map for a 3D mesh that encodes "links" between pairs of UV coordinates. I have previously defined this links (or pairs), one to one. The links are enconded using the function rgb_color(u1, ...
2
votes
2answers
61 views

Rendering Many Objects in OpenGL4

Sorry for asking such a basic question. I am reading books on OpenGL4 but in most examples they generally render only objects. So I understand how to deal with vertex buffers and vertex array buffers, ...
0
votes
1answer
18 views

Terrain (mesh) textures in Unity - blurry?

I've created a 3D mesh in blender which will be used as a terrain in Unity. Additionaly, I created a 900x900 texture which I'd like to apply as material to the mesh. However, unlike with the normal ...
1
vote
1answer
201 views

Which gesture recognizer should I use to handle multiple simultaneous flicks?

So, if you can picture a game with little ninjas running down at you, and a bunch of shurikens at the bottom of the screen, you're picturing the set-up I'm addressing. I want the player to be able ...
2
votes
5answers
2k views

Hide collision layer in libgdx with TiledMap?

I'm making a 2D game with libgdx, and I'm using its TileMapRenderer to render my map which I have made in the map editor Tiled. In Tiled I have a dedicated collision layer. However, I can't figure out ...
2
votes
1answer
23 views

Unity - Imported meshes from Blender always corrupt

I want to import a terrain mesh I made in Blender into Unity, however Unity seems to fail to load it correctly. What could be the reason behind this and how can I fix it?
-1
votes
0answers
10 views

Color values are not setting properly

I'm using unity 4.3 and NGUI 2.7. Using NGUI, i created two buttons (one for red and one for green). To each of these buttons, i attached a script: public class Green : MonoBehaviour { public ...
0
votes
0answers
24 views

Advice for implementing gear/effects/abilities

I've been struggling with this for about a month now so I finally turn to the masters for advice. I'm working on a platformer/rpg game and I'm trying to implement gear/effects/abilities as the title ...
1
vote
2answers
211 views

How can I get a direction vector from a an Euler angle?

Im trying to get a directional vector from an euler angle. But im not getting how to do it. This is what i got so far. escapeAngle += 90; var radians = escapeAngle * (Mathf.PI / ...
0
votes
0answers
14 views

Bullet Physics without Collision response

I have a 3D game where gravity doesn't really make sense so I was doing it myself, however I was hoping to use Bullet for collision detection. My first try was to make everything a trigger, but this ...
2
votes
1answer
27 views

How can I move an object in a direction other than the ordinals?

I want to move a game object from its current position to the mouse position, but my current code only ever moves in one of the eight ordinal directions. In other words, I want it to move along the ...
0
votes
2answers
281 views

Use both AddForceAtPoint and change velocity property?

I'm using Rigidbody2D for some game objects. It seems that when I AddForce() or AddForceAtPoint(), the game objects are mostly affected on the Y axis and hardly at all on the x axis. I don't ...
-1
votes
0answers
18 views

What is the cheapest way to quickly and easily make a mobile-friendly HTML5 game? [on hold]

What is the cheapest way to quickly and easily make a mobile-friendly HTML5 game? It doesn't have to be terribly complex or original. Of course, I could find a contractor with relevant experience and ...
-3
votes
0answers
33 views

Please recommend any API to write bot on WIndows [on hold]

What API exist to write bots for internet games like Diablo III on windows box. Where all data exist on remote server. Ideally if api is written in java. But C# is also OK.
1
vote
0answers
26 views

Correct multiplication order for a 2D Matrix

I'm currently trying to create a camera and entity/model matrix for my 2D game similar to that of Unity3D. I've already tried to find answers to this question on stackoverflow/gamedev but i couldn't ...
1
vote
1answer
19 views

Hexagonal Game Board Modal?

Tile-based games like Chess have a simple modal: an array of arrays, each coordinate with an X and a Y value. This is easy to implement, and it is easy to figure out what is going on. However, ...
-1
votes
0answers
22 views

How many people use SDL vs SFML? [on hold]

There are topics all over the internet about SFML vs SDL, this is not the topic of this discussion. I just would like to know how many of you use SFML and how many use SDL. Or neither.
0
votes
0answers
7 views

Choosing 2d multiplatform game engine for mobile devices [on hold]

For some time I have few simple game ideas (pretty basic 2d games) and I would like to realize them. My target platform is mobile devices - android and iOS. My programming background is mostly web ...
0
votes
1answer
24 views

How to reuse code [on hold]

I have three classes. Monster derives from Animation. Animation derives from Collider. This is, monster is an animated collider. However, I'd like to have animated objects that are not colliders. ...
0
votes
0answers
11 views

Looking for a massively light 3D rendering solution for Prizm [on hold]

I would like to dabble in programming 3D games for a nifty device called the Casio Prizm. however, I don't neccesarily want to "reinvent the wheel", so to speak, and would like to try and use an ...
5
votes
1answer
922 views

Exponential Variance Shadow Mapping - implementation

I use a variance shadow mapping with a "standard" light bleeding fix in my graphics engine which is based on deferred rendering.. I have a single shadow map for a directional light beacause a test ...
1
vote
3answers
72 views

How to handle network game

I'm currently building my own game using LIBGdx in JAVA but i'm facing some trouble. My game is base like this : A player have a position and some other parameters that are float, int types. He also ...
-1
votes
0answers
11 views

getting sprite coordinates of mouse position java slick2D tiled map

How to get sprite coords of mouse position? Game engine Slick2d. Tiled map 16x16. Camera public class Camera { public int x, y; Object object; public Camera(int x, int y) { this.x = x; ...
2
votes
0answers
27 views

Edit spawn location according to vector direction

I'm trying to make a turret in Bukkit (Java). This will shoot an arrow to the players that are in the shooting radius. But now I've a little problem, the arrow gets stuck inside the block where its ...
1
vote
1answer
85 views

How to implement camera pan like in Maya?

I am trying to implement camera pan like the one in Maya. I've got it almost working. The problem is that the mouse cursor is moving faster than the 3d mesh (in fact I am moving the camera but I ...
1
vote
1answer
327 views

Sprite collision with color?

Is this possible? To elaborate, I am making a PacMan offshoot. Essentially it is a "zoomed in" version of the game, but the board is randomly generated. I have 11 .png files each to be used as a ...
0
votes
0answers
30 views

World of Tanks Mods [on hold]

Ok, let me just get straight to it. How do I create a World of Tanks Moderation? I understand that this may be off-topic, but this was the closest Exchange I could for creating a World of Tanks Mods. ...
0
votes
1answer
748 views

How to make custom shaped holes in terrain

So I'm trying to create a game where you fit certain shaped objects into the hole that fits them (similar to the young children's game with different shaped blocks) in Unity 3D. I've encountered a ...
0
votes
1answer
272 views

Disappearring instances of VertexPositionColor using MonoGame

I am a complete beginner in graphics developing with XNA/Monogame. Started my own project using Monogame 3.0 for WinRT. I have this unexplainable issue that some of the vertices disappear while doing ...
1
vote
1answer
211 views

Calculating shadowmap coordinates for cubemap in shading pass?

I'm trying to implement shadow mapping with cube maps. I believe I've done the first stage by filling the cube map, but for the final shading pass I am unsure how to exactly calculate the cubemap ...
0
votes
2answers
31 views

Gameobject-Component model with many background tiles - long iteration time

So I'm making a game engine for a game I'm making - the game is a 2D tile-based game I've implemented a gameobject-component style for the engine, for decoupling reasons However, every frame, the ...
2
votes
1answer
71 views

Is UDK related to UE4?

I started learning how to make games with Unity, but I saw that it was really easy to make content with Unreal Engine 4. Unfortunately, UE4 costs and I want to try and keep costs as low as possible ...
0
votes
1answer
134 views

Rectangle touch sides of another rectangle

I am making a platformer game and im trying to make the player collide with all the blocks, here's a picture: The blocks is stored in List and im trying to get the side's of the block usin static ...
0
votes
0answers
13 views

calculating avoidance forces for similar objects unity

I am trying to work on collision avoidance for my troops. Currently all my troops have their target object as the leader who is wandering in physical space. The troops just follow the leader but they ...
0
votes
2answers
170 views

Multiplayer game object prediction & server reconciliation

In the game we have 3 objects. Player 1 Player 2 Ball The game is simulating in the server. The players simulated with Prediction and Server Reconciliation. It's working smooth with 100ms - 120ms ...
0
votes
1answer
24 views

Composition and passing pointers to parent, or work inside namespaces

My application right now has a Game class, which contains other classes that receive a Game pointer. Also these classes passes the Game* pointer to their subclasses. I do this to keep communication ...
0
votes
1answer
122 views

Water Physics In top down 2D game

I have been making a game like Minecraft or Terraria in which you add blocks and such to the world, and I came across this interesting debacle, the game is in a top down 2D perspective, and I would ...
1
vote
2answers
1k views

Octrees as data structure

In my cube world, I want to use octrees to represent my chunks of 20x20x20 cubes for frustum and occlusion culling. I understand how octrees work, I just dont know if I'm going about this the right ...
0
votes
1answer
22 views

Moving gameobject with animation according to my script Unity3D

I am developing a game with Unity3D with an horizontal list of elements which you can move with arrows. Here you can see an example: I have created animations in order to modify the alpha value of ...

15 30 50 per page