0
votes
2answers
12 views

How animate objets seperately?

I've set up a simple scene with some triangle and quads. With glPushMatrix() and glPopMatrix() i achieved to move an object to a new position, relative to another object in my render scene, but what ...
0
votes
0answers
5 views

Mix multisample and non multisample rendering in Directx11

is there a way to mix multisample and non multisample rendering in Directx11? It seems that when I create a multisampled render target I always get a multisampled rendering, regardless of the value of ...
0
votes
0answers
6 views

function of spriteBatch and Game1.draw method in XNA

I'm supposed te create a game for school in java but I already programmed games in XNA before this. Thats why I started reproducing the XNA framework (only gametime spritebatch and game1 class) I ...
0
votes
1answer
28 views

How to pass content through the project's structure efficiently?

so following situation. I have a project which is structured something like this. Game1 -> GameManager -> Module (multiple instances) During runtime units are being spawned in each instance of the ...
-2
votes
0answers
19 views

Looking for way to slow android game by 1/2

Im playing an android game called pumped bmx 2. What I would like to do is play this game at a lower speed so I can clear a couple levels. I have a galaxy s3. Just figired there had tk be an easy ...
0
votes
0answers
11 views

Normalizing a homogeneous 3d point

As I've seen corruption in geometry, why is it a bad idea to normalize a homogeneous (divide by w) the vertex position returned from vertex shader?
1
vote
0answers
16 views

Questions about scaling in a 2d game in unity

Okay, so: I am making an android game. I want everything to scale to the size of the screen I'm using. Further, my static background needs to scale (as well as every other object), but if the aspect ...
0
votes
0answers
8 views

Unity IOS game restart when you press the home button

Why does my unity IOS game restart when i press the home button on the device? The same game worked fine on Android device and did not restart on pressing the home button. Thanks
0
votes
1answer
45 views

Shader that draws just vertex points

The game I am developing is in unity and I want to make a shader which can be put on a mesh that only 'draws' color on each vertex point. I am not proficient with shaders, and out of all my searching ...
1
vote
0answers
12 views

Sprites and AssetBundles

I packed some sprites into an AssetBundle and uploaded it to my server. The sprites are set to type Advanced, so I can check the read/write enabled box. When my game downloads it I want to initialize ...
0
votes
0answers
9 views

What is the `AssetBundle` dropdown in the inspector for?

I know what an AssetBundle is alright. But what is the dropdown at the bottom right for? Apparently you can choose an asset bundle for this asset to belong to. So what? What happens when you choose ...
0
votes
0answers
4 views

Sharpdx DirectX11 MapSubresource is failing trying to map a staging texture

I'm trying to render to a texture and then pull the image data out. I've created one texture as a render target and another as a staging texture. After rendering to the render target, I use ...
0
votes
1answer
27 views

Getting the real fragment depth in GLSL

I am trying to write a simple GLSL shader that just renders the real (not normalized) depth of a fragment as a floating point value. So far, I've figured out how to get the depth of a vertex, and ...
0
votes
0answers
35 views

minecraft source code for use in mods

So I am teaching a class where we will be using java to make minecraft mods. To keep things simple, we are using a third party program to set up the under-the-hood stuff for us (that way we don't have ...
0
votes
2answers
26 views

Refer to a gameobject on start

So I want my script to set the initial position of an object depending on the size of the screen and whatever. How do I refer to the gameobject? I know you can modify stuff like their location if the ...
-1
votes
0answers
26 views

How to move a sprite across the screen back-and-forth

This is a 2d game, which contains moving platforms that are spawned randomly along the X axis. I need to move them across the screen horizontally, but when they hit the edge, they will move in ...
1
vote
1answer
20 views

Check if object is overlapping

I have two objects, both of them with polygon colliders. When I click on one of the objects, I want the player to drag it on top of the other object (without collision). If there is overlap when he ...
0
votes
0answers
13 views

Visual Studio 2012(Unreal Script) an error occured trying to load page The parameter is incorrect [on hold]

In Visual Studio 2012 I'm trying set up for unrealscript(UE3) and i would like to change something on my project but when I right click>Properties I get this error; An error occurred trying to ...
-2
votes
0answers
38 views

o whant to make unity laser 2d [on hold]

hi i am new in unity and i whant to creat a 2d laser light and i whant to make it move like this vidéo exemple :laser exemple https://www.youtube.com/watch?v=d2EI10mCEMo i have try sow many code ...
0
votes
1answer
37 views

Understanding Scene Graphs and Graph Edges

So I'm trying to getting to grips with using Scene graphs and nodes in my code (game coding in C++) and I think I understand the basics of them and how they are used (and I can definitely see the ...
10
votes
5answers
913 views

What's the fastest way checking if two moving AABBs intersect?

I have two AABBs that are moving, what's the fastest way to check if they will intersect under a frame? By moving I mean not just to check with the usual rectangle intersection method, I mean some ...
2
votes
0answers
30 views

Frame independent buoyancy using Substepping

I am having trouble with a frame independent buoyancy force using substepping in Unreal Engine 4. The original problem (which I am attempting to solve using substepping) is that when you apply a ...
0
votes
1answer
52 views

Crop a texture procedurally

Is there a way to crop a texture having a list of triangles which represent the part to be kept? For instance, I have a rectangular texture and I want to obtain a texture shaped by the triangle list I ...
0
votes
1answer
31 views

Distortion problem with perspective projection

For various reasons – partly educational, partly technical – I'm writing a 3D game engine from scratch, using OpenGL 3.0; aiming for Core Profile, eventually, so of course I'm using a custom matrix ...
0
votes
0answers
23 views

Three.js: Lighting not calculating correctly on THREE.Geometry objects

I have a three.js (REVISION: '68') issue with the lighting of THREE.Geometry objects: I'm using the THREE.Geometry class to build up objects using vertices and faces, then I computeFaceNormals() ...
-2
votes
0answers
30 views

Searching for a good Code example for a Java platformer [on hold]

I am like the titel tells you, I am searching for a example. I learn by looking at things and then taking them apart, so what i need now is a well made platformer. The Platformer should feature ...
0
votes
0answers
8 views

Libgdx LiveWallpaper [on hold]

I am working on Live wallpaper application, and this is my first libgdx application. my code is working but my problem is that more objects are coming.. how to reduce the amount of objects (Hearts) ...
0
votes
0answers
21 views

calculate UVs to stretch texture

I wrote a trail renderer and just saw a tutorial on youtube which shows the unity trailrenderer, it seems the texture is stretched over the entire trail. Currently I have a very simple UV mapping ...
0
votes
0answers
29 views

Stuck on a steering problem

i'm building a car game, and currently working on the steering. i would like to change the motion of Z rotation so that the car rotates around the Z axis when the wheels are turned. I can't set the ...
0
votes
2answers
26 views

Simple LibGDX Pong game drag player instead of getting x position

I got a working pong game in LibGDX but when I touch the screen the player x automaticly jumps to the coordinates I touched. I wan't my game to detect I touched and then move the player to the ...
0
votes
0answers
13 views

how to fix the character flip when using orthographic camer libgdx

i used orthographic camera to follow the character(player) but the problem that is my character is flipped there is no tutorials on how to fix this please help as fast as possible here is my create ...
0
votes
0answers
24 views

What's your favourite WebGL-based materials system? [on hold]

Out of all the WebGL frameworks out there, there are many variations on the way interaction between lights, textures and materials are modeled. For example, GLGE textures have an "applyTo" that ...
0
votes
0answers
13 views

Perspective Projection Far Plane Not Clipping?

I've just discovered that far away objects in my world don't seem to clip like they should with a perspective projection matrix. When I fly far away from my main landscape, so that I am much more ...
0
votes
0answers
28 views

How to create custom cubemap images?

I managed to use cube maps in OpenGL to get reflection and refraction effects. So far I used images from this site, however, I want to create my own set of images to use in a cubemap, the idea is just ...
0
votes
1answer
42 views

Reflection/environment mapping

I'm implementing reflection/environment mapping using a cubemap. I have it working for the most part but when I move my camera around, I see the same area reflected on the object. I am calculating the ...
2
votes
2answers
89 views

Releasing a demo in an unfinished state? [on hold]

I'm a fairly unexperienced game developer, (despite having some coding abilities) as i never really had the opportunity to launch more than 1 "finished" game. So in terms of getting the word out, ...
0
votes
0answers
12 views

Could you advice me which book or books should I go for?‏‏ [on hold]

I am into game development and I am looking to buy Physically based rendering:From theory to implementation 2nd edition. I want to create my own rendering,lighting and shading solution which will be ...
0
votes
0answers
11 views

Adding new assets to already packaged resources

I have written a small utility using Unity3d for video playback. Everything is great so far, distributable will work fine when all the videos are present during making a build. I am loading all the ...
0
votes
3answers
71 views

Does conservation of energy exist in most physics engines?

The reason I am wondering, is because while trying to create gravity around a point in the physics game I am creating, I wondered "If I create an object in the middle of the screen, where would the ...
0
votes
1answer
42 views

In Unity, how do I create a drag and drop object?

I have a 2d scene. I want the player to be able to pick up an object, move it around the scene and drop it somewhere. I can't find any way to do this, and all of the resources for Unity are really ...
0
votes
1answer
67 views

OpenGL 4.3 in C++ : Drawing static Triangle (“Hello Triangle”). Color does not appear (Triangle is just completely white)

I am going through an OpenGL book trying to get the examples to work. I am using Glew, Glfw, and that's it beyond Opengl 4.3, which my I know my graphics card supports completely via the OpenGL ...
0
votes
1answer
23 views

Category/genre name for games like: Ogame, Kings of Chaos, and Bitefight.?

I'm searching for a category name for games like: Ogame, Kings of Chaos, and Bitefight. When I learned about those, they were just called browser games, but today where we have the technology to ...
-5
votes
0answers
40 views

Please help me on my thesis unity 3d game [on hold]

I have a problem about my thesis, can you help me with my unity or give some codes on java to create a unity game? It is so hard for me to make a 3d game without any knowledge about the unity please ...
0
votes
1answer
38 views

Good Configuration Manager System Design for medium-large sized projects?

I've create smaller games which simply needed a class which basically opens an INI file (with feather-ini-parser library) with config values for the whole game (rendering ops, music, bindings). But I ...
1
vote
1answer
27 views

How to deal with two different axes on isometric game?

Hi! Above is a visual of the problem I am having. My game has two different coordinate systems. You have the client, or the canvas, where the game is rendered - a standard coordinate plane; however, ...
2
votes
3answers
106 views

Why do mobile games have delays for certain actions?

Many phone games restrict the number of actions you can take in a given amount of time. I don't get what is the purpose of this limitation. Is it only to force the player to buy additional turns? Some ...
0
votes
1answer
60 views

A* Pathfinding for Procedural Platformer Levels

Im trying to write code a my Procedural Platformer Game , but i have no idea where to start. Ive looked up A* Pathfinding in general, but i cant seem to find A* Pathfinding with Procedural Platformer ...
0
votes
0answers
19 views

How to make an object move and your player move in Unity

I am making a project in Unity 4.6.1 and I don't know how to make the enemy move to certain points. I would want it to move to 2 to 4 points or more. I also don't know how to make the player move (not ...
1
vote
0answers
85 views

Why do phone games limit turns?

Many phone games restrict the number of turns you can play in a given amount of time. I don't get what is the purpose of this limitation. Is it only to force the player to buy additional turns? Some ...
0
votes
1answer
16 views

Applying statements to a single instance in Game Maker?

I'm currently in the process of making a platformer, and am currently in the process of creating "depth" into my game, by making Up/Down-W/S control your depth. (Come closer to screen, go further). ...

15 30 50 per page