1
vote
1answer
39 views

Can't get Depth testing to work (cube faces shine through)

I'm making my first steps with OpenGL with LWJGL. I am currenlty constructing a... wait for it... CUBE. Quite creative... Up to now i made it to three of its faces and thats where the Problems began. ...
-1
votes
2answers
55 views

Start timer in two clients the same time

I want to create a client/server turned-based game where each player will have 5 seconds in order to play. If extends this time will be other player's turn to play. In order to do this, I have created ...
0
votes
1answer
28 views

SDL text or additional images not loading

I've got a basic side scroller that allows the user to run and jump around. I've used various tutorials to get this far, but I can't seem to get any text to render, no matter what method. I also can't ...
1
vote
1answer
81 views

Does Blender have a main menu?

1 - Does Blender have a main menu, and if so, how do I make it appear? This is what I'm looking at currently: http://imgur.com/wbowyco 2 - Also, that text panel at the top, that is as large as I can ...
-2
votes
4answers
154 views

Making 2D Games [closed]

I am starting out on making my own games. I am very interested in making 2D side scrolling games, such as SNES/Mega Drive games and eventually I want to create my own Metroid/Cave Story inspired game. ...
1
vote
1answer
68 views

How to deal with pushing objects out of collision in a physics engine

I'm developing a 3D physics engine (I know, I should use one of the many good existing physics libraries, however my collision detection is optimised for objects with highly ordered highly complex ...
-1
votes
0answers
38 views

Model disappears when drawn twice?

I have a game character I load once for the original model variable. But when I link that asset (the model file) to an other model variable during runtime (and load it during runtime), the original ...
1
vote
1answer
53 views

Hill-jumping game mechanic like Tiny Wings

I'm a huge Tiny Wings fan and I'd like to understand the game mechanic at a deeper level. What are some good resources for the basic Box2d (or similar) physics behind the hill-jumping game mechanic? ...
2
votes
1answer
46 views

XNA Scale and Render Targets

I'm working on a top down Strategy/RPG/Tower Defense XNA Game for Windows, and I'm running into an issue while scaling. My display mode is 1680 X 1050, and that is what I'm setting the ...
-2
votes
0answers
43 views

Losing sides of a rectangle after movement C# [closed]

I am making a top down shooter, so far everything's great, until I decided to put a car into the game. Currently the collision works fine when the player does not enter the car, and attempts to walk ...
1
vote
1answer
79 views

Ray Tracing in 3D - generating a ray

A ray is shot from the camera eye to the camera screen at point (i,j) how do I get the coordinates of that point in 3D world coordinates? The best I could find online is for point S S = Q + au + bv ...
-2
votes
2answers
68 views

3G ISPs blocking TCP protocol on port 80? [closed]

I want to run a custom TCP protocol over a 3G connection for a game. (Amazon server with mobile clients) I decided to use port 80 because hey, it's open. I'm aware that some paranoid ISPs will have ...
-1
votes
0answers
41 views

Optimizing performance of a heavy fragment shader

I need help optimizing the following set of shaders: Vertex: precision mediump float; uniform vec2 rubyTextureSize; attribute vec4 vPosition; attribute vec2 a_TexCoordinate; varying vec2 tc; ...
-2
votes
1answer
129 views

Can I make a downloadable .exe app for my game if I make it in HTML5?

I was going to make a MMORPG in HTML5 and javascript but I think I'm going to make a singelplayer first after all.. It would be nice to make the game in html5 anyway so the transition to making an ...
-4
votes
0answers
43 views

The program '[756] TaskHost.exe' has exited with code 0 (0x0) [closed]

What is the cause of this error? I've commented part of my code, and after it application exits without any errors or warnings. I've commented part of Draw Method in one of my Menus Option in game. It ...
0
votes
3answers
115 views

Hardcore or casual? Help me understand please

I am working on an easy casual physics puzzle on iOS for kids and thought of this question. In my honest opinion casual kids games must have simple gameplay - one tap or command for a step, several ...
-4
votes
0answers
62 views

OpenGL parsing normals from obj gets shading wrong [closed]

I have written a simple OBJ file parser for my game engine and it renders everything correctly, but, when I try and use the normals to do lighting it gets shaded all wrong! I draw using an index ...
0
votes
0answers
80 views

How can I fix dark banding artifacts when I turn on SSAO? [closed]

When enabling SSAO on my object ( in grey on the picture, background in green), sometimes, claimed in position of the camera, dark bands appear on my object (see picture). The shader is written in ...
1
vote
0answers
47 views

Steering behaviour

So I found this steering behaviour code in a book but i dont really understand the last part of the code what exactly is he doing because im unfamiliar with c++. Why would you need to ...
4
votes
1answer
60 views

How to skip the sky in lighting shaders?

I recently implemented a sky in my deferred rendered game. It is a procedurally calculated sphere with a texture applied to it. Unfortunately all lighting shaders (light sources, ambient occlusion) ...
-3
votes
0answers
33 views

Farseer: Character jumps weird [closed]

I have a little problem with jumping. For example, the character(Mario) jumps from the top of a tile. The character is now in the air and not touching a tile. After that, he touches the right or left ...
-1
votes
1answer
22 views

Shader applied to Texture is not showed in GLSLES

I'm trying to learn the basic of shaders following basic tutorials in Ogre. I use GLSL ES 2.0 #version 100 I think I have a basic concept problem. I'm trying to render a model + texture without make ...
0
votes
1answer
21 views

Android cocos2d removing a sprite after animation

I have an object going across the screen with an animation using the following code: CCSpriteFrameCache.sharedSpriteFrameCache().addSpriteFrames("ninjastar.plist"); CCSpriteSheet projectileSheet = ...
1
vote
0answers
29 views

Move parent according to child axis in Unity?

Can I ask my parent to move according to the child axis? This means if I turn right, then right again, the parent has to be at 180° from its original position, and not only at 90° (because "Right" ...
-2
votes
0answers
71 views

Game development update for newbie [closed]

I know many topics been here before but i think mine will be the most updated question. I want to start on game development, my target platform is android. I have experienced in web desktop and ...
3
votes
1answer
90 views

Matrix represents same rotation with different euler angles

I have Transform component storing it's rotation as Quaternion. Transform has set/getEulerAngles (rotation order oy, ox, oz). I want to rotate object in any direction but while testing I get ...
2
votes
1answer
110 views

How do I make a tile passable in one direction only?

I want that my character can jump through some of the tiles, like Mario does in this video: http://www.youtube.com/watch?v=zIPYzbNrNhc In this video, Mario jumps up through orange platforms, but ...
1
vote
1answer
37 views

Which key bindings to use for switchable primary and secondary attacks?

I am making a game in which the player can have a primary and secondary weapon (like an ability). These are my current planned key bindings: Action | Effect ----------------- Click | Shoot primary ...
3
votes
1answer
66 views

Player ranking using ELO with more than two players

I would like to use ELO to track player rankings between matches of a certain game, however the game can be played with up to four players in a match. I have seen games like Carcassonne use ELO with ...
1
vote
1answer
56 views

Get MonoBehaviour components from Prefab

I need to assign the script values for the following Prefab in Unity 3.5 The structure is the following Kinect_Prefab -MonoBehaviour ·Script: Missing Mono Script -MonoBehaviour ...
-4
votes
0answers
63 views

A simualtion task in blender (contains neural network) [closed]

I'm making a hand simulation in Blender 3d modeler. That hand will try to learn how to hold a stick vertically balanced. In Blender, I have to implement an unsupervised algorithm for this task. My ...
14
votes
5answers
707 views

Do you actually use diagrams to model games?

I mean mostly UML but any method that works is viable. So - do you actually model your games with UML/other diagrams or different methods? I had a subject at my university about modelling with UML and ...
0
votes
3answers
121 views

How do I move a sprite to the mouse position?

So, I'm trying to make my sprite walk to the X-coordinate of my mouse click. This is my code: currentMouseState = Mouse.GetState(); MouseState mouseState = Mouse.GetState(); ...
-2
votes
1answer
27 views

Getting started with Phaser/TypeScript [closed]

Looking for help getting started with the new TypeScript HTML5 game framework Phaser (https://github.com/photonstorm/phaser)?
3
votes
1answer
115 views

Aim prediction along a parabola - How to make a Tower Defence Mortar aim accurately

I am building a very basic tower defence game in Unity3D where one tower is your standard long range mortar/artillery. I want the projectile it fires to follow a parabola curve to make its movement ...
-3
votes
0answers
34 views

Farseer: Difficulties with polygons [closed]

I want to create a polygon but I get many error messages. I don't know what to change. What is wrong? The size of my texture(polygonTexture) is 350x150 pixel. ...
6
votes
2answers
244 views

How to define areas filled with water?

I would like to enhance my little game engine with nice looking water simulation. To start working on that I need to find a proper way to represent water in the game. Unfortunately I don't know much ...
-2
votes
1answer
31 views

Farseer: are you missing a using directive or an assembly reference?

I want to create a polygon in Farseer. I found an example in the documentation but it's not working because I get this error message: The type or namespace name 'Vertices' could not be found (are you ...
0
votes
2answers
163 views

2D Water Shader

I am trying to build a 2D Water shader and I am using Unity but the plateform isn't a problem. Here is an example of what I am trying to reproduce : Limbo water shader Are there any good tutorial or ...
-2
votes
2answers
75 views

Cross Platform HTML5 Canvas game engine [closed]

I want to build a puzzle game,I want to develop it for Browsers, Android, iOS, And PC. Please help me and let me know is there any game engine that is useful for making cross platform HTML5 games..
2
votes
1answer
153 views

How should a programmer get started with creating 2D Sprites? [duplicate]

I am a programmer. Given a sprite sheet, I can code game as per the requirements. But I do not know how to create these sprites. I use Cocos2D. And I do not know where to begin. I have never done ...
1
vote
1answer
38 views

How to handle scaled aspect ratio multiplayer player coordinates

I'm building a cross platform multiplayer game. I'm using pixel graphics and starting at a small 256x144 16:9 aspect ratio That gets scaled up to larger 16:9 resolutions. The graphics look ok however ...
5
votes
1answer
92 views

Slow glReadPixels

I have implemented a lense flare for my game, and it looks great. The first draft used individual sprites each with its own draw call. This was very slow, so I reengineered it to use a single draw ...
7
votes
3answers
183 views

Collision detection problems using AABB's

I implemented a simple collision detection routine using AABB's between my main game sprite and various platforms (Please see code below). It works great, but I'm now introducing gravity to make my ...
-6
votes
0answers
42 views

What's happening with Unity boards? [closed]

I've recently run into the same image when trying to read any posts from the Unity boards, stating that "something went wrong" (which is not descriptive at all). Is there some maintenance update ...
0
votes
1answer
47 views

Farseer: Ball is not getting slower

The ball is not getting slower when it rolls over a straight platform. I added friction but that changed nothing, the ball still gets not slower. I want that the ball gets slower and slower and stops ...
1
vote
0answers
52 views

JMonkey - Create health bar?

How can I create a health bar in JMonkey? Is there some documentation that can help? I am working on a game, specifically “Battleship”, using the JMonkey Engine (JME3). I want to add health bars on ...
-1
votes
0answers
36 views

Odd errors w/ disabling game objects with C Sharp in Unity

I'm having problems with properly disabling game objects in Unity. Right now, they're disabling, but I get a "NullReferenveException" error whenever the first object to be disabled is disabled. The ...
5
votes
2answers
126 views

How to create a font from an image for a game?

I found a font in a free pack of sprite as an image: I'm wondering what would be the best way to use it in a game? Is there tools to create a font from this image? Do i have to code it myself? I ...
2
votes
2answers
55 views

Relevant file paths for reading in from a file?

Working on something in XNA, need to be able to read in data from a text file for something. Trying to figure out how I can shorten this pathname down, so instead of it always checking there, it just ...

15 30 50 per page
1 2 3 4 5 305