0
votes
0answers
3 views

Importing materials from blender to UE4

So my problem is that I have a nice green glass material in blender which I imported to UE4 (4.8.1) but in the editor the material was just a simple green colour. I have no idea what I should do to ...
-1
votes
0answers
17 views

Is it recommended to use GLFW for long term projects? [on hold]

The thing is I'm wondering if it is viable to use GLFW in a long project. Since it's a long term project, I don't want to run into a wall when it's already to late to redo important code.
-1
votes
0answers
11 views

deterministic game loop with fixed and variable rendering

reading this article I worked out a game loop that has deterministic time steps but I am having some trouble finishing up the renderer to use interpolated data. article: ...
0
votes
0answers
15 views

How to display three dimensional Objects in a 2D Game using OpenGL and orthographic Projection?

I am creating a 2D (2.5D) game using OpenGL and orthographic projection. It is simple to have relatively flat objects, e.g. characters. I simply use a quad with a texture of the character and move ...
0
votes
0answers
13 views

Circle Collision Resolution and Angular Momentum

I have an 2D engine working pretty well that involves rectangles and circles. I just reworked parts of the collision detection/response system for better handling of angular speed/momentum. The ...
3
votes
0answers
20 views

How do I check for collision between transparent textures?

I am creating a 2D game using OpenGL. For sprites, I use textured quads (actually two triangles). The texures contain transparent pixels, since objects are not always perfectly rectangular. How do I ...
-3
votes
0answers
16 views

Counter Strike Global Offensive crouch exploit [on hold]

In the game "Counter Strike Global Offensive" there is a very strange bug, which let the player move faster in crouch mode if he is pressing a button which commands bots to crouch, as you can see in ...
1
vote
0answers
18 views

Picking isometric map with slopes

I'm looking for a way to convert mouse/screen coordinates to isometric map coordinates, with the addition that the world has slopes and cliffs, and I have to be able to tell which quadrant of the tile ...
2
votes
0answers
31 views

Are concurrent Update and Draw calls possible in XNA?

I am making a real-time game in XNA and I would like to reduce the Update() call frequency while getting as many Draw() calls as possible. This would enable the program to finish long calculations in ...
1
vote
0answers
38 views

Unity (C#): How can I create dialogue to be used in my game? (also critique my system?)

I've created my own system for handling dialogue. There's a class for each 'node' or part of dialogue. It contains the following variables: identifier (identifiers are unique for each NPC, but not ...
1
vote
0answers
24 views

RPC's in Legacy Unity, what to use in Unity 5.1?

I have created a small experiment in 5.1, a server has an AI character pathfinding around a map over a grid, so its a straight line node to node before it reaches the end. I would like for the ...
2
votes
0answers
36 views

P2P Online Gaming, it is viable? [on hold]

I am working on a Peer to Peer based Online Gaming system. I plan on using it for running a decentralized MMORPG in which there are no central servers and traffic is routed evenly among each ...
2
votes
1answer
46 views

A deterministic game loop

I want to make a game loop that is deterministic sort of like a physics engine but it's for game update and rendering. I've done a lot of reading and I still was a bit confused. I've read these ...
1
vote
1answer
36 views

OpenGL poor performace with instanced drawing

I'm just started learning OpenGL and this is my first project besides tutorials. I'm trying to load a huge enginering model: The data is structured in a way that I thought I could use instancing ...
0
votes
0answers
15 views

Why is my TransformFromPoint returning false values?

I have been using transformFromPoint a lot of time in my game. Though recently I stuck at the following: target.TransformFromPoint(target.localPosition) The output should give me (-5,0,0) but its ...
0
votes
1answer
29 views

Ranking system for “offline” game?

I'm currently developing a game where players will be able to battle each other, not in real time, but offline, in a way where both players doesn't have to be online. This might seem like a bad idea, ...
0
votes
0answers
10 views

Valve Hammer - Making/importing a set of timed co-op levers?

I'm trying to make a Portal 2 co-op map in Hammer. I know the basics but I would like to know how to insert the levers from the Valve co-op courses where both players have to pull them at the same ...
-1
votes
0answers
21 views

Shader request (cg shader provided) : an xBR scaling shader for Unity

I'd like to scale up my game view from a native resolution of 512x300 to 1024x600 using the xBR cg shader found here : https://github.com/libretro/common-shaders/tree/master/xbr Here is a question ...
1
vote
1answer
12 views

Adding shadow and other effects on a spritefont Monogame

Is there a way that I can add shadow effect on text drawn in monogame? Because you cannot add shadow effect when creating a new spritefont file in Monogame Content Pipeline. Thanks.
2
votes
0answers
20 views

Real world terrain import into UE4

I am trying to create a basic game in Unreal Engine 4.8.1 and I wish to have it set in the Dubai, UAE but i cannot find a way that will successfully use terrain data i have obtained (NASA Shuttle ...
0
votes
1answer
72 views

How do games such as aa Game have high levels in the structure of their code

How do games such as aa Game have high levels in the structure of their code? I mean if we want create a game with high levels, should we create and use a class for each level? I do not want code from ...
0
votes
0answers
20 views

Monogame / XNA - Multple 2D Cameras (Rectangle) on screen

I recently started building a simple 2D roguelike game using Monogame 3.4. I was keen on building the game "engine" myself as I saw it as a fun learning curve. Monogame was pretty much the best option ...
1
vote
0answers
10 views

Do realtime reflection probes and precomputed GI work on iOS in Unity 5?

Seems they don't from my tests but just to double check. My setup is made up of a few objects marked as static, all sharing a standard shader material with some emissive color, GI set only to ...
2
votes
1answer
25 views

How does hidden surface removal work?

Lately, I've been learning some OpenGL for fun, and I've been thinking about hidden surface removal. Say you have a high poly count static scene, with nothing that moves, no bones, physics, etc. Just ...
2
votes
0answers
16 views

generate box2d bodies from isometric tiled map

I followed the tutorial here to generate box2d bodies from a tiled map and that worked fine.... for orthogonal tiled maps. Unfortunately isometric maps use their own coordinate system where (0, 0) is ...
-1
votes
0answers
29 views

Take my app out of review? [on hold]

I'm submitting my iPhone game, and I submitted a "Build 3" to the App Store. It's in "Waiting for Review." I just found a glitch, fixed it, and made a "Build 4." I want to take the glitchy "Build 3" ...
0
votes
0answers
14 views

Detecting if an XML element exists in IXmlSerializable.ReadXML()

I've used automatic XML Serialization for most of the codebase before, but the amount of hacks in the code became too big, so I've decided to use IXMLSerializable interface to serialize/deserialize my ...
1
vote
1answer
30 views

Why is the camera tilting around the z axis when I only specified x and y?

My goal is to program a camera to point towards the mouse cursor. I attached the following script to the Main Camera. using UnityEngine; using System.Collections; public class CameraController : ...
1
vote
0answers
27 views

Security-minded design patterns / paradigm for client/server application

I am working on a client/server application and am starting to take it from proof-of-concept to actual implementation. The client is an Android application and the server is in PHP. In similar ...
0
votes
0answers
15 views

Rotation before scaling image/Lower resolution rotation? (XNA/C#)

Currently, when I rotate the image using SpriteBatch.Draw() the image is rotated after it is scaled. Resulting in: Which is using the code public override void Draw(GameTime gameTime) { ...
0
votes
1answer
23 views

OpenGL Shaders Ignored

I have been following this tutorial to try and start learning OpenGL. However, upon compiling my code, my triangle turns out to be black. At first I thought that there was something wrong with the ...
0
votes
0answers
27 views

Java GUI Development: Learn Using IDE or Pen and Paper? [on hold]

I am currently working on a game in Java. It has many of the basic features and is playable, but it does not have any graphics (you play it in the command prompt). I want to learn GUI programming ...
0
votes
0answers
19 views

Perspective projection

I'm studying Perspective projection in a computer graphics course and i'm really confused about a detail. The study material says there are 3 cases: Case 1: View plane parallel to the xy plane and ...
1
vote
1answer
14 views

Clip shadow frustum to scene bounds

I have a global light in my scene. It casts shadows using shadow mapping and has an associated camera (for rendering to the shadow map). I'm going to refer to it as my "shadow camera" from now on. I ...
1
vote
0answers
22 views

LOVE Physics - Joint Stretching

After asking a similar question yesterday I've come across another problem with using joints in box2D / LOVE and trying to create a weighted chain. Everything is set up as follows, I've tried to ...
0
votes
0answers
11 views

SerializedPropertyBindings NullReferenceException

Using: Unity 4.6.1 Pro Visual Studio 2013 Pro, c# Team Foundation Connected to git vc Windows 7 Premium Building 2D iOS app (2D set up) Details: Periodically, this error is occurring. There ...
0
votes
0answers
16 views

Embedding a video inside cocos2-js for browser

Is there a way to insert a video frame, a video popup, or maybe a video as a sprite with audio as separate asset in a layer? The project will be a browser app and I am using cocos2d-js, and apart ...
0
votes
0answers
20 views

Issues with 2D raycasting lighting under limitations of HLSL 3.0 pixel shader

I've been writing my own HLSL pixel shader for dynamic lighting using raycasting. Unfortunately, since I'm using this out of XNA, I can only use up to ps_3_0. As you can see, the limitations ...
2
votes
1answer
58 views

Unity: How to make script work with duplicated objects?

I have an object in my game that, when clicked, causes the player to move toward it. It does this by sending its position to the player's SetTarget function. The player's Move function then heads ...
-5
votes
0answers
36 views

What to choose Game Engine or Make my own? [on hold]

I want to go into game programing, I know basic stuffs in Unity, C++ / OpenGL, and I don't know what is better to make a Game Engine (I'm don't gone write a programing language for it, I will make ...
0
votes
0answers
13 views

Can not translate/rotate/scale skinned mesh

I have a Blender model with a skinned mesh and some unskinned meshes in it. After i import it into Unity, i can transform all the non skinned meshes with no hassle. But about the skinned mesh, ...
1
vote
1answer
26 views

Why unity increase the size of image when i use the image in unity?

I try to make a game in unity 2d. But when i drop the image in unity the image size increase 3 or 4 times. Can i fix that or its normal?
0
votes
0answers
46 views

Tutorial System in Unity C#

I am having trouble creating a tutorial level for my game in Unity. The first problem is efficiency. I have a script below, which displays the dialogue. And I want to know the best way to create goals ...
-2
votes
1answer
20 views

single Key press

I have my following (static) KeyListener http://pastebin.com/gR1i3Xzb and this is my update Method: @Override public void update() { input(); /*...*/ } private void input() { ...
-1
votes
0answers
21 views

platformer side movement collision problem [duplicate]

I making a game in javascript and I'm stuck, the player will stop moving if he hits the left side and if I move left a little bit and try to move right again I cannot. My question is: Whats wrong ...
0
votes
0answers
27 views

OpenGL - Make two images blend together

I have 2 images that are .png and they mix together, The problem is that one overwrite the other. I know that the draw order matters, but In that case I should redraw the icons 2 times ( there is a ...
1
vote
1answer
37 views

multi state cellular automata?

is multi state cellular automata a thing? i was wondering since i am try to implement a zone system into my game that randomly sets chunks (the cells) to a certain value from a list and that would ...
0
votes
0answers
8 views

Cocos2d-JS using mulitpacked sprite

I wanted to ask on how to use a sprite packed into multiple sprite sheets (multipack in texturePacker). I tried this but it doesn't work: var bgCrumbleLayer = cc.Layer.extend({ ...
1
vote
0answers
42 views

Blinn-Phong lighting on Voxel models

I'm creating a game that is going to use voxel models. However I got stuck when I coded my shader using Blinn-Phong algoritm. Here is how it look (Only care about the red model): As you can see ...
0
votes
0answers
23 views

How to get plausible platformer physics with Farseer on MonoGame/XNA?

I am creating a 2D Vectorial (made of polygons, not tiles !) platformer using MonoGame and Farseer Physics Engine. Everything works perfectly, except the movement of the character which doesn't feels ...

15 30 50 per page