All Questions

0
votes
3answers
72 views

(Graphic giltch) pixels between triangles

As you might be able to see in the following image, a "graphic glitch" occurs between triangles. I know you are able to make this less visible by enabling anti-aliasing but i was wondering if there is ...
3
votes
3answers
4k views

Cocos2d rotating sprite while moving with CCBezierBy

I've done my moving actions which consists of sequences of CCBezierBy. However I would like the sprite to rotate by following the direction of the movement (like an airplane). How sould I do this with ...
0
votes
2answers
2k views

cocos2dx - Custom Fragment Shader and CCRenderTexture

I have a CCRenderTexture that is filled with a sprite when the scene is loaded, as follows, canvas = CCRenderTexture::create(this->getContentSize().width, this->getContentSize().height); ...
0
votes
2answers
37 views

Formula for Planetary Alignment

I am attempting to create a game where there is a universe of two 16-bit addresses ranging from -32768, -32768 to 32767,32767, or in hexadecimal, each value can run from $8000 to $FFFF then 0 to ...
1
vote
1answer
73 views

Animation-based Collision Boxes

Background I'm currently working on a top-down 2D game, roughly similar to something like Zelda for the SNES. Certain game entities such as the player or a typical enemy will consist of multiple ...
3
votes
2answers
143 views

How to approach a coloring app?

I want to make a coloring app in unity. I don't need flood filling. THe player will select a color and click the shape to fill that color. The app will have designs as shown below: Here the problem ...
0
votes
1answer
38 views

How can I create a character design that maintains a fixed rotation body, while allowing the body's “arm” to rotate 180 degrees?

I am attempting to create a 2d shooter in Farseer Physics on the Xbox360. I have a player body which has a fixed rotation, as I do not want the body to rotate at all during gameplay. I am now looking ...
0
votes
0answers
6 views

Loading Song in MonoGame Windows

I cannot load the song into my game. I got error in both templates WindowsDX and WindowsGL. Monogame Develop Build 1252 Both files .wma and .xnb are exist in Content folder and Build Actions are sets ...
-1
votes
0answers
16 views

Libgdx- Translate animation is not work [on hold]

In the libgdx how to scale animation.. this code has been not work. ScaleAnimation scal=new ScaleAnimation(0, 1f, 0, 1f, Animation.RELATIVE_TO_SELF,(float)0.5,Animation.RELATIVE_TO_SELF, ...
0
votes
1answer
124 views

why is glVertexAttribDivisor crashing?

I am trying to render some trees with instancing. This is rather weird, but before sleeping yesterday night, I checked the code, and it was in a running state, when I got up this morning, it is ...
0
votes
0answers
7 views

CCActionMoveBy doesnot working properly when the action called for many of the sprite in cocos2d

I have issue with CCActionMoveBy when I i call action for many of sprite. I need to move certain position and then remove it from the scene. here sprites are images. My problem is If the call the ...
6
votes
4answers
2k views

Is there a sound library for C to generate sound samples from code? [closed]

I'm working on an engine for a retro-style game in C. I'm looking for a sound library that would produce chip sounds from code...I want to make my own simple chiptune tracker for the engine to create ...
-1
votes
0answers
9 views

need help to develop physics based game in xna for windows phone

i need help to develop physics based game in xna4.0 for windows phone .i did not find good tutorials and documentation to start my learning. please provide me some links ... thanks in advance.
1
vote
1answer
179 views

Cocos-2D asteroids style movement (iOS)

So I have a CCSprite subclass, well call this Spaceship. Spaceship needs to move on a loop, until I say othersise by calling a method. The method should look something like - ...
-1
votes
0answers
14 views
1
vote
2answers
324 views

Matrix rotation wrong orientation LibGDX

I'm having a problem with matrix rotation in libgdx. I rotate it using the method matrix.rotate(Vector3 axis, float angle) but the rotation happens in the model orientation and I need it happens in ...
1
vote
0answers
12 views

Aligning a gameObject to position and normal of another gameObject inside Unity

So I am instantiating a GameObject (the one with cities and trees in the image below) and trying to align it to a hex tiles on a Sphere. So after I instantiate the gameObject, I ray-cast to get it ...
0
votes
1answer
250 views

Angled topdown perspective camera for 2.5d game

I have a 2d tile based game created using Unity's 2d tools and orthographic camera: The tiles are created by programmatically generating a mesh, assigning a texture to each pair of triangles, and ...
7
votes
4answers
15k views

2D character controller in unity (trying to get old-school platformers back)

This days I'm trying to create a 2D character controller with unity (using phisics). I'm fairly new to physic engines and it is really hard to get the control feel I'm looking for. I would be really ...
0
votes
2answers
163 views

Box2d world width and height ratio with screen width and height

I have view, for example GameView which extends SurfaceView . I have integrated Box2D physics in GameView. I have two widths , GameView width, height and Box2D physics world width ,height. I need to ...
1
vote
2answers
128 views

update image properties

Is there a way to update the location of an image? I'm currently calling my image dynamically using: itemImage = display.newImage(inventory[t.ID][1]) t. being my target ID. But in order for ...
3
votes
5answers
836 views

Do you have to rewrite Corona SDK apps for different devices?

I am using the trial windows edition of Corona, but I want to develop for iOS - the windows version only supports android, so my question is will I have to rewrite any parts of my application for iOS ...
0
votes
1answer
115 views

How do I get the child of a unique parent in ActionScript?

My question is about targeting a child with a unique parent. For example. Let's say I have a box people can move called box_mc and 3 platforms it can jump on called: Platform_1 Platform_2 Platform_3 ...
0
votes
0answers
15 views

Inverse normals, but keep lightmap as it is

I'm having the problem, that one object in my model has inversed normals - so when rendering in unity, it is not displayed due to backface culling. Now I want to fix that in the model, but my problem ...
0
votes
1answer
23 views

Rendering a Voxelized Mesh

I've been reading many papers about how to voxelize meshes using different GPU techniques, but I've ran into a problem that I'm not sure how to solve properly. I understand the process of how to ...
0
votes
0answers
9 views

Artefact in VSM as if GL_DEPTH_TEST disabled

I am trying to implement VSM and I incurred in a strange issue. I render them as follow: glUseProgram(shadowMapProgramID); glEnableVertexAttribArray(0); glBindFramebuffer(GL_FRAMEBUFFER, ...
0
votes
1answer
52 views

Generate data points for shape based on an image

I am generating data points for 2d destructible scenery. Presently I had 5 for-loops (for a 5*7 2d structure) but will be expanding its resolution to outline a shape, but it will be horrible to code ...
1
vote
0answers
20 views

Offset during zooming to keep object within boundries

I have a simple zoom feature which lets the user zoom in and out. I'm having an issue how ever when i zoom out the object gets smaller to the point that the boundaries become broken. The idea is the ...
0
votes
0answers
5 views

Transform screenquad around object's view space boundaries (GLSL)

Im not sure how to ask this, but essentially I am looking for a way to optimize rendering screen quad lights per object. I have a deferred renderer that draws directional lights onto a screen quad. ...
0
votes
1answer
56 views

Smooth path/direct movement

I have a tile based isometric map and an A* algorithm that returns a path. I am looking to smooth this path efficiently but with good aesthetics. Basically i am using my grid for building the map and ...
9
votes
4answers
1k views

Why are leaderboards often seperated between platforms?

I noticed that many games (if not most or all) are employing different leaderboards for different platforms. For example, different leaderboard for iOS and Android. Different leaderboard for Xbox and ...
0
votes
1answer
29 views

Importing skeletal animation from vertex coordinates in maya

I have files of different frames of an animation which have the vertex co-ordinates of a human skeleton in 3D space. I want to import the animation from these keyframes into maya to perform motion ...
0
votes
0answers
24 views

Animation, Interpolation, & Structure

I have been working on animation in my small game engine recently and I am implementing some interpolation to be used with skeletal animations. I know how to do interpolation but I am not sure where ...
1
vote
1answer
90 views

Component-Entity Systems Code Generation [on hold]

I'm really enjoying component entity approach (I'm currently using ASH haxe, but particular language/framework doesn't really matter). However the problem is - there're way too many elementary ...
0
votes
0answers
24 views

How to cleanly serialize/de serialize a Dictionary whose values are of a derived class using c# newtonsoft json

I am working on and entity component system and I am storing entities as a JSON file. Components are stored in an entity as a Dictionary of components. I am using newtonsoft's JSON library. After ...
4
votes
2answers
1k views

How can I use XNA with Visual Studio Express 2013 for Windows?

http://dev.windowsphone.com/en-us/downloadsdk I downloaded the current version of Visual Studio to develop Windows Phone apps, but I don't know how to add XNA. I tried to install XNA, but it's not ...
0
votes
0answers
24 views

mouse-controlled third person camera

I have a simple camera that always stays a set distance behind and above the player. Mouse-on-screen coordinates are used to do Pitch and Yaw, and the keyboard is used to roll. I get how to position ...
0
votes
0answers
15 views

Developing games using Monogame on Windows Phone 8.1 (Visual Studio 2013) [on hold]

I'm new in game programming, as i have never programmed a game before. I want to start developing 2D games on Windows Phone. As i have seen MonoGame is the perfect tool to do this. I also know that ...
0
votes
0answers
4 views

C++ Irrlicht Program doesn't link: “undefined reference to `__imp_createDevice'” [migrated]

My Irrlicht program doesn't link. The compiler I use is g++. Code: #include <irrlicht.h> int main() { irr::IrrLichtDevice *device = irr::createDevice(); // And other init stuff ...
0
votes
1answer
82 views

Mesa: Howto enable OpenGL 3.x functionality via extensions?

How can I enable OpenGL 3.x functionality via extensions? I'm new to OpenGL development under Linux. Currently I have: #define GL_GLEXT_PROTOTYPES #include <GL/osmesa.h> #include ...
0
votes
0answers
12 views

Bullet Physics, btRigidBody Problems [on hold]

I am learning game development and I have problems when I was developing my character, I am using btRigidBody to my character. I created a jump, move (using impulses) and duck actions for my ...
0
votes
0answers
53 views

How to get rid of half pixel artifacts?

I've been having a bit of trouble using OpenGL to make 2D games. I am using a traditional ortho perspective with just some sprites being rendered and moved around. It all works perfectly but there is ...
1
vote
1answer
522 views

What should I use for the event name when logging metrics with Flurry?

I'm working on a multiplayer game and I want to use Flurry to record game events. In the game you can build, grow and train troops. In Flurry you can log an event (optionally with parameters). It ...
0
votes
1answer
405 views

How do I determine the look-at vector of a free-look camera?

I'm trying to create a free-look camera with DirectX 10. I've figured out how to get the directions for forward and back and left to right. However, I don't know how to rotate the look-at vector of ...
0
votes
0answers
15 views

How to make an object in box2d have constant velocity even after collision?

I have iOS game where I have a bouncing character. Everything is being handled by box2d. The problem is when the character hits a wall of another character it's velocity changes, but I don't want ...
0
votes
0answers
16 views

Processing.js for loop not executing all the way

I'm trying to add elements to an ArrayList (in Processing.js, basically a javascript array) in a for loop. BEcause of the many objects I need to add, the for loop is not incrementing all the way ...
0
votes
1answer
31 views

How to load and render PhysX 3.3 heightfield

I'm trying to load a PhysX 3.3 heightmap and render it with OpenGL using glm and glfw, but so far it doesn't seem to be working. I'm basing my code on the PhysX samples, and am also using FreeImage to ...
0
votes
1answer
86 views

Decentralized Matchmaking in Unity?

I'm making a card-playing game, similar to Magic Workstation. I've been looking into several options for networking. I have a working LAN version with the build in Unity networking, as well as Photon ...
3
votes
2answers
115 views

Why is Euler integration sometimes preferred over RK4 even if RK4 is more accurate? [on hold]

Some high quality engines such as Box2d uses the Simplistic Euler integrator instead for RK4 when Eumplectic Euler commits a global error of the order of Δt whereas, RK4 has Δtˆ4 error? RK4 is not ...
0
votes
3answers
83 views

Dynamic Crafting Systems [on hold]

I have been toying with the idea of having a game that is based purely around crafting. That on its own is not much of a big deal. The way the crafting would work is the problem. The idea I have is ...

15 30 50 per page