0
votes
0answers
16 views

Entity polymorphism and entity attributes [on hold]

I want to design the entity system of my game in a way such that entities are modular, easily modified without affecting other entities, and finally easy to add new types of entities. So ideally some ...
1
vote
1answer
38 views

transfer 3d model processing from Xna to Android?

I developed xna scenario in Desktop application and i need to make the same scenario in android app I we need to make processing in desktop and just display it in android app using socket programming. ...
0
votes
1answer
32 views

Why is there no glClear() and glClearColor() method in GL30?

In the GL30 interface, both the methods glClear() and glClearColor() are absent. But OpenGL documentation says that they are supported in both v2.0 and v3.0. Why is it not included in LibGDX?
-1
votes
0answers
17 views

Faster way of creating character animations

We need to create a computer game for our Artificial Intelligence subject. I decided to choose 2D Fighting games because I thought it would be easy. As I continued researching about this game I found ...
-4
votes
0answers
35 views

Mmo game engine 3D low price [on hold]

Hello everyone I was wondering what would the best open or cheap pay game engine for making 3D games like mmo or just online multiplayer games and with a game user interface editor with little to no ...
28
votes
3answers
5k views

Why do modern games use a render-to-texture approach for mirrors?

When looking at old games like Mario64 or DukeNukem3D, all the mirrors in the game are essentially just holes in the wall with a mirrored copy of the geometry in front of the mirror put behind them. ...
1
vote
1answer
446 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 ...
2
votes
5answers
2k views

How to reset the world in an infinite runner game to prevent an overflowing float?

Im following Mike Geig's 2D infinite runner tutorial. However, I'm seeing a potential problem of overflowing the float How can I reset all objects and camera back again to the origin? The approach I'...
1
vote
2answers
45 views

How do I handle objects with a width and height in grid-based pathfinding?

I'm using the Jumper library for Love2D to do grid-based pathfinding, which worked fine until I wanted to make larger enemies (with larger collision boxes). How do i do that? My initial idea was to ...
0
votes
1answer
36 views

Unity / How to Hide “Editor Script” in the Inspector?

I want to hide the "editor Script" in the Unity Inspector, so it doesnt show up with all the other components (transform/other scripts etc.) It works with every other "normal" component like this: ...
0
votes
1answer
28 views

Swipe Detection with mouse in Unity

This is my swipe detection code. This code uses touch input. I want to do this using the left mouse button. So basically I want to 'swipe' using the mouse.How can I achieve that? public float maxTime;...
1
vote
1answer
36 views

Axis Aligned Bilboards in shader

Hi I need to implement following effect using vertex shaders. Basically its a shader for particle laser beam that rotates to particle along its own y axis till its "best" visible (Roughly). My idea ...
4
votes
4answers
169 views

Choose your own adventure - choices stack

I'm currently building a choose your own adventure game. Now it's easy enough to have one outcome to every choice and create a linear flow, but is there a good algorithm for having all previous ...
0
votes
0answers
5 views

Trouble With Physics Joints [Gamemaker]

I'm trying to create a series of physics-enabled 'ropes', with hard limits on how far they can swing left or right. They are comprised of an oRopeRoot kinematic physics object, which generates a ...
2
votes
1answer
23 views

How to make a moving background with PyGame?

I'd like to create a moving background in my Python game, with an image, that moves up until it reaches the end, then it goes back to its first position. I'm still in my learning process and this is ...
0
votes
2answers
64 views

Retricting movement to 3D axis

A cube is constructed in a 3D and can be rotated to view any side. I want to be able to drag the cube to any position with the mouse while keeping the Y-coordinate the same. I used project and ...
1
vote
1answer
32 views

C++ SFML: Font is clear and the other time blurred

This is my code. TextRenderer->setString(pCurrentUnit->getCHAR()->getNAME()); TextRenderer->setCharacterSize(16); TextSanitizer::CenterOrigin(TextRenderer); TextRenderer-&...
1
vote
2answers
129 views

Game Engine architecture clarification

I want to write my own (simple) game engine with OpenGL. I use GLEW and GLFW and so far linked it successfully. My question is: Should the engine or the respective game (which depends on the engine) ...
0
votes
1answer
2k views

Unity-Animation parameters are not being set

I have the following animation controller: with two parameters of walkingSpeed and Jump. I have the following code which should change the values: animator.SetFloat("walkingSpeed",0.9f); ...
0
votes
0answers
12 views

How does Unreal Engine 4 manage received user input?

I have developed an application which runs on my laptop (the client). This client-application captures key presses and sends them via UDP to another application, which is running on a remote machine. ...
1
vote
2answers
35 views

Drawing only objects that are currently in viewport [Gamemaker]

Following on from my previous question about optimising large object counts in Gamemaker, I am looking for a method for the solution proposed by liggiorgio. My game has large numbers of small, sprite-...
0
votes
0answers
11 views

Resetting Achievement Progress for testing

Hi I tried to reset the achievement Progress, but it is NOT resetting the increment count and i want to delete and create a new achievement each time for testing. Is there any workaround to solve this?...
4
votes
1answer
223 views

Game Engines: how to keep different platforms code in separate plugins?

Considering that some game platforms are under NDA (mostly, the good old console trinity) and that publishing code using their SDK is not allowed, how do game engine usually manage keeping plugins for ...
0
votes
0answers
15 views

Multiplayer queue system for matchmaking [on hold]

I'm building an mp game that needs to have some sort of a queue system (eg League of Legends, CSGO, Dota2...) So my question is how to implement such ? I mean the core concept (I'm not looking for ...
0
votes
0answers
4 views

Unity 5 - Audio Source - 3D rolloff without stereo pan effects

Somebody know if it is possible to use 3D rolloff of of an Audio Source without having stereo effects (You get a stereo pan effect depending on the position of your audio listener). I know that I can ...
1
vote
1answer
37 views

Javascript, how to make player collide with tile map

I'm trying to do a bomberman based game, but I'm struggling to make the player colide with the wall, here's my code below: Inside of the array, 0 is the walls and 1 is the path // xPos is the ...
2
votes
1answer
41 views

Elements of uniform array are always zero?

I'm building a shader program to render a simple bitmap font in GLSL. My programming environment is C# so I'm using OpenTK to encapsulate OpenGL 4.0, but the syntax is very similar to any examples in ...
0
votes
1answer
9 views

Not able to connect to Photon(PUN).photon unity networking error

I'm new to photon Networking. My game was working great suddenly this is appearing Cannot send messages when not connected. Either connect to Photon OR use offline mode! UnityEngine.Debug:LogError(...
0
votes
0answers
8 views

Declaring another alpha or beta testing after a game app for Android (APK file) is uploaded and already published in Google Play Store

This question is related about alpha or beta release in Google Play Store. . Let's say my app (APK file) was uploaded in alpha/beta testing. If one of the testers satisfied or quick fixes on the bugs, ...
7
votes
1answer
130 views

How to await async operations / coroutines?

I'm looking for a generic / reusable way to wait for coroutines and asynchronous operations to finish in Unity 5, similiar to C#5's await keyword. The simplest way I can think of is something like ...
1
vote
2answers
407 views

Cocos2d savegame cctmxtiledmap

my game features several tilemaps that are initially loaded from a tmx file and modified during gameplay. How can I save the changed tilemaps in a save game? Will NSCoding do the trick here or is the ...
1
vote
1answer
88 views

How do I detect image clicks in Dark GDK?

I am trying to determine if an image has been clicked, using the Dark GDK game engine. I've found no methods in the engine that do this. I would rather not brute force this with a large nested if/...
1
vote
2answers
27 views

GetComponentsInChildren<GUIText>().text - does not contain a definition

My Slider GameObject has a GUIText child. I am writing a C# script that should change the text component in the GUIText, but instead of this I am getting: error CS1061: Type UnityEngine.GUIText[]' ...
1
vote
2answers
28 views

unity Tilt Android Device player Freeze When Die

I attached tilt script to my Player to move player x and y Axis. Player have Rigidbody2D and also IsKinematic=true. but the problem when the player can Die i want to stop tilting and player goes down ...
2
votes
1answer
523 views

Mesh fading to transparent

I have a 2D Mesh object generated at runtime painted all with uniform color. I want that mesh to have its color fade to transparent color close to the edges. Despite I searched everywhere I could not ...
2
votes
1answer
226 views

2D lighting causes black rings to appear

A year ago I implemented 2d lighting in XNA using sprites. The sprites I used were created by placing a soft white photoshop brush on a transparant background. The result was this: (lights only) ...
3
votes
2answers
42 views

How to make one 3D object face another?

I'm writing a simple 3D engine myself and I cannot figure out how to make one object face another. The problem begins with identifying which direction the target object is in relation to the second. ...
0
votes
1answer
29 views

Pathfinding onComplete event?

In HaxeFlixel 4 all FlxObjects have a path property which must be a FlxPath instance class FlxObject extends FlxBasic { ... /** * The path this object follows. */ public var ...
1
vote
1answer
138 views

Making DirectInput and XInput work together

I have working wrappers for Xinput and DirectInput in my game, but I had problems with xbox controllers, because they are also recognized as generic controllers by directinput. I have found out that ...
1
vote
2answers
81 views

Help with Javascript touch button

I tried many buttons but I can't connect them with the (Java)Script. So I made 2 gui buttons: one for jump which was easy because I have an if statement and if it's true then jump. But I have ...
-1
votes
0answers
46 views

How to generate terrain like in skyroads in jmonkey?

I am looking for algorithm to generate terrain like there was in skyroads Part 1: same terrian again and again. Part 2: different terrain every time. I am, working on game using jmonkey game engine....
1
vote
1answer
37 views

Function call to AndroidJabaObject to an instance of com.prime31.PlayGameServicesPlugin causes the application to stop responding

Using Prime31 PlayGameServices attempting to call 'authenticate' causes the game to stop responding very soon after. There isn't much I can show as there's literally no logs showing up in logcat. Is ...
0
votes
1answer
32 views

Values or Struct-Like Location Class?

I'm currently working on a 2D RPG, where the player character moves on a tilemap but is not constrained to the individual tiles. Every tile in a room is referred to by x and y coordinates to an Array. ...
1
vote
1answer
51 views

Image-Space coherence of the z-buffer algorithm

I'm reading Hierarchical z-Buffer Visibility by Ned Greene et al. and they state that traditional Z buffering makes reasonably good use of image-space coherence in the course of scan conversion. ...
0
votes
1answer
116 views

2d Player animation issue in UNITY 3D

I have a player and i want to move the player from left to right. I can move the player by the keyboard events.but the problem is that when i release the key the player animation should be idle. ...
13
votes
3answers
13k views

OpenGL ES 2.0 Point Sprites Size

I am trying to draw point sprites in OpenGL ES 2.0, but all my points end up with a size of 1 pixel...even when I set gl_PointSize to a high value in my vertex shader. How can I make my point sprites ...
1
vote
1answer
165 views

game maker place_meeting multiple objects

I am working on a simple game that contains two objects the player and the ground, and I used place_meeting to make the player walk on the ground object and it works fine but when I try to add another ...
1
vote
1answer
28 views

2D World Mouse Coordinates - Matrices

I'm trying to get the world coordinates out of a mouse click. Currently I'm doing the following: var invertedMatrix = mat4.create(); var viewMatrix = activeCamera.getMatrix(); mat4.invert(...
5
votes
1answer
448 views

Confused About My Code Suggesting The Normal Matrix Is Equivalent To The ModelView Matrix

I'm learning environment mapping in OpenGL by following this page. In his vertex shader, the author calculates the vertex normal in eye space with the following code: nEye = vec3(viewMatrix * ...
1
vote
0answers
26 views

Move to specified coords - libgdx and java

So I am making my bullets go to a point and travel further. Only its acting really really weird. Its like its thinking that the 0,0 location is at the top left instead of the bottom left. This is the ...

15 30 50 per page