0
votes
0answers
2 views

Ray-Triangle Intersection Detection using Barycentric Coordinates

I am attempting to convert the algorithm from http://www.cbloom.com/3d/techdocs/fast_ray_tri.txt to java code, but my solution does not function correctly. The only intentional change I made was for ...
0
votes
0answers
5 views

How was/is playback of music handled on consoles such as the NES, Master System, Gameboy, etc?

So, I deliberately left out the SNES because AFAIK the music subsystem is basically entirely self-contained. However, on systems like the NES and Gameboy, while there are sound chips, there isn't any ...
0
votes
0answers
3 views

UE4: Apply texture on landscape based on angle

I am creating a material for my landscape. I know that one could for example use the landscapes heightmap as a mask to apply textures at certain heights, but I want to apply textures at certain ...
0
votes
0answers
13 views

Problem with Sprite not jumping off of platform (using rectangles for collision Detection)

When my sprite is on top of the platform, he stays on top of it, thanks to the rectangles I made for him and the ground he stands on. but when I click "jump" he does not jump most of the time. I need ...
0
votes
0answers
36 views

Designing a combat system in Unity [on hold]

I am working on a 3D RPG game using Unity and one of my next task is to design and implement a simple combat system. Basically the combat system should have multiple modes and allow the player ...
2
votes
2answers
44 views

Implementing Mouse Lasso

I am toying around with a Boogaloopers clone (http://www.youtube.com/watch?v=zuaRi_fhdlQ). I have a small problem with the lassoing. Here's my current naive algorithm. The problem with this is that ...
1
vote
0answers
15 views

What is the appropriate way to implement wobble/balance mechanics in Unity 3D?

We are trying to implement a minigame where the player character sits on a bouncing ball, and needs to a) hit forward to move forward and b) hit left/right to adjust against the the ball's natural ...
0
votes
1answer
14 views

XNA graphics.PreferredBackBufferWidth's new value doesn't immediately change window size

I set the width and height of the window in my game constructor, and then pass the graphics manager to a class to check the value. In the game's initialize function, it doesn't seem to recognize the ...
1
vote
0answers
26 views

How to run physics simulation in the background for possible future outcomes?

I'm designing a physics-heavy game in 3d. The core mechanic of this game is that the user gets to choose his actions based on probable future outcomes. For example - the player has a choice whether ...
0
votes
0answers
24 views

Which OpenGL Version shall I target? [on hold]

Okay, I've learned OGL 1 for some days now. glBegin() etc I've now realized that this stuff is absolutely deprecated and 'everyone' says "use OpenGL 3.0 and higher / you have to unlearn the most of ...
-2
votes
0answers
23 views

NODE.JS vs Windows Service [on hold]

down vote favorite pretty sure i'm not on right stack, if so please post a link on which I should ask this question. I'm preparing a Game Design Document for a multiplayer online game and my friend ...
-2
votes
2answers
63 views

AI shooting through walls [on hold]

I made a AI shooting script for my new game but the problem is that the AI ignores the walls and shoots through walls. This is my ai script : #pragma strict public var rocketPrefab : Transform; ...
0
votes
0answers
17 views

Libgdx - exception on mac [on hold]

i'm working on a game for about a month now.. it works perfectly on desktop and on android, but on the mac i'm getting an error and have no idea what to do from there.. the application starts with the ...
0
votes
1answer
70 views

GPL Game Engine - What needs to be released under GPL?

I'm hoping I can clarify this issue. Note, a similar question has been asked here, but it doesn't really give a specific enough answer that I can comprehend at this point! :- How does one escape the ...
4
votes
2answers
866 views

how to make blocks like “redstone” working in a minecraft-like game when the block is very far-away from your character

I'm working on a 2D minecraft-like game, I use chunks to save my world and each chunk has 128*128 blocks in it. And infinite chunks can create an infinite world. Memory should never be infinite and ...
1
vote
0answers
13 views

Vertical alignment of a padded font generated by Hiero in libgdx

I've generated bitmap fonts for libgdx using Hiero. I've got several distance field fonts that require a lot of padding, unfortunately they don't seem to align correctly. Below is a font with a ...
1
vote
1answer
51 views

Android Game Slows Down

I had been developing a Maze Game which is dragging a bitmap down on the maze going on the finish line. on first my game response quickly on my onTouch and dragging and after couples of adding toast ...
0
votes
1answer
38 views

Looking for a full featured C/C++ UV Mesh Unwrapper [on hold]

My first question! Is there an open source C++/C piece of code easy to integrate to solve the UV Unwrapping of arbitrary meshes out there ? I would like to use it to build a light mapper or similar ...
0
votes
2answers
47 views

Still award achievements/badges on failing level?

I've got a simulation game where the player works through a series of missions/levels. The player also earns in-level badges as he works through. But, if the player fails a mission (and has to ...
-1
votes
0answers
40 views

Android Game Development [on hold]

I am new to android and I want to know which is the best way of developing 2d games for android? Is the best way using Canvas, ImageViews etc . Or is it better to use game engines like libGDX ...
0
votes
0answers
15 views

Sprite are generated in a random manner. so i have problem to detect generated ccSprite

Sprite are generated in a random manner. so i have problem to detect which generated ccSprite and how to getTag() from each sprite?? this is my code:- for(int i=1;i<=2;i++) { int ...
-1
votes
0answers
10 views

Issue related to boundingbox cocos2dx v3.0

if (CGRectContainsPoint(sprite1.boundingBox, tapPosition)) { CCLOG(@"Sprite 1"); } how can i write this same method in cocos2dx v3.0??
0
votes
0answers
25 views

FBO result not drawing to screen

I recently added framebuffer rendering to my game and rendering to the FBO works (verified with glGetTexImage), but when I go to render a quad to show the result nothing is drawn to the screen. I'm ...
0
votes
1answer
37 views

Resources for designing (not programming) 2D platformer mechanics [on hold]

I've been making a 2D platformer in Unity and it's been going great. I have the fundamentals down (and as an experienced programmer, I know how to get the results I want; this is not a programming ...
0
votes
1answer
45 views

Fullscreen triangle SV_POSITION and deferred shading

So I'm trying deferred shading in DirectX11. I am using the following method (used in the FXAA shader and described here: http://www.altdev.co/2011/08/08/interesting-vertex-shader-trick/) to render ...
0
votes
0answers
57 views

How is shot synchronization implemented in multiplayer FPS?

I'm building a 2D multiplayer shooter game. I have singleplayer working and started working on multiplayer part (server code,...) and there is one thing I just can't get my head around. When player ...
0
votes
1answer
69 views

Find world matrix

I'm making my first 3D-game with XNA (MonoGame) and have come to a point where I wish to add a crosshair for the player. To do this I need the on-screen coordinates of the location where my fighter ...
0
votes
1answer
37 views

Save Texture2D to file in Monogame

I'm working on a tilesheet builder tool for my game to speed up tile creation, and I need to save a generated texture2D as a png. I've tried using the .SaveAsPng function but it isn't implemented in ...
0
votes
0answers
61 views

3D picking for mouse move event

I implemented color picking recently and I would like to use it as kind of highlight when mouse is over an object but I am concerned about performance. Color picking requires whole frame to be drawn, ...
1
vote
1answer
43 views

Move an object up while touch is active

I'm trying to move an object towards the top of the screen while the touch is active. This is my current code. When I am touching the screen, the object I'm trying to move just keeps it's place (and ...
0
votes
0answers
20 views

Libgdx project “Not Responding” when in debug mode

So the problem I am encountering is that whenever I attempt to debug my Libgdx desktop project and Android project the "app" is constantly "frozen" or "Non responding." By this I mean that I cannot ...
0
votes
0answers
20 views

Add terrain collision and fix axis of camera

I made 3rd person camera script which works ok but needs few tweaks which I don't know how to fix. I'm using controller/ joystick. -Firstly, camera has this issue: when I look at the back of the ...
1
vote
1answer
44 views

Additive blending problems

I'm trying to get the blend of two images to work without luck. I have a render target on which I have an object, then I want to render again the same object in same position but with different ...
1
vote
2answers
106 views

Unity - OnDestroy - When is it called?

I was wondering about the method called OnDestroy in Unity (4.5.2f1) on Windows 8.1 Update 1. I know garbage collection in C# in non-deterministic, so I was wondering if game objects had OnDestroy ...
-3
votes
0answers
79 views

How to become Gaming developer [on hold]

Hi Guys i need to know how to become the gaming developer am a bit C# developer is this useful in the gaming development. What are the prerequisites to become gaming developer. Please do guide me ...
1
vote
1answer
21 views

XNA Texture2D storage question

Are Texture2D objects stored on the graphics card or on system memory? I am thinking that the backbuffer is located on the graphics card (by default) and that the textures are on the system memory. I ...
-3
votes
0answers
48 views

Game development basics [on hold]

I am doing my btech IT currently and know few programming languages such as C, C++,java, php, python, css now studying c# and Have a passion for gaming from childhood thinking to develop a game but ...
1
vote
1answer
78 views

Sever Structure for a Turn Based Game (Chess)

I am working on a Turn-based Game (Chess) I have done the client part and single player mode so AI is no problem here. But the only problem is now I want to make my project multiplayer. I have done ...
-2
votes
0answers
55 views

What's this sound effect called [Usually associated with swords in anime] [on hold]

I've been looking for a particular sound effect which seems to be associated mostly with swords. I can't figure out what to call it, I can find only clanks, swings and flashes but have no luck with ...
0
votes
0answers
40 views

Game object position issue in unity3d

I have a set of objects placed on the same layer where all the objects are invisible except one .When i drag an object in to a selected area the current dragged object get destroyed and the object ...
0
votes
1answer
36 views

Can't consistently add to TimeSpan for Unity Game

I'm making a game that has a timer showing how long the player has survived from being crushed by pessimism. (Long story) I'm trying to use TimeSpan in Unity to accomplish this but it seems that I'm ...
0
votes
2answers
63 views

Switching a project written in Lua to a compiled language

I am experimenting with game development in Lua using the Love2D framework, and while it works fine, I am getting tired of using a dynamic scripting language. I would like to have better performance, ...
2
votes
1answer
61 views

Stats for testing a renderer

I've been writing an OpenGL renderer as a learning process for the past few weeks. Now I wanted to test my renderer against some known numbers, for instance: How many vertices/tris should it be able ...
0
votes
1answer
37 views

Different kinds of collision detection in Android

Are there any other ways to detect collision between two objects besides the bounding rectangle method and downloading another class to put into Android?
0
votes
1answer
44 views

Quaternion rotation, translation, scale or 4x3/4x4 matrices for Skeletons?

I have a question here, I'm still very new to this xD I'm modding a game that uses 4x3 and 4x4 matrices to make skeletons, but I saw that an skeleton can also be made with a quaternian rotation and ...
0
votes
0answers
25 views

Barycentric vertex coordinates in GLES 2.0

I have a certain set of polygons, which are stored in a vertex buffer and an index buffer. The polygons are textureless and normalless. The polygons are dynamic, their buffers get constantly emptied ...
1
vote
2answers
83 views

When do you give in-game advice?

I'm interested in the process of automatically generating advice when a player is consistently struggling through parts of a game. Suppose I already know what advice I want to generate (e.g., "Press ...
-1
votes
1answer
29 views

Object reference not set to instance of an object Unity3D c#

public class player { public projectile pro; pro = GetComponent<projectile>(); void Update() { GameObject go = GameObject.Find("enemy"); Transform ...
0
votes
0answers
92 views

What is “ping pong” in the context of graphics rendering?

I have to render a scene, once per light, and blend the result of the various passes. I heard and read that one way to increase performances and render targets to use would be ping pong. I'm new to ...
0
votes
1answer
32 views

Proper way for Player object to communicate with Map object?

I'm writing my first game (in javascript / node over websockets) and am running into a bit of chicken and egg problem, and am afraid how I'm doing it right now won't scale once the game gets more ...

15 30 50 per page