0
votes
1answer
85 views

Why I'm getting the same result when deleting target?

In the following code we use target in the function: moon.mouseEnabled = false; sky0.addChild(moon); addEventListener(MouseEvent.MOUSE_DOWN, onDrag, false, 0, true); ...
0
votes
1answer
180 views

Sprite detect background color

I have read somewhere that sprites can detect the background color, but I don't remember where and how it's working. What I'm trying to do is just a function to detect if the sprite is on a special ...
0
votes
1answer
1k views

AndEngine: How to add multiple fixtures into body?

I want to create a custom body which have very random shape like a table. So how to add/combine multiple fixtures into a body?
0
votes
1answer
2k views

Platforming - Hanging off of cliffs and edges? [duplicate]

Possible Duplicate: Programming a climbing system like tomb raider I've been interested in platforming gameplay dynamics for a while now. What I'm trying to ask is how games like Assassin's ...
0
votes
1answer
443 views

Bullet impact or force on cube in Blender

Hoping someone here may be able to help. I'm new to Blender (and game development/3d modelling) and have been following some tutorials online to get me started. I am building a very basic FPS just to ...
0
votes
1answer
239 views

How to make smooth animations

Say I want to write a card game. I have a hand of cards and I want to be able to draw a smooth animation of a card moving from the hand to the table. I am looking for suggestions on how to elegantly ...
0
votes
1answer
533 views

android basic Movement for array-objects

I was adviced to start a seperate question for this so here I go. Been stuck so long with this do if you can help, please do. Lets get to it! Im trying to set the speed for my bullets, but since Im ...
0
votes
3answers
338 views

Is learning OpenGL2.1 today a bad idea? [duplicate]

Possible Duplicate: Is learning OpenGL 2.1 useless today? This question was asked around 2 years ago and i have well read the answers to it, but that was 2 years ago, i would like to know ...
0
votes
1answer
155 views

How would I write a shader that supports 2 different texture coordinates?

Hi I am not very good with writing shaders. How would I make a shader that simply supports 2 texture coordinates so I can load up 2 different textures to be used at the same time but on different ...
0
votes
2answers
282 views

Java applet game design no keyboard focus

THIS IS PROBABLY THE WRONG PLACE. POSTED ITHERE (STACKOVERFLOW) I'm making an applet game and it is rendering, the game loop is running, the animations are updating, but the keyboard input is not ...
0
votes
2answers
783 views

How do I create a third Person View using DXUTCamera in DX10?

I am creating a 3d flying game and using DXUTCamera for my view. I can get the camera to take on the characters position, But I would like to view my character in the 3rd person. Here is my code for ...
0
votes
3answers
1k views

How do you make bullets move at an angle in different angles using delta

I'm having trouble making my bullets move at a steady pace using delta. I have the formula I used outside of slick2d, but it doesn't take delta into account. My bullets fly fast. How do I make them go ...
0
votes
1answer
462 views

XNA Multisampling only for 3D

I am working on a game which consists of 3D elements and a 2D GUI. I have it working properly, but I want to enable multisampling for only the 3D parts, and not the 2D Textures. Otherwise, the GUI ...
0
votes
1answer
848 views

Kinetic scrolling in AS3

I have a container movieclip that contains my "game" and I would like to be able to drag the "camera" (i.e. the container clip) around, but I need it to have kinetic movement, i.e. feel more like ...
0
votes
1answer
375 views

How to rotate an object towards the walking direction?

I'm working on a game where you move a object on a game surface of cells, every time you move this object it steps to a cell, up, down, left or to the right. I have been trying to find out a way to ...
0
votes
1answer
1k views

How can I implement 3D textures using webgl?

I went through the google I/O video but did not get exactly how to do it. If somebody could point me to a simple 3D texture implementation using webgl, it would be helpful. i basically have a volume, ...
0
votes
2answers
453 views

Player position triggering teleports

I'm developing a Minecraft plugin (bukkit) in which a server admin can create 'portals' - a small region that will teleport any players who enter it. I have the teleportation sorted and I know how I ...
0
votes
1answer
1k views

Java2D Game Flickering

I'm in the process of trying to get familiar with making games in Java, using the Swing library. Coding my Snake game however, I've got to a point where the game is flickering/ghosting and I haven't ...
0
votes
2answers
3k views

I have created character human in blender. How to use it in Java/Android

Title says it all pretty much. I can't find anything online which explains it in details. I have created a character model in Blender and I want to use it in Android app. I want to make it move. ...
0
votes
1answer
2k views

UDK weapon on first person not showing up [closed]

I've been following this tutorial http://www.moug-portfolio.info/udk-weapon-basics/ all my code is the same as the page... except here DefaultPropeties { Begin Object Name=GunMesh ...
0
votes
1answer
742 views

rotate opengl mesh relative to camera

I have a cube in opengl. It's position is determined by multiplying it's specific model matrix, the view matrix, and the projection matrix and then passing that to the shader as per this tutorial ...
0
votes
2answers
434 views

gradient coloring of an object

I have an object(FBX format) in my project, it's a line drawn in 3D max. I want to color the line in XNA so that the color starts from a specific RGB color in both the start and end points of the line ...
0
votes
1answer
757 views

XNA: Instancing Cubes, Each Side Different Texture

I am trying to make thousands of instanced cubes, each with a unique texture on each side. Am I going to have to split each cube into 6 instanced faces, or can I unwrap it in such a way the the ...
0
votes
1answer
642 views

Sampler referencing in HLSL - Sampler parameter must come from a literal expression

The following method works fine when referencing a sampler in HLSL float3 P = lightScreenPos; sampler ShadowSampler = DPFrontShadowSampler; float depth; if (alpha >= 0.5f) { // Reference ...
0
votes
3answers
486 views

Saving and loading large tilemaps

As the title state, I have a large tilemap 400 x 400 x 26. Which currently just about fairs when using it. Saving takes a couple of seconds and it saves to a .ser file which is okay at the moment ...
0
votes
1answer
171 views

Can someone explain this occurrence with a fbx model in xna?

Because this is kind of weird to explain, let's show you what I mean. This is in my game. When I import this base ship model, it should be at (1000,1000,1000), but the model acts like it's at ...
0
votes
2answers
253 views

Logic / Render phases with a single thread

The question I have may generate different opinions from different developers, but I'd still like to have an answer on this. Its all about the updating and rendering steps of the game loop, and their ...
0
votes
2answers
462 views

Strategy for controlling the physics of a bike

I'm new(ish) to Actionscript 3 and I was wondering what the code what would be like for controlling the bike in a game. How would the animation of the bike work? Would I have to create a bike ...
0
votes
1answer
154 views

Writing a basic shader for large input files

I started writing a shader for my iOS app and instead of starting from scratch i used this tutorial here: http://www.raywenderlich.com/3664/opengl-es-2-0-for-iphone-tutorial I wrote an import ...
0
votes
2answers
447 views

using per pixel collision for an elastic response

I realize this might be open ended ended but curious if I just did some over kill... I had this http://xbox.create.msdn.com/en-US/education/catalog/tutorial/collision_2d_perpixel and i reworked it ...
0
votes
1answer
677 views

Cocos2d Box2d contact listener call different method in collided object

I have the building object, wen it hit with other, i want to call some method inside it. Building.mm -(void)printTest { NSLog(@"printTest method work correctly"); } in my ContactListener i ...
0
votes
2answers
322 views

Compare new Vector2 position with previous Vector2 position

I'm trying to place different objects in the game area like a grid, but I have some problem with my method that creates this objects and there positions. I'm trying to store each new positions in a ...
0
votes
1answer
625 views

Resource and game state management for multiplayer game server

I'm building a virtual world kind of engine. It's mostly for fun and learning. But I would like to get it right from the very beginning, so it is stable and can be scaled relatively easily. I've been ...
0
votes
4answers
1k views

AndEngine GLES2 - getting Black screen on emulator 4.1

I'm new in andengine . I create following code public class MainActivity extends BaseGameActivity { static final int CAMERA_WIDTH = 800; static final int CAMERA_HEIGHT = 480; public Font mFont; ...
0
votes
2answers
3k views

SharpDX: best practice for multiple RenderForms?

I have an XNA app, but I really need to add multiple render windows, which XNA doesn't do. I'm looking at SharpDX (both for multi-window support and for DX11 / Metro / many other reasons). I decided ...
0
votes
1answer
238 views

Does it make sense to build a text-based game Facebook app without using Facebook? [closed]

If I am building a text-based browser game, does it make sense to build it on you domain first, without using the Facebook API? I don't want to buy an SSL if I don't end up following through with ...
0
votes
1answer
487 views

How do I clear a specific render target when more than one are set? Or how do I keep the depth but clear the color?

Let's say I set two render targets GraphicsDevice.SetRenderTargets(rt0, rt1); If I call GraphicsDevice.Clear(Color.Transparent); both render targets will be cleared. Therefore, how can I clear a ...
0
votes
1answer
2k views

Interactions between game objects

I'm programming a basic Pacman clone to teach myself game programming. However, I'm struggling with the best way to have the game objects communicate/interact without my code becoming a huge mess. ...
0
votes
1answer
529 views

Collision Detection Failing at faster Speed?

I am new to programming so thought I would make a Pac-Man clone to teach myself. I am doing it in C++ using SFML. Anyway, I use a bunch of collision tests. Everything works great.. but if I am going ...
0
votes
2answers
432 views

Help with Open GL terrain

I have a terrain class like so: class Terrian { public: Terrian(int width, int height); virtual ~Terrian(); GLuint get_vertexbuffer(); GLuint get_colorbuffer(); ...
0
votes
2answers
542 views

Platformer movement and collisions

I'm working on a platformer but I'm stuck at the player movement and collisions. Right now I'm not including the grid at all in the movement, but it's time I do it. I've read this article on how to ...
0
votes
1answer
317 views

Instancing pixel shader parameters — pass instance data through vertex shader?

I'm working on a deferred shader, and I want to use instancing to draw point lights. From what I understand, I can send the instance data through the vertex shader and pass it through unchanged to ...
0
votes
1answer
106 views

Tilting a platform on its axis?

I'm wondering how I can tilt a platform on it's center/axis. For example, if the player steps on the left of the center, it should tilt to that side like in this picture. Can a platform like this ...
0
votes
1answer
517 views

Character rotating around target

I'm using xaitment plugin for Unity as the AI for a demo level but I have a problem. My character is supposed to walk to random points but while it's walking there it's rotating around the point. I ...
0
votes
1answer
3k views

Facebook App Game Canvas Size

I am building a Facebook App Game and was wondering what a safe height and width for my canvas. I know that the current standard is 760 and there are questions about that, but I would like to know ...
0
votes
1answer
234 views

Collision detections too fast? [closed]

I'm creating a simple asteroids game and I have three lists with: big asteroids, small asteroids and missiles. When the player hits a big asteroid two small asteroids are created. But The problem is ...
0
votes
1answer
594 views

Enemy collision detection with movie clips

I have created multiple movieclips with animations within them. It is an obstacle avoidance game and I cannot seem to be able to get my enemies to contact my playableCharacter. The enemies I have ...
0
votes
1answer
2k views

Random terrain generation with caves

I am currently working on a small game that will generate a world with caves and entrances to the caves, something like Terraria if you will. Today I reached some trouble on the world/cave generation ...
0
votes
1answer
222 views

Handling Latency in Multiplayer Shoot-em-ups

I had an idea for an architecture, and I was wondering if anyone has implemented something like this or has used AWS or some other service to help? I thought about using NodeJS + SocketIO to handle ...
0
votes
1answer
127 views

How to properly simulate object aproximation towards camera in 2D?

I'm trying to make some objects come towards the camera but it just doesn't feel right... you can check the progress here: http://testing.fyrastudio.com/lab/tweetOlympics/v0.005/ You run by ...

15 30 50 per page