-1
votes
0answers
15 views

How do I use the picture with 2 images as my sprite sheet?

Alright, I've got 2 images, and they're serperated. I've used Gimp, and there is no background, just the checkered shit that shows nothing's there. I can get it in my program, the only problem is, how ...
0
votes
0answers
4 views

LibGDX - Getting a strange error in my (simple) Animator class

public class Animator extends Player implements ApplicationListener { private static final int FRAME_COLS = 7; private static final int FRAME_ROWS = 1; ...
0
votes
0answers
20 views

Performance issues when dynamically rendering playing cards [on hold]

My issue that I've ran into deals with the way I want to do the cards. I want to draw to a texture everything about the card then scale it down storing it into a texture to use to draw for the game so ...
0
votes
0answers
3 views

Unity UI InputField does not consume the keyboard input

Unity UI: I have an input field in which I can type. Unfortunately, when I hit any of the movement keys, such as the space bar, I move while I'm typing which is not the effect I want. Is there a ...
0
votes
1answer
11 views

Unity3D Strafing Left & Right

I am trying to set my character up to strafe left and right and have 2 different animations, on for left and one for right, so far what i have written allows me to strafe left or right but it only ...
0
votes
0answers
4 views

How to release resources from shared_ptr ResourceManager [migrated]

I implemented a simple ResourceManager - everything was fine until I tried to implement its destructor for (emergency) clean up(for example in case of fatal exception). I was not able to find a single ...
0
votes
1answer
14 views

Mirroring a game object to create symmetry

I have a GameObject with a primitive shape that I call "body". I want to create and add a child to it with another primitive shape. I call it 'mutation'. But i want to duplicate the 'mutation' and ...
0
votes
0answers
5 views

(Unity) Is There a Way to Add Multiple Animation Curves Together?

This is a bit of a cross post from answers.unity3d, but I don't know how much exposure my question will get there so I figured I'd try and see if anyone here had a solution for this. You can find it ...
0
votes
2answers
24 views

Why does this simple if-statement that checks my main characters state never get called (Java/LibGDX)?

Been working on this for a while - basically I want my player to perform a front flip when he jumps (screen tap -> player jumps). I wrote the animation class Animator (extends Player implements ...
1
vote
1answer
32 views

Loading images using their bytes in Unity

If you import an image into the Unity inspector, the image will be encoded in Unity's own format. Usually the resulting image is much bigger than the original (from 100kb to 1MB). Of course, you can ...
0
votes
0answers
12 views

Draw a line/curve for the path an object has taken

Hello I am making a game in libgdx. I want to draw a line/curve of the path a object have taken. First a thought I could save all positions of the objects each iteration and draw line between them ...
0
votes
0answers
4 views

How to create a simple multiplayer game using webRTC [on hold]

HTML5 How to create a simple multiplayer game. 1 vs 1, using webRTC. I am specifically looking at the steps needed to make this work in as simple a form as possible. From my understanding I need a ...
0
votes
0answers
7 views

Can't call for a variable of a Monobehavior [on hold]

I have a piece of code where I am gathering variables from the game object [this is in Unity]. For some reason, when I try to get a value/variable from a MonoBehaviour, it throws the error: ...
0
votes
0answers
6 views

JavaScript THREE.js webgl spotlight rendering

I'm playing with webgl/JavaScript/THREE and a spotlight. And I see unexpected results. And I don't understand what's going on, and I'm hoping you can point me in the right direction. In my particular ...
0
votes
1answer
10 views

Binding an Instance Matrix with an InputLayout

If I want to bind an instance matrix to a vertex shader, how do I go about it? For example, here is a super-simple VS input: struct VS_IN { float4 Position : POSITION; row_major float4x4 ...
1
vote
0answers
23 views

Is WWW reliable for downloading a large AssetBundle?

I have a very large AssetBundle. More than 200MB. Is WWW reasonable for downloading it from my server? I heard that you can't tell the timeout it has. I intend to use it for iOS and Android. Since ...
0
votes
1answer
26 views

Intel HD Graphics Crashing with a Shader

I just got a new computer (Acer Aspire ES1-311) which has an integrated Intel HD Graphics card, and I noticed that this fisheye shader crashes my game (LibGDX game, VM Crash): varying vec2 ...
1
vote
0answers
14 views

AssetBundles for sprites, or download the images from my server?

I need to host several sprites in my server, and then have Unity download and use them. I have tested two methods: AssetBundles If I pack my sprites into an AssetBundle, the bundle is about 4MB. It ...
0
votes
0answers
13 views

Transformation order for augmented reality game using OpenCV and OpenGL

I'm trying to create a simple AR application where I'm augmenting the camera image of a Kinect with virtual objects that are tracked using an optical tracking system. The following picture ...
0
votes
0answers
18 views

What's the best way to make game landscapes? [on hold]

I've been planning a Final Fantasy style RPG, a bit like FF4 DS version. I was wondering what's the best way to make my landscapes eg. height maps, tiles, hand model, etc? I'll be using blender to do ...
0
votes
0answers
23 views

Calculate future 3D Position of object(Unit)?

I've looked around and almost all examples is see have a velocity vector which I do not have, or at this point am unable to figure out. Im trying to find the 3D position where i can launch a trap in ...
-1
votes
0answers
47 views

how to make PICTURES like this? [on hold]

Q 2) Is there a site with images like this?
1
vote
0answers
23 views

Multi-textured terrain xna-monogame

I'm developping a TerrainEngine for my project and i have some issues with the multi-texturing part. I already tried some techniques like ...
0
votes
2answers
35 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 ...
1
vote
1answer
16 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
14 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
39 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
27 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
1answer
38 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?
2
votes
0answers
29 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
17 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
54 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
16 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
11 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
1answer
6 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
32 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
47 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
33 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
32 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
24 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
39 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
57 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 ...
11
votes
7answers
1k 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
33 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
57 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
35 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
1answer
44 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
9 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) ...

15 30 50 per page