0
votes
0answers
25 views

Efficiently creating animation sprites

I'm currently developing a simple 2d game on LibGDX. The core game logic is in place, but the assets are simply taking forever to create. My current method to create each animation frame is to ...
1
vote
1answer
53 views

Space Shooter Unity 5 Collisions not working

After upgrading the official Space Shooter Tutorial to Unity 5, collisions stop working. Additionally, the following error is reported: Non-convex MeshColliders with non-kinematic Rigidbodies are no ...
-1
votes
0answers
30 views

Many things internet failed to help me out with [on hold]

I know people wrote useful things on the web, but to get to them is impossible from all the dumb sites. Please note that this account is on my personal email, so I will be only one posting here and ...
0
votes
4answers
84 views

Class design and data structures for a Tower Defense

I was trying to come up with a structure for a simple TD game that has following elements Tower Each Tower has a set of properties like range, damage, health etc There could be different types of ...
0
votes
1answer
57 views

How to invert a damage formula?

I have created simple damage formula based on source percent, which return fixed percent of damage. DAMAGE_PERCENT = Exp(Log(100) * (1 - (100 - SOURCE_PERCENT) / 150) Here is the result: ...
0
votes
1answer
22 views

Second pass in multipass effect is ignoring

I am trying to render my vertecies in 2 passes, but seems I am doing something wrong, because only one pass applying. I cannot make the second one work despite that second pass is applying. Here is ...
0
votes
1answer
58 views

Skeletal animation with ASSIMP, COLLADA, and glm

I have been trying to learn how to implement skeletal animation (skinning) from COLLADA files using ASSIMP and glm. But after a week of being stuck reading different tutorials and posts I have found ...
0
votes
0answers
20 views

Additional dependencies in XNA/Monogame

I made a game in monogame recently, using the XNA content pipleline. I then sent the whole folder (The release folder in visual studio) to a friend of mine who does not have visual studio or monogame. ...
1
vote
0answers
11 views

iPhone game app won't flip over like it's supposed to

I'm making a game iPhone app and I want the entire game to flip it's orientation as the user flips their device plus it's a requirement by Apple to have this orientation flip in iOS games. ...
0
votes
1answer
25 views

Wrong distance in Depth-buffer

I am currently trying to get the Depth Buffer as a texture to use it for edge detection algorithms. Since XNA4 does not allow direct access to the Depth Buffer as texture i have to render it into a ...
1
vote
1answer
32 views

How to Incorporate two loops: One for Turn Based Gameplay, and another for ongoing actions

I'm working on a roguelike using libtcod. So far everything works well with the turn-based functions. Essentially, when a player takes a turn, it triggers everything to advance. What if I have an ...
0
votes
0answers
31 views

How to Implement a geometric algorithm for acurve counterclockwise (CCW) and clockwise (CW) [on hold]

Implementing counterclockwise (CCW) and (CW).. Given tow points a, b on a curve (as shown in fig.) is a-b a counterclockwise turn or clockwise or straight?? How can I limit the motion on a curve and ...
-2
votes
1answer
56 views

Collision Detection in OpenGL

For a 3D Game using OpenGL i have to implement a simple collision detection. After thinking about that, i have had the idea to read out the glm::mat4 MVP values and compare them to each other. Is that ...
-1
votes
1answer
33 views

GUI in SDL Game?

I want to implement a very easy GUI for my SDL Game. Just an inputfield to insert a name and a button to choose the level of difficult. After reading this tutorial i'm not sure if that is what i need. ...
1
vote
1answer
99 views

Unity 5 2D drawing sprites programmatically

How can I draw sprites in Unity 5 programmatically ? I am looking for something similar to spriteBatch.Draw() in XNA. The results I get when I search about it are either outdated ...
1
vote
0answers
30 views

unity 5 how to get a shadowmap

I'm writing a custom shader in unity 5 that requires a shadowmap (not just for drawing shadows but also for different computations involving scattering particles through fog). Does anybody know how to ...
1
vote
1answer
40 views

Gravity Simulation failing at short distances

I have a 2D space simulation with gravity acting on three bodies (e.g. sun and 2x planets). The simulation seems pretty stable with RK4 (was unstable with Euler). The problem arises if the orbit of ...
0
votes
1answer
39 views

How to use a buffer in GLSL to do a LUT-lookup?

I am currently on a medical application which needs different kinds (up to totally individual) lookup tables (LUT) for image display. And this done with 10bit finish. So it is most of the time ...
1
vote
2answers
143 views

How to calculate alpha for n channels, so the sum equals 1 (100% coverage)?

Having "n" number of overlaying channels (bitmaps in the same place, layers etc.) how to calculate required alpha for each of them, so they "hide" background completely? Each layer can have equal ...
0
votes
0answers
11 views

How can I track a leader vehicle at a specific angle and distance?

I am using Matlab and have code which allows a vehicle to find its way to certain coordinates chosen by the user. I now want to add a second vehicle which stays fixed at a specific distance and angle ...
0
votes
1answer
44 views

How does one write a wrapper for a game server? [on hold]

From what I gathered, wrappers mimic the game server in question, receiving packets from client and sending them to the server (and vice versa). It acts like a bridge between the client and server, ...
0
votes
2answers
63 views

Vector3.Angle() Never Reaching 0

I'm having trouble understanding why with this script, Vector3.Angle() sometimes will never reach 0. This question comes from me trying to make a "turret" that rotates to face a target position. It ...
0
votes
0answers
25 views

The jMonkeyEngine web site its down, change my Game engine to another Engine? [on hold]

Someone knows what happened to the Jmonkey web page, I am developing a game with jmonkey and can't access a response from the wiki, change my Game engine to another Engine?
0
votes
0answers
38 views

Pre- or post-multiplication for rotation between coordinate frames

I have three 3D coordinate frames: O, A and B, as shown below. I want to know the rotation matrix RAB between A and B, that is the rotation that is required, with respect to the frame A, to move ...
0
votes
1answer
33 views

Imported Blender modular mesh lighting/shadows issue - Unity

Hi I've very recently started using Unity and am creating a game level. I've created my environment in blender and am currently using a modular design as I'd like to include destructible environments. ...
0
votes
0answers
57 views

Physics2D.OverlapCircleAll seems to be bigger than my radius

Im trying to make a "Scorched earth"-like game using unity. I managed to fire my bullet and make it explode on contact. What I am trying to do is do some damage to the tanks even if the bullet didn't ...
0
votes
1answer
42 views

Making a gameObject push the player

I am working on a Unity 3D game for Oculus and I have problems with making my objects to apply physics on a player. So getting rid of a CharacterController and using something like a rag doll is not ...
0
votes
0answers
7 views

Debugging hardware/software instancing (with cBuffer?)

Coming from XNA, I'm wanting to learn the guts of DirectX before I summarize it all with someone else's shiny library/engine/framework; I'm using plain C++ DirectX with no libraries other than ...
0
votes
1answer
27 views

Adding movement to a text-based rpg battle

Outline I have the bones of a text-based RPG - the player can progress through a branching storyline and activate some simple events (recieivng/giving/trading items). As I am designing the battle ...
1
vote
2answers
44 views

atan2 : inversed result? (angle 180 is on the right side, angle 0 on the left side)

the result of the angle between my touch and the middle,bottom of the screen gives me 180 when the touch is on the right side of the screen, and 0 when it is on the left. I don't understand why... ...
0
votes
2answers
106 views

Where the physics should be put

I'm studying a book of artificial intelligence applied to games. It shows several algorithms for each argument (movements, path finding.. ecc). Unfortunately (but obviously) it does not explains how ...
0
votes
0answers
15 views

What software/language to use to create a mobile quiz game? [on hold]

I have no knowledge what so ever of coding. However, I am really interested in creating a mobile quiz game (and later make it a multiplayer versus mobile quiz game[If I manage to create on in ...
0
votes
0answers
12 views

converting HSLS gives error

I'm using the following parser: https://github.com/unknownworlds/hlslparser I also have the following code: /* * Bo Sun, Columbia University, All rights reserved * ...
0
votes
0answers
22 views

Rotating between two coordinate frames

I have two coordinate frames, A and B. I want to create the rotation matrix RAB which takes you from A to B. A is a right-handed system, and B is a left-handed system. Furthermore, after moving from a ...
39
votes
2answers
4k views

What is Vulkan and how does it differ from OpenGL?

Khronos Group (the standards body behind OpenGL) has just announced Vulkan: Vulkan is the new generation, open standard API for high-efficiency access to graphics and compute on modern GPUs. This ...
5
votes
1answer
394 views

How can I retain the soundtrack state across levels to have continuous play?

Suppose I have two levels. I want the same soundtrack to play on both of them. At the moment I have an audio source in each level, playing the soundtrack. However, when you move from one level to the ...
0
votes
0answers
52 views

HTML in Cyber Space! [on hold]

Using html and java can i make a box and spin it around in cyber space, i remember years ago there was a code. I have built may pages now and look forward to learning more of html. Or may I be more ...
0
votes
1answer
24 views

How the values of h and the perpendicular had computed

How the values of h and the perpendicular had computed or taken in this answer of a previous question??? please clarify it How can I make a spline out of three points that define circular arc?
2
votes
0answers
37 views

How do I get the depth data of objects closer than 800mm?

I'm trying to scan the layout of blocks on a table. My Kinect can be at most 1m away from the surface and I need to stack those blocks higher than 20 cm. I'm using Zigfu. Using the kinect 1 I have to ...
1
vote
2answers
120 views

Are shaders the only way to implement 2d lighting?

I'm working on a 2d top down game with libgdx and I think i got the basics. No want I want to implement lighting, I don't know anything about lighting. I want just to have some light sources and ...
0
votes
0answers
19 views

Could anyone recommend a good book or a course for Level / World design? [on hold]

I was wondering if anyone could recommend an online course or a book which would contain valuable information for a young game designer like myself. At this moment i am trying to focus on world/level ...
0
votes
0answers
41 views

How to start up a Indie Production House from home? (In the UK) [on hold]

I want to start my own Indie production house from home. I have the engine and the PC. I just need to know the legal and tax etc parts. I want this to make games while i study. If anyone can help me ...
0
votes
0answers
27 views

Box2D replace Fixture not working as expected

I am using box2D to develop a simple game, and I am using the Physics body editor by Aurelien Ribon to load the fixtures into bodies. I have written the following method which should scale my ...
1
vote
1answer
40 views

Relation between “Run in background” setting and OnApplicationPause method

I'm working on a game for mobile platforms (Android at the moment, in the future it should be available for iOS and WinPhone) and I want to trigger a certain method when the game is un-paused. For ...
0
votes
0answers
144 views

Best Engine for a 3D JRPG? [on hold]

I've gotten some motivation and really want to start work on a masterpiece. I don't care if it takes years and hardly gets anywhere, I wanna get started and have a vent for my creative side. I'm ...
0
votes
0answers
36 views

Which word would refer to player 'guilds', 'clans', squads etc. in any type of online game? [on hold]

In fantasy MMOs they are usually called either a 'guild' or 'clan'. Whereas in a shooter, no-one would use the word guild -- while 'clan' is still common. Inside Sci-Fi MMOs neither one would work. ...
1
vote
0answers
11 views

parented/constrained object transform lags when moving character in unity3D

Hi I have a simple raycast-base gun that emits particles along it's path to fake bullets. Whenever I move the camera/character- the particles are misaligned, as well as anything else I try to modify ...
3
votes
1answer
172 views

How can I achieve a pseudo-3D camera effect like this?

I am trying to achieve a pseudo-3D camera effect similar to this: I have gotten the following results using a 3D camera and billboards: I am now running into the following problems: In the ...
0
votes
0answers
19 views

Best datatype in POSTGRES to store ingame currency [on hold]

I am making a light tool for a game that I play and I'm having trouble trying to decide which data type I should choose to store in-game currency. This game has a typical Gold, Silver, Copper system. ...
0
votes
0answers
16 views

DirectX My texture does work in my pixelshader

I got a bit of a mystery as I have a problem that should not be a problem. I am working on a fog feature which is similar to other things that I have done. Not very hard at all. The only real ...

15 30 50 per page