-1
votes
1answer
145 views

simple win32 window wont show [closed]

The program compiles and runs successfully but does not show a window, it simply ends immediately. #include <Windows.h> LRESULT CALLBACK WndProc( HWND hwnd, UINT message, WPARAM wParam, ...
-1
votes
1answer
490 views

Why doesn't onSurfaceCreated ever run in this code?

I create my game element this way in my activity: public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); mGame = new Game(this); mGame.bootstrap(); ...
-1
votes
1answer
338 views

How to Render Cylinder with built in function D3DXCreateCylinder in Directx9 with Delphi-Xe2 and JEDI? [closed]

I'm new to Directx and i want to render Cylinder using "D3DXCreateCylinder" function. I using Delphi Xe2 and JEDI for DirectX9.
-1
votes
1answer
133 views

XNA 2D Particle in 3D world [duplicate]

Is it possible to make 2D-sprite particles in a 3D world that always face towards the camera?
-1
votes
1answer
117 views

GLES2 rendering performance for different iPad generations

I'm using C++/GLES2 for iPad only (no iPhone). The only device I own is an iPad2 and I do not plan to support iPad 1. Can anyone help me understand realistic goals/limits on iPad 2/3/4 in terms of ...
-1
votes
2answers
154 views

3D turret tracking in XNA 4.0 [duplicate]

I've beeen going through Reimer's flightsim tutorial and wanted to expand it by adding anti air turrets shooting at the ship. Im still new to programming in c# and xna and also a bit horrible in maths ...
-1
votes
1answer
223 views

Pixel perfect collisions for platforms

i'm trying to do a pixel perfect collision but i don't know how to handle collisions when there is a jump . Here i have one image of a sample map: But maybe I've done a bad supposing all pixel like ...
-1
votes
1answer
207 views

Drawing multiple sprites with clear screen for every frame

I googled with best of my skills, but I cannot find any relevant answer to my problem. I'm making a game with an isometric view. I need to draw multiple sprites on the screen and before switching to ...
-1
votes
2answers
1k views

Semi Transparent Background in Scene [closed]

In my game I want to create game over scene which is semi transparent so game scene become partially visible. Game over scene contain several button that are not transparent but I need only ...
-1
votes
1answer
235 views

Building placement in tilemaps (pattern matching)

I'm building a small rts and in my code I have given my buildings a pattern, much like you would pieces in tetris. In other words I want to place irregular shaped buildings on a map without buildings ...
-1
votes
1answer
251 views

how to make animation for a 2d game [duplicate]

I've started working on a 2d game. I wanted to know how animation usually works in 2d games - I know one way is to make a sprite sheet with frames of the animation, but you wouldn't see big sprite ...
-1
votes
1answer
149 views

How can I solve this animation [duplicate]

At the moment I have a simple static texture. Now I want to animate my sprite. The texture is a simple human. When the user press the enter button, the human gets into state2. This is the standart ...
-1
votes
1answer
633 views

2d triangle with OpenGL-Es on Android

hey I am trying to draw a triangle on opengl es . I just followed a tutorial to do it. eventhough everything seems to be fine it does not work. everytime I run my code it sends me back to main menu. ...
-1
votes
1answer
219 views

Parallax With Box2d iphone

I am creating the simple game. In that game car will move and obstacles will come in the car way we will have to save that car from that obstacles. What I have done. I have created the car with the ...
-1
votes
1answer
1k views

Create Box2D and engine polygon Box2D body without sprite

Hey I have created my body using following code: (please read full description) Body polyBody; final BodyDef mBodyDef = new BodyDef(); mBodyDef.type = BodyDef.BodyType.DynamicBody; ...
-1
votes
1answer
580 views

How to make model's arms + weapon follow cursor?

0 Just like the title says. I currently have my controlling movement working just how I want it to. Now in order to proceed with shooting I first should focus on how the model should look like to ...
-1
votes
1answer
95 views

Your mobile device as controller for webapps [closed]

I'm creating a multiplayer game just for fun and exploring different techniques like isometric games, node.js and socket.io. The point is that I've tried to make an alternative approach on ...
-1
votes
1answer
143 views

Java creating new Sprites coding problem

So I'm trying to load various different types of grass Sprites from the same spritesheet. However, the code looks really ugly. The thing is I have public static Sprite grassi = new ...
-1
votes
1answer
1k views

Writing to XML issue Unity3D C#

I'm trying to create a tool using Unity to generate an XML file for use in another project. Now, please, before someone suggests I do it in something, the reason I am using Unity is that it allows me ...
-1
votes
1answer
136 views

Relative positions of player and enemy are different In XNA 3D game

I am having a problem in my 3D jet fighter game using XNA. I have a player jet and a few enemy drones built from a separate class. The problem is that when I set player position and a drone's position ...
-1
votes
2answers
260 views

My 2D collision code does not work as expected. How do I fix it?

I have a simple 2D game with a tile-based map. I am new to game development, I followed the LazyFoo tutorials on SDL. The tiles are in a bmp file, but each tile inside it corresponds to an internal ...
-1
votes
1answer
221 views

forward motion car physics - gradual slow

Im having trouble creating realistic car movements in xna 4. Right now i have a car going forward and hitting a terminal velocity which is fine but when i release the up key i need to the car to slow ...
-1
votes
1answer
509 views

Making a perfect map (not tile-based)

I would like to make a map system as in the GameMaker and the latest code is here. I've searched a lot in google and all of them resulted in tutorials about tile-maps. As tile maps do not fit for ...
-1
votes
1answer
390 views

Get coordinates of arraylist

Here's my map class: public class map{ public static final int CLEAR = 0; public static final ArrayList<Integer> STONE = new ArrayList<Integer>(); public static final int GRASS = 2; ...
-1
votes
1answer
271 views

How do I get bullets to move in the direction of the mouse's position? [duplicate]

Possible Duplicate: Shoot a bullet towards cursor - top down 2d I'm creating a 2D top down shooter, and I want to get the bullets to go in the direction of the mouse. Not sure of the logic ...
-1
votes
1answer
77 views

Test your Mobile App's Code

I am new to game development in HTML5, and I would like to know how I can test my code out to see what I made with an IDE or something. Thanks!
-1
votes
1answer
586 views

Off center projection

I'm trying to implement the code that was freely given by a very kind developer at the following link: ...
-1
votes
1answer
145 views

Source SDK Crash at loading screen? [closed]

I have followed all the instructions on how to make HL2 SDK compile under Visual Studio 2010. But when I get to the loading screen I get this error from Visual Studio: Unhandled exception at ...
-1
votes
1answer
1k views

Asset missing problem XNA

I'm using VS2010 with XNA 4.0 and I'm trying to load an FBX model with texture on the screen. The problem I'm having is this error: Missing Asset: C:\Users\ChocoMan\Documents\Visual Studio ...
-1
votes
1answer
145 views

DirectX UV Coordinates not responding?

My UV coordinates never respond to me for some reason. It is just UV mapping itself in the smallest way possible. It's a tile-able texture and the program is subdividing so much I can't even zoom in ...
-1
votes
2answers
194 views

Dealing with new animations in html5

Wish I knew of a better title, but the issue is rather specific. So the producer of the game I'm working on has given me new animations to put in the game. I knew there might be issues right off when ...
-1
votes
1answer
140 views

C++ Void and Constructor Method Problem with Loops

I am having a problem on the console game I am making. How can I decrease the health of the character or enemy with loopings? My code goes like this by the way for example: class RPG_Scene_Battle { ...
-1
votes
1answer
526 views

How do I perform collision tests between two 3D oriented bounding boxes?

I want to test two 3D oriented bounding box objects against each other and stop them if there is a hit detected. How can I accomplish this using only the collision detection functions in the Bullet ...
-1
votes
1answer
161 views

Circle collision with a specific tile on a grid

Does anyone know of a good tutorial that will show collision detection on a 2d game platform without using any engines?
-1
votes
2answers
367 views

How should I learn about collision detection?

If I want to use physics engine for my game then how should I go to learn collision-detection algorithms? When I read AI book for games, the book talks about collision detection, so I want to learn ...
-1
votes
1answer
1k views

Most effective marketing strategy to promote a casual iOS game?

So I posted this on another forum yesterday but that forum got suspended for malware so gotta wait for the webmaster to fix the site. Here's the basics: We've released a press release through PRMac ...
-1
votes
2answers
328 views

FreeType2 Crash on FT_Init_FreeType

I'm currently trying to learn how to use the FreeType2 library for drawing fonts with OpenGL. However, when I start the program it immediately crashes with the following error: "(Can't correctly start ...
-1
votes
1answer
740 views

Microsoft App Hub “the resource you are looking for is unavailable at this time”

I'm trying to get App Hub to allow me to upload an XBox game. To do so I must "get verified with dreamspark" and varify through my school, in my case a university. App Hub directs me to doing this. ...
-1
votes
0answers
67 views

ball 2d animation [duplicate]

Possible Duplicate: canvas ball physics animation I want to animate ball in html canvas like this. ctx.beginPath(); ctx.arc(75, 75, 10, 0, Math.PI*2, true); ctx.closePath(); ctx.fill(); ...
-1
votes
2answers
747 views

Continuous Movement of gun bullet

I was using box2d for the movement of the body. When I apply gravity (0,0) the bullet continuously move but when I change gravity to the earth the behavior was changed. I also try to apply continuous ...
-1
votes
1answer
614 views

Windows Events lag behind

I'm making a simple openGL application and so far I can get the window to display, the update/render loop work, and it processes windows events (like WM_QUIT and WM_MOUSE). I've found though that ...
-1
votes
1answer
204 views

Help with fleet combat strategy game AI

can you tell me how to implement a game AI like the sea battle Ai in NAPOLEON:total war. I want to finish a small game,which the ship can occupy the island to produce more ships and my fleet can ...
-1
votes
1answer
137 views

Modifying SAT Code To Obtain Penertration Vector [duplicate]

Possible Duplicate: SAT, How Do I Find The Penetration Vector? Hi how could I modify my SAT code and visual debug it to find the penetration vector of the two Entities so I can separate ...
-1
votes
1answer
3k views

I am looking for a simple tutorial for sprite animation in android [duplicate]

Possible Duplicate: What's the best way to create animations when doing Android development? I saw a couple of them on the internet but they are beyond my level of understanding ...I ...
-1
votes
1answer
1k views

Ball Physics for Android Game

I am starting work on a new Android game and I haven't had any experience implementing physics before. I am trying to steer clear of external libraries such as box2d, not just because I think it is ...
-1
votes
1answer
265 views

How to choose a 3d modeling software? [closed]

What should you be aware before making a choice?
-1
votes
1answer
445 views

Slick2D and Clipping

How would I go about using clipping in Slick2D? I want to have an infinitely large world, however I'm not very good with clipping and it's my only problem. I don't have anything drawn outside of the ...
-1
votes
1answer
591 views

Framework to build scrollable map with item selection in JavaScript?

I need a mobile device to be able to scroll a large, static map image, and also be able to select PNG image "objects", like this: What would be the simplest method? HTML5, jQuery, Sencha Touch, or ...
-1
votes
1answer
863 views

Vector Graphics in DirectX

I'm curious as to people's thoughts on the best way to use vector graphics in a directX game instead of rasterized textures(think Super Meat Boy). I want to remain resolution independent and don't ...
-1
votes
1answer
180 views

How to implement cue-stick animation for a pool game?

Hello I am developing a Pool game, and I've been scratching my head about what formula is needed to implement an animation for the cue stick. The animation of the cue stick should look as if it's ...

15 30 50 per page