0
votes
0answers
2 views

How do you make a bullet ricochet off a vertical wall?

First things first. I am using C# with XNA. My game is top-down and the player can shoot bullets. I've managed to get the bullets to ricochet correctly off horizontal walls. Yet, despite using similar ...
0
votes
0answers
2 views

How can I use custom shaders in Monogame?

I wrote a shader in XNA and I want to use it in a Monogame Windows Phone 8 project. How can I convert the effect file(.fx file) to an .xnb file? I use Monogame 3.2 and Visual Studio Express 2013 for ...
2
votes
1answer
98 views

Can I use a song from a YouTube remix in my game?

If I found a video with a remake/remix/version of a commercial song (for example, the theme of Super Mario Bros) with a CC BY licence, I can take this video for a commercial purpose like the ...
-4
votes
0answers
27 views

First Person Shooter about street riots [on hold]

I'm thinkgin how to realise my idea easy. What can be taken for the base? Is there complete opensource platform? First Person Shooter Street Riots. Mass Riots. Paving stone. Molotov cocktail. ...
0
votes
1answer
44 views

How to retrieve a cube collision by faces

I work for a while on a minecraft game (voxel). I am front a problem for a long time about the collision detection. I want recover the cubes collision from my highlighted black's cube like on the ...
0
votes
1answer
26 views

How can I implement simple distributed processing in a Unity game?

I'm looking to set up a game which uses distributed processing. Just a simple brick shooter in unity with the distributed part being that the calculations for the falling blocks are handled by another ...
2
votes
1answer
30 views

How to get a Coordinates of a 3D Object in Android

How is it possible to click on an area of a 3D Model (.obj-File) for example a cube, where you can get different Events of the six sides. For Example the orange area of the picture gives me a value of ...
0
votes
0answers
29 views

Building 3D Game Assets Properly [on hold]

I'm currently modeling my game characters in Blender. I'm not sure at what point does my low-poly character model need to have detail added so that the normal maps can be generated, for example, get ...
0
votes
0answers
47 views

How to rotate a line in 3d space?

I am trying to figure out direction vectors of the arrowheads of an arrow. Basically I'm given a normalized direction vector (u,v,w) and I need the normalized direction vectors of the its two arrow ...
0
votes
0answers
22 views

Determine speed of sprite

I'm trying to calculate the speed of my sprites in Cocos2d but I'm having some difficulties. I'm not sure which units of time/speed cocos2d uses. My background sprite moves 2 positions to left each ...
5
votes
2answers
68 views

Creating Platform game with Inclined Levels

Till now I have developed platform games in which a player can only move and detect tiles linearly. I wonder on how to implement games in which a player can move on an inclined or irregular surface. ...
0
votes
0answers
22 views

Best tools to make game graphics for iOS games [on hold]

I want to make game graphics that are smooth not pixelated, kinda like vector graphics and I will need to use it in iOS games. I am not that experienced in creating graphics so I looked here and no ...
0
votes
0answers
12 views

setChaseEntity freezes or jitters the AnimatedSprite

I'm trying to implement setChaseEntity method in a physics based app. I wrote the below code which has an animated sprite ans as the player. The player is movable and it can jump. When i try to focus ...
-2
votes
0answers
37 views

which engine should i choose to build android game other than unity [on hold]

for a 2d game which would the best engine to choose other than unity 4.3 it should support all the necessary things required I was thinking of cocos2d plzz sugest smthing
0
votes
0answers
37 views

Simple Libgdx bullet example

I'm looking for a SIMPLE example of the use of the bullet physics engine in libgdx. Before you point me at the wiki, I have read that, but that mostly describes installation, and just a "raw" ...
0
votes
1answer
31 views

Can UE4 be used from multiple locations with a single license?

I want to subscribe to Unreal Engine 4 with my small game development team. But before we do, we have a question: can we also use UE4 from multiple locations at the same time? So that all of our ...
1
vote
1answer
38 views

How can I play an animation in response to an event?

I've written a script to play an animation, but it starts immediately as my level loads. Instead, I want it only to start when triggered by some event or after a given timeout. How can I do this?
0
votes
1answer
37 views

Is this Possible to force gameobjects (coliders etc) to get stretched based on the aspect ratio of the screen?

Well with unity3D, I am in big trouble whenever I use sprites. As for textures I compensate for a evener look by Stretching it (Screen.width & Screen.height- that's fine for low end 2D games). Now ...
1
vote
2answers
81 views

How can I get a direction vector from a an Euler angle?

Im trying to get a directional vector from an euler angle. But im not getting how to do it. This is what i got so far. escapeAngle += 90; var radians = escapeAngle * (Mathf.PI / ...
0
votes
1answer
23 views

How do I combine two textures / texture regions / images into a single entity using libgdx?

I've googled this but can't seem to find anything on "concatenating" two images, especially using libgdx. Any ideas? (pointers, algorithm suggestions, etc are highly appreciated) Thanks.
2
votes
2answers
46 views

What is the advantage of wrapping D3D in a class versus a namespace?

Almost all the tutorials and books use a class wrapper for Direct3D. But I haven't found any scenario in which using more than one instance of Direct3D system (the "device" and state, et cetera) is ...
0
votes
3answers
107 views

How necessary are shader coders? [on hold]

I know that gameplay mechanics programmers, either directly working with source or with scripting are needed, however there are so many shaders written already that I would imagine you could find ...
0
votes
0answers
24 views

XNA - Link between Create Rotations matrices

A friend of mine have been coding some rotations on my XNA project, but the order of the matrices rotation are not good. Some are of form : Matrix.CreateRotationZ(1.21f) * ...
-2
votes
1answer
70 views

Why is my Snake' tail rendering the wrong sprite? [on hold]

I am making a snake game in Unity. The game is simple, using Texture2D to display the head, tail and body parts. I am stuck with this problem: I stored 4 textures (each one for one of the four ...
0
votes
2answers
28 views

Negamax Checkers not working properly

I'm trying to implement negamax in my checkers game. Sometimes the IA does the appropriate move, sometimes don't. Here is my code: private int evalPawns(ArrayList<Pawn> pawns, int turn){ ...
0
votes
0answers
27 views

XNA - Store and define level event

I am currently developing a game in C# using XNA/MonoGame and I face an issue to manage and store my level event. I store my level in XML (Enemies, Spawn location...) and I would like to store my ...
1
vote
4answers
187 views

Why would you use software rendering over hardware rendering, today?

As opposed to CPU or software rendering I assume? Wouldn't generally all current rendering be GPU based, seeing as you would be using OpenGL or Direct X? Could someone give me some info here, can't ...
1
vote
1answer
40 views

Why isn't the bitangent calculated?

In teh tangent space vertex attributes why is the bitangent (aka binormal) provided as an attribute instead of calculated? If the three vectors of the tangent space must be perpendicular then the ...
1
vote
1answer
117 views

What is Ogre::String?

I was working with the OGRE .NET bindings (MOGRE) for quite a long time. To improve my (not that good) C++ skills, I am switching from C# to C++. After implementing a basic OGRE application, I was ...
13
votes
3answers
2k views

What is the utility of squared radius and inverse squared radius for lighting computations?

On one of the slides from "DirectX 11 Rendering in Battlefield 3" PowerPoint I noticed the folowing code: struct Light { float3 pos; float sqrRadius; float3 color; float invSqrRadius; } I ...
0
votes
0answers
13 views

alBufferData() sets AL_INVALID_OPERATION when using buffer ID obtained from alSourceUnqueueBuffers()

I am trying to stream audio data from disk using OpenAL's buffer queueing mechanism. I load and enqueue 4 buffers, start the source playing, and check in a regular intervals to refresh the queue. ...
0
votes
0answers
9 views

Spritebuilder and CCScrollView, page indicators not showing up?

I'm using Spritebuilder to make my game, and CCScrollView usually saves me quite a bit of time. I'm trying to implement the scroll view much in the same way as the home screen on an iphone uses the ...
0
votes
0answers
9 views

SelectBox in LibGDX doesn't display and freezes the program after a click

I am currently trying to apply an overlay with LibGDX over my 3D ModelBatch. Everything works fine except for the SelectBox. Once instanciated, it shows up on my screen I can click on it once but then ...
0
votes
0answers
26 views

How to play music across several Android activities

to make it simple: I am creating an RPG/MonsterParty styled game, and I really could use the help of laying out the framework of it. I've looked into game-engines, but from scratch seems the best ...
0
votes
0answers
33 views

Advantages of using Maya or 3DS Max? [on hold]

I've peered through countless articles asking "Which program should I learn: Maya, Max, XSI, Blender, Modo. . .". They are usually followed with opinions such as: "What ever looks or feels better." or ...
-1
votes
0answers
25 views

Good resources for spritesheets [duplicate]

I did use the shy guy kingdom and opengameart.com but I want one that's a little more up to date. I'm not the best digital artist unless I use a stylist. Also point me out to some basic sprite ...
5
votes
1answer
89 views

How can I implement Objective-C libraries in Unity?

I've been a "hardcore" developer for sometime now, as I've always worked with pure code reactive rendering, and contributed to Cocos2d library some time ago , (It is the one I used for my games) . But ...
0
votes
0answers
12 views

Incorrect click event when resize on libGdx

I want to use scene2D, in libGDX, to detect click on object. I have this simple Game sample : Stage stage; @Override public void create() { this.stage = new Stage(1280, 720, true); ...
-1
votes
0answers
34 views

How to make a basic exp system [duplicate]

I'm using java and planning out a game i'll work on. Before I start coding, how would I add so the user gets a reasonable amount of exp each level so I don't have to have a max level.(I might ...
0
votes
1answer
73 views

How to add a nice looking muzzle flash to the tip of my guns

I am making a top down shooter and would like to add a muzzle flash to the tips of my guns. So I have an idea of what I want to do which would be just a circle that would fade from yellow to white or ...
0
votes
0answers
22 views

GLM Rotating Combining Multiple Quaternions?

I have a camera which I want to control with my mouse. I want the mouse to control the pitch and yaw of the camera but not the roll. To avoid loss of significance, I am storing the quaternions for ...
0
votes
0answers
11 views

Having Trouble importing Maya file into UE4

I'm new to Unreal so please bear with me. I'm importing a maya file into UE4. It imports OK, but the problem is that the child meshes are not showing. How can I access each single mesh in the file ...
0
votes
2answers
28 views

How would I apply my isometric art onto isometric CSS with correct Z-indexing

I have been trying to wrap my head around how to apply my isometric art into an array like so with correct z-indexing In the long run I want to be able to select a specific tile and depending on ...
0
votes
0answers
13 views

Blender, the movement keeps going to the 3D cursor [migrated]

I need help! I think I accedently pressed something to make it like this see how those blue, red, green arrows are at the 3D cursor instead of those vertexes I've selected? how do I fix that? ...
1
vote
2answers
45 views

How to use camera transformation without depending on (1,-1) scale during spriteBatch.draw()

I am creating a 2D platformer type game in XNA. I currently have a camera object, with a position/rotation/zoomlevel that I use to generate a transformation matrix to pass to SpriteBatch.Begin(). ...
0
votes
0answers
46 views

How to make good looking bullets with a trail for top-down shooter?

So I am making a TD shooter and was wondering how to make fancy bullets. Right now I have a giant sprite of a bullet trail that is the bullet as well but it doesn't look that good. I am using libgdx ...
0
votes
1answer
74 views

OpenGL - How can I make the edges of this textured circle smoother?

I'm building a game and I've applied a certain texture (RAW file) to a circle (GL_POLYGON) in OpenGL. It loads correctly, with the right size and all, but the edges seem a bit jagged and I would ...
-2
votes
0answers
21 views

Unity Question: Destructible Boxes [on hold]

How would I go about creating a destructible box within unity? I am going for the videogame cliche "OOO look a box! There's stuff in that y'know"!
3
votes
1answer
29 views

How do I convert a horizontal, panoramic skymap texture into a “dome” version of itself?

How do I convert the following skymap image: into a "dome" version like the one below? I'm looking towards making use of Adobe Photoshop for the task at hand. However, I'm at a loss on what ...
0
votes
0answers
34 views

Simple way to add Gamestates and menus to a game [on hold]

I'm using java which is the only mastered language I know(c# a little). I've copied someone on YouTube's code but it doesn't make much sense. I know everyone codes differently but how would I add one ...

15 30 50 per page