1
vote
0answers
24 views
“Car” movement in 2D dimension
I am searching for a simple tutorial how to add arcade car physics for my game.
Exactly same user units behaviour i found in next games:
Tank Hero: Laser Wars
Death Worm:
Video:
...
0
votes
1answer
19 views
Resize a texture using the full SpriteBatch.Draw in XNA
I'm using the full Spritebatch.Draw function to draw my explosion sprite since I also need rotation. I am using the Scale value to resize my texture, but I can't get it to be accurate.
I want to be ...
0
votes
0answers
7 views
How to get sprites react to touches in cocos2d-android
i have 1 gun when tap on any area on the screen bullets fires out, but according to my requirement there are 3 guns(sprites) when touched on any of the sprites bullets must fire up, when googled i ...
1
vote
0answers
30 views
Events with Entity Component Systems
I'm currently working on an HTML5 top-down simple RPG game, and as a learning experience I'm building my own little engine from scratch. After reading around a little I decided to go with the Entity ...
3
votes
2answers
48 views
Using a programmable pipeline in a game engine
As a learning experience, I'm developing my own 3D game engine using OpenGL. I'm a little confused as to how to implement my rendering engine such that it uses a programmable pipeline while still ...
0
votes
0answers
11 views
Gamemaker: Making a bullet Spawn at the enemy it was called from
I'm making a gamemaker game with gml. In this game I have multiple enemies (same object) on screen at the same time. I want them to all spawn a bullet at their location. But instead each enemy spawns ...
0
votes
2answers
46 views
What are the available libraries for C? [closed]
I want to start developing games entirely in pure C, in a very oldschool and "john-carmackian way" just because I love C and I'm philosophically against OOP. Nevertheless, the world seems to be just ...
0
votes
1answer
33 views
What values to construct “Projection Matrix” from?
I am curious to what standard values I should use to create a camera's projection matrix, as well as if certain measurements need to be taken if I want to represent a very small world or a very big ...
0
votes
0answers
16 views
How to get the visible Coordinates (Visible tiles)
I have Plane made of tiles in opengl. I start drawing them at (0, 0, -20) after that i do my translations so that the view is rotated somewhat similar to an isometric (kind of) perspective.
I'd now ...
2
votes
1answer
44 views
Extract smaller frustum from camera frustum?
Background:
I was thinking of implementing multiselection by performing a frustum culling on a sub-part of the screen.
Problem:
Given total screensize, a rectangle on the screen (pos, size), and ...
0
votes
2answers
76 views
Replay on game like “impossible game”
So I am making a simple game like "the impossible game" where the character just moves forward(from a 2D prespective) and the only thing you have to do is press the screen to jump at the correct time ...
0
votes
0answers
15 views
Roulette Table Ball Movement Creation
I am developing following type of game Roulette Royale.
I am basically ready with wheel and number table. When user move wheel table then ball also move on that table and stop at particular number ...
3
votes
0answers
28 views
Gamepad support for OSX
What is the most common method for providing gamepad support in an OS X game? I've been using an IOHIDLIB wrapper named DDHIDLib https://github.com/Daij-Djan/DDHidLib and it seems to be working but I ...
1
vote
0answers
16 views
How do I remove control points from imported curve in Maya?
When I create a path from an Illustrator file, it adds extra control points for bezier handles for each point in the AI file, even though I don't drag out the handles in Illustrator. All my points in ...
-3
votes
0answers
40 views
How to multiply mouse coordinates by view matrix?
I'm working on mouse coordinates to convert them from window to openGL. I'm multiplying the mouse vector with x,y coordinates by the glm::lookAt matrix to rotate mouse vector. I start with 90deg. and ...
1
vote
0answers
40 views
High-definition Full-motion background system in XNA
I'm mostly just working on this as a hobbyist thing, but here's my problem:
I got a bit excited over finding the 'Video' and 'VideoPlayer' classes in XNA 4, and hoped to make a game that works a ...
0
votes
1answer
27 views
How do you implement Libgdx touchDragged?
I'm a beginner in Java and in Game Development too. I was following some tutorials, but now I'm stuck on implementing a touchDragged listener using libgdx,
Can anyone suggest how to drag the image ...
2
votes
1answer
69 views
Best way to go with 3D dungeon crawler generation
I'm trying to prototype a little 3D dungeon crawler. That is, the same system as any rogue-like : A map with little rooms, linked by hallways.
But in 3D. The world is still in blocks, but I can go ...
0
votes
1answer
29 views
Linking error when compiling Allegro example
I am currently learning about game development tools and decided to use Allegro and OpenGL for starters. I've run into some problems in getting examples to compile though. It seems the allergro.h ...
-2
votes
0answers
17 views
Corona SDK is perfect for Game Memory Management?
I ask a question. That Corona SDK is perfect in memory management . I means better than Objective-C or equal to ?? I want to develop my own game. So .. What should I do in memory management ?
1
vote
1answer
64 views
How do I convert my XNA game to Android without using MonoGame?
I want to convert my XNA Game to Android, but I don't want to use MonoGame or ExEn. How can I do this?
0
votes
1answer
23 views
sprite array problem with initialization
I have a problem with my Sprites. I'm trying to create a lot of Sprites. However, I got a problem in that I have several grass tiles and I don't want to do this
grass1 = new Sprite...;
grass2 = new ...
0
votes
0answers
27 views
Open source pet / toy games or suggestions for semi-early learners that can help establish solid patterns?
I have two sons (around 13) who are wanting to develop a simple game that is very pet centric as a "first foray" into building games. I suggested something like that as it is fairly simple and ...
-1
votes
0answers
17 views
Skins for libGDX user interface
I am making a user interface in libGDX using the scene2d.ui portion of the library. To make a button, however, I need to have a skin. I was wondering if there is some sample premade skins available by ...
0
votes
1answer
30 views
What's the proper way to check if an Entity is on top of a surface?
What would be the best way to implement gravity if I have a list of different "surfaces" which if the player is on top of acceleration will stop? Would there be a better way than to loop through all ...
0
votes
1answer
38 views
Pygame top down shooter firing bullets
I'm working on a top down shooter in pygame and am having trouble getting bullets to fire. I'm using a class for the bullets, I'll show what I think is the relevant code.
This is what I do after the ...
0
votes
0answers
35 views
360 degree gravity game mechanic like “They Need To Be Fed” game
I am a fan of "They Need To Be Fed" game and I want to understand the game mechanic at a deeper level. What are some good resources for the basic Box2d (or similar) physics behind the 360 degree ...
2
votes
1answer
56 views
smooth shading vs flat shading, what's the difference in the models?
I'm loading the exact same model with Assimp, except one is exported from Blender, shaded smoothly, and the other was exported from Blender, shaded flatly. Here is my results from loading both into my ...
2
votes
0answers
52 views
How can I mod the original The Sims?
While there are several places that still host old mods, I can't find any information on how they were created. A simple Google search reveals the promising Edith project, but it was never released. ...
0
votes
2answers
47 views
Converting hexagon grid coordinate system
As I have been building on a RTS game based on hexagon grid built in javascript. I stumbled across a problem regarding the coordinate system. Have been trying to implement a A-star system to find ...
-2
votes
0answers
21 views
.X animation problem
I have used XNA Component animation library , and the animations ( walk , run , couch , idle , attack ) are not runs well , but instead two of them are loaded correctly (walk , idle ) ?? what do you ...
-2
votes
0answers
61 views
getting “lag” in my game
I'm having some lag problems. It's not because the amount of processes on my cellphone. I guess it's the timing of sending and receiving information from my server.
My game consists of moving around ...
1
vote
1answer
42 views
Get the address of a matrix in GLM library
Is there a way to get the address of a matrix from a GLM matrix?
I'm using opengl 4 and glm library though I can't seem to find anything, which might help.
0
votes
0answers
14 views
.X animation and machine state AI
I have used XNA Animation Component Library to load ".x" files with multiple animations clips , now there is a sample called dwarfmodel and here is the code used to animate it :
private void ...
-4
votes
2answers
73 views
2D Graphics in CMD in C#
So, almost every programmer used Doom as inspiration for new Projects, right? So Doom and other classic MS-DOS game were played on something like Command Prompt. How do you display images in Command ...
-1
votes
0answers
57 views
Should I use Java, HTML5, or Unity 3D for my Game? [closed]
I am developing a game and I would like the game to be available on the iPad, Android Tablets, Mac, and Windows. I've already began developing the game in Java, which will ensure support for the ...
0
votes
1answer
40 views
My Sprite Rectangle moves, but my sprite doesn't
Here's the issue, When I build, everything loads fine, everything works, but then, when you enter the game, the sprite is there. However, The sprite does not move, the sprite RECTANGLE does. Meaning ...
0
votes
1answer
31 views
Slick2D and TileD
I've been learning Java for a while, and with my aims of being a game developer later in life, I've came across Slick2D+lwjgl and following tutorials and making some little things. However; I don't ...
0
votes
0answers
14 views
improving performance of NME for Android
I'm still new to NME and I'm making a game for Android.
I'm using FlashDevelop to build and testing on a Galaxy S Advance.
But I'm not getting the performance I want. Is the phone too slow to handle ...
0
votes
3answers
43 views
Trying to get enemy sprites to move on C#
In my XNA game, I'm have the enemy sprites loaded and in the game screen. However, I put in the code to update their position in the Update method of the main class. The objective is to get the ...
-1
votes
0answers
19 views
Checking collision between Rectangle and Shape
In my game the player uses a Rectangle for his bounding box, he can do this because I only need to rotate the player image and not the acctual rectangle but for a eletric beam that one of the bosses ...
-1
votes
2answers
32 views
Need help drawing obj file!
I'm using GLFW and I want to draw a obj file. How are they drawn? I know how to draw 3D in OpenGL but when I open the obj file I see "v"s, "vn"s, "f"s, "vt"s, what are these? I don't know how to read ...
0
votes
0answers
24 views
Default material properties and assimp
I am using assimp to import 3d models and I have a question on the default properties on materials, more specifically on the diffuse, ambient and specular material colors.
In assimp, if the model ...
3
votes
5answers
298 views
Can I write code from 2 computers at the same time? [closed]
So I know it might not be that related to game dev, but I'm now starting a project with friends and we want to code. Thing is, we are not living close, and when several programmers write different ...
0
votes
1answer
19 views
Farseer: Difficulties with ContactListener
How can I register the ContactListener in XNA? In the box2d manual is written:
9.4 Contact Listener
...
At run-time you can create an instance of the listener and register it with ...
2
votes
2answers
49 views
What is the best way to close dialogs in a platform game controlled by keyboard only
I'm developing a flash puzzle platform game in my free time and I got stuck on deciding how to implement a feature. The game will be controlled by keyboard only, no mouse available.
My game will have ...
0
votes
0answers
14 views
How to unbind a sprite in an updating vector? LIBGDX framework
How to unbind an updating vector to a sprite? I am using Libgdx framework. here is my code
public class VectorSample extends GDX_TEST implements InputProcessor {
Texture ball,bullet,guider;
...
0
votes
0answers
11 views
Android cocos2d getting collision detection to work only on some frames of animation
I have an animated bomb sprite in my game and use CGRect for collision detection:
for (CCSprite bomb : _bombs) {
CGRect bombRect = CGRect.make(bomb.getPosition().x - (scaleFactor * ...
0
votes
0answers
12 views
Android cocos2d getting a sprite to continuously move to a dynamic position
I tried using the MoveTo method in cocos2d to get a sprite to continuously follow my player sprite:
CCMoveTo actionMove = CCMoveTo.action(actualDuration, player.getPosition());
CCSequence actions = ...
-2
votes
1answer
63 views
C# Stack<> Problem [closed]
I'm trying to change List<> to Stack<> however I'm having a hard time figuring out.
A snippet of my code on where my issue occurs is:
private Stack<Gem> gems = new ...


