0
votes
0answers
5 views

How to design parameters for events

I'm working on the event system for my engine, and have some trouble deciding what types of parameters my events should have to be both general and specific at the same time. I want to be able to ...
0
votes
0answers
3 views

C++ SFML and Box2D: Move world or move playerI

I'm currently making a top-down shooter game and it's my first time developing with SFML and I came across and issue and I want to know if there is a better way to solve this. I need to get the ...
0
votes
0answers
3 views

In Scene2D, does Actor.hasActions() no longer exist?

Eclipse does not allow me to do while (actor.hasActions()){} saying it's undefined for type actor, but the libgdx API still has it as one of an Actor object functions.
1
vote
1answer
6 views

Tiled - move all tiles

I'm making a map in Tiled. I quickly ran out of room in the north of my map and would like to "shift" the tiles down. I'd prefer not to have to redo each of the tile layers. Is this possible? This ...
-3
votes
0answers
11 views

What is the best game engine for card games

I really am serious about this game i'm creating don't mind if it's really hard to use. thanks in advance.
0
votes
0answers
12 views

Gravity not being applied to character, using character controller

So I just copy and pasted the unity example class to use with my character controller. public float speed = 6.0F; public float jumpSpeed = 8.0F; public float gravity = 20.0F; private Vector3 ...
1
vote
1answer
41 views

Efficient container(s) for units in an 2D RTS game

As the title says, I'm toying around with developing a 2D space RTS game. All of my units are spaceships that basically just shoot at one another, but they have to do a variety of other things as ...
0
votes
0answers
11 views

How to programmatically change sprite sheet sub-sprite name

I am trying to change the name of the sub-sprites of a sprite sheet. I have searched and tried everything I can think of and cannot get it to work, which makes me think it can't be done at this point ...
0
votes
0answers
13 views

Outline with toon shader in unity is way too large

This is what's happening to the model I've attached this toon shader to. It seems to be creating this black hole of some sort and I can't figure out why and how to fix it. I would just like it to ...
-1
votes
0answers
11 views

Recommended BaaS for single player game

I have been searching through various BaaS providers and looking for an excellent BaaS provider. My lists so far includes: GameSparks PlayFab Parse BaaSBox BrainCloud The game I'm working on needs ...
2
votes
0answers
39 views

How Industy games handle their code errors and exceptions [on hold]

I've seen games crash and throw errors. Usually games don't throw raw exception message, but codename error names, such as F204 or similar. I would like to know some thought about that. Also, as i ...
0
votes
0answers
10 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
25 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
15 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
1answer
26 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 ...
2
votes
0answers
29 views

Circle Collision Resolution and Angular Momentum

I have a 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 ...
4
votes
0answers
26 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 ...
-4
votes
0answers
21 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
23 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 ...
3
votes
0answers
34 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
46 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
28 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
38 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
47 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
19 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
32 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
11 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
22 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
13 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
22 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
78 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
21 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
26 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
22 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
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
17 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
24 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
28 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
20 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
13 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
61 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
14 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, ...

15 30 50 per page