-1
votes
0answers
32 views

Is a text file with names/pixel locations something a graphic artist can/should produce? [on hold]

I have an artist working on 2D graphics for a game UI. He has no problem producing a screenshot showing all the bits, but we're having some trouble exporting this all into an easy-to-use format. For ...
0
votes
1answer
77 views

Creating a top-down spaceship

I'm creating a top-down 2D space game in LIBGDX for android. When spaceship is going forward it will look like this: when it goes upward I want to change it's direction with a nice animation so it ...
0
votes
1answer
33 views

XNA: Camera's Rotation and Translation matrices seem to interfere with each other

I've been following the guide here for how to create a custom 2D camera in XNA. It works great, I've implemented it before, but for some reason, the matrix math is throwing me off. public sealed ...
0
votes
1answer
76 views

How to create sprites, programatically without using prefabs?

I have different types of images for different sprites. and i am not certain that how much different sprites(images) i will have to show. So, i gotta create the sprites and apply textures ...
2
votes
1answer
332 views

Any way to embed Pygame in webpages?

I have a Pygame game, and I was wondering if there was any way to embed it into a webpage to make it easily playable, or if there is a games website that accepts Pygame games.
0
votes
0answers
12 views

How to set Alpha value from pixel shader in SlimDX Direct3d9 [on hold]

I am trying to set alpha value of color as color.a = 0.5f in my pixel shader but all the time it is giving an exception. I can set color.r, color.g, color.b but it is not allowing me to set color.a ...
0
votes
1answer
28 views

How to handle the different frame rate on different devices?

I am not quite sure how frame per second works on a web page. I have a Canvas game that involves in moving an image from point A to B, and measuring the time elapsed. The code can be as simple as: ...
0
votes
1answer
94 views

What is the best type of c# timer to use with a Unity game that uses many timers simultaneously?

I am developing a stand-alone 3d game in Unity that will have anywhere from 1 to 200 timers running simultaneously. There will be a GameObject containing 1 timer. For this game timer durations will ...
0
votes
0answers
17 views

create a bounding object for flat model [on hold]

I have a flat textured ground representing my terrain and a bounding ssphere which surrounds my player. When i jump, i set my y distance to stop decreasing when i reach a certain point. But this ...
2
votes
2answers
294 views

Keypress Left is called twice in Update when key is pressed only once

I have a piece of code that is changing the position of player when left key is pressed. It is inside of Update() function. I know, Update is called multiple times, but since I have an ifstatement to ...
1
vote
1answer
96 views

C++: Checking if an object faces a point (within a certain range)

I have been working on a shooter game in C++, and am trying to add a feature whereby missiles shot must be within 90 degrees (PI/2 radians) of the direction the ship is facing. The missiles will be ...
-1
votes
0answers
13 views

How to convert from wav or mp3 to raw PCM [on hold]

I am developing a game using Cocos2d-X and Marmalade SDK, and I am looking for any recommendations of programs that can convert audio files in mp3 or wav format to raw PCM 16 format. The problem is ...
0
votes
0answers
16 views

Android chess development design [on hold]

I want to develop human vs human android chess game and I have bunch of new questions. I would like to have screen where online players are shown(nickname, rating) and when player challenge antoher ...
1
vote
0answers
80 views

How to implement efficient Fog of War?

I've asked a question how to implement Fog Of War(FOW) with shaders. Well I've got this working. I use the vertex color to identify the alpha of a single vertex. I guess the most of you know what the ...
0
votes
0answers
9 views

How do I check user's unlocked achievement and leaderboard scores via GPG plugin

I need to load user's achievement and their scores from leaderboard in my game. But the Social.LoadScore() and Social.LoadAchievements() both returns a 0 size array in callback. When I checked the ...
0
votes
1answer
47 views

Animation in top down 2d [on hold]

How is this usually done? Especially when the character might need to use different animations, for instance at his hands and legs. I noticed some skeletal animation solutions but they were only ...
0
votes
0answers
15 views

Drawing a object with Box2D and HTML5 canvas on current mouse position

I'm attempting to create a air hockey type game with HTML5 canvas and JavaScript, using Box2dWeb for the physics calculation. I need a way to draw the puck at the current mouse x and y position every ...
0
votes
0answers
14 views

Java Dragging an object from one area to another [on hold]

Hello I have a game where you drag bits of food around the screen. I want to be able to click on an ingredient and drag it to another part of the screen where I release the mouse. I am new to java so ...
0
votes
0answers
11 views

Simple moving object jitters every couple of seconds [on hold]

I'm trying to get smooth movement in my game, right now every couple of seconds the moving square jitters. I'm using C++ with SDL2. I made a very simple project to test different methods so all ...
1
vote
1answer
51 views

Human vs human android chess game design [on hold]

First of all I am total amateur in game development and sorry for my poor English. I want to make android human vs human chess game. So I am wondering how to design it? scenario 1: User connect to ...
-2
votes
0answers
48 views

How was the art for Braid created? [on hold]

All the backgrounds, foliage, well everything you see really. Would it have been free hand drawn with a tablet or example or how is it done?
0
votes
1answer
55 views

Combining pathfinding with global AI objectives

I'm making a turn-based strategy game using Java and LibGDX. Now I want to code the AI. I haven't written the AI code yet. I've simply designed it. The AI will have two components, one focused in ...
0
votes
2answers
81 views

Set new forward directions based on camera position

I have a 3rd person camera which can rotate around the player. When I look at the back of the player and press forward, player goes forward. Then I rotate 360 around the player and "forward ...
1
vote
0answers
38 views

How can I dynamically load the correct sprite from a sprite sheet?

I am making a simple card game in unity. The game is based on a standard 52-card pack, with identical backs for unique faces. In my particular game different cards are worth different values and have ...
-1
votes
0answers
13 views

cocos2d-x simple shader usage [on hold]

I want to obtain color ramp effect from this tutorial: http://www.raywenderlich.com/10862/how-to-create-cool-effects-with-custom-shaders-in-opengl-es-2-0-and-cocos2d-2-x Here is my code in cocos2d-x ...
0
votes
1answer
52 views

Algorithm to find average position

In the given diagram, I have the extreme left and right points, that is -2 and 4 in this case. So, obviously, I can calculate the width which is 6 in this case. What we know: The number of ...
0
votes
0answers
17 views

Friction not working for Vehicle in BulletPhysics

I am creating a vehicle using bullet-physics engine (v 2.82). I created a ground ( btBoxShape ), a box and a vehicle (following the demo). But friction between ground and vehicle wheels seems not ...
-1
votes
0answers
35 views

What precaution should I take to hire online freelancer designers? [on hold]

For quite some time my company is super busy with our apps, and a few days ago someone contacted me by email offering his services to help me as a graphic designer. He has a fair price, a flickr ...
0
votes
0answers
24 views

Ouya build experiencing odd graphical artifacts, screen half black

I'm witnessing very odd graphical artifacts when I run my Unity game on Ouya. After the Unity splash screen, the game loads with the screen half black. This seemingly has started occurring out of ...
1
vote
0answers
42 views

Having a hard time having consecutive animations for an attack [on hold]

So I've been trying to figure this out for about 8 hours now...It's driving me nuts because I am pretty sure that it is something dead simple that I am just not understanding. I had everything working ...
0
votes
1answer
45 views

Proper way to encapsulate a Shader into different modules

I am planning to build a Shader system which can be accessed through different components/modules in C++. Each component has its own functionality like transform-relevated stuff (handle the MVP ...
2
votes
2answers
126 views

How to implement Fog Of War with an shader?

Okay, I'm creating a RTS game and want to implement an AgeOfEmpires-like Fog Of War(FOW). That means a tile(or pixel) can be: 0% transparent (unexplored) 50% transparent black (explored but not in ...
0
votes
0answers
11 views

Function for building an isosurface (a sphere cut by planes)

I want to build an octree over a quarter of a sphere (for debugging and testing). The octree generator relies on the AIsosurface interface to compute the density and normal at any given point in ...
0
votes
2answers
52 views

Unity, Unrealistic Sphere On Inclined Plane

So I am trying to model a ball rolling down an inclined surface in Unity based on what I am observing in real life but it is still quite off. In Unity it takes the ball about 3 seconds to travel ...
1
vote
0answers
24 views

Algorithms for positioning rectangles evenly spaced with unknown connecting lines

I'm new to game development, but I'm trying to figure out a good algorithm for positioning rectangles (of any width and height) in a given surface area, and connecting them with any variation of ...
-1
votes
0answers
36 views

Procedural content (settlement) generation [on hold]

I have, lets say, something like a homework or assignment to do. Roughly said I need to write an algorithm (pseudo code is not necessary, just in depth description) of procedure that would generate ...
2
votes
1answer
55 views

How do I make cars on a one-dimensional track avoid collisions?

Using three.js, I use a simple spline to represent a road. Cars can only move forward on the spline. A car should be able to slow-down behind a slow moving car. I know how to calculate the distance ...
0
votes
0answers
15 views

XNA `tex2Dlod` always returns transparent black

I want to sample a texture in a vertex shader, so at first I just tried using float2 texcoords = ...; color = tex2D(texture, texcoords); But apparently I cannot use tex2D in a vertex shader, and ...
-3
votes
0answers
28 views

1136: Incorrect number of arguments. Expected 0 AS3 Flash CS5.5 [on hold]

how do I solve this error? I've been trying to get the answer online but have not been successful. I'm trying to learn As3 for flash so I decided to try making a preloader for a game. Preloader.as: ...
-4
votes
0answers
32 views

Jumping Physics [on hold]

With simplicity, how can I make a basic jump without the weird bouncing? It jumps like 2 pixels and back Here's what I use y += velY x += velX then keypresses MAX_SPEED = 180; falling = true; ...
0
votes
0answers
25 views

Spin-off of “Project: Memory++” in Khan academy [on hold]

This is the link of the program that I am trying https://www.khanacademy.org/cs/memory-tile-game/5966959895642112 When I am placing the mouse over the block it should change to red colour and when it ...
0
votes
1answer
31 views

How do you create a .XNB Font file for use with CocosSharp?

I know the .XNB file format is an XNA thing and that CocosSharp inherits this from its MonoGame roots. However there doesn't seem to be any information on how to create your own .XNB fonts to use with ...
-1
votes
0answers
29 views

WebGL First Person Camera - Matrix issues [on hold]

I have been trying to make a WebGL FPS camera.I have all the inputs working correctly (I think) but when it comes to applying the position and rotation data to the view matrix I am a little lost. The ...
-2
votes
0answers
20 views

What tech/assets for 2D in unity [on hold]

I'd like to make a 2d game thats heavy on HUD and grid base. The art would be pixel art and I'd like it to be pixel perfect if possible What tech do I use in unity for 2D? I prefer free or free to ...
-1
votes
0answers
40 views

Algorithm to shift the car [on hold]

I have a track that can be divided into n number of tracks and a car as GamObject. The track has transforms such that some part of the track's width lies in negative x axis and other in positive. ...
-2
votes
0answers
30 views

2D Pixel/sprite game in unity? [on hold]

Hi I'm an absolute newbie in unity. In the past I was told unity is terrible for 2d games so I look away after looking at it for a few days. I don't remember if this was right before unity4 came out ...
0
votes
1answer
67 views

Why do camera's aspect ratio look good on computer but not on Android devices?

I'm developing a game for Android devices and I have a script that solves the aspect-ratio problem for computer screens but not for my intended target platform. It looks perfect on computer, even when ...
0
votes
0answers
22 views

Multiple box collisons [on hold]

With my basic player here I want to have multiple boxes and stuff. I'm trying to get the player to colide with all sides of the box without having to make a huge box class with tons of if statements ...
0
votes
0answers
23 views

3D Mesh Collision Help

I am new to XNA (I have only been working in it for a countable number of weeks) as well as to these forums (I have only made 1-2 other posts), so this may seem like a strange request, but I am ...
0
votes
1answer
24 views

Timed player collision

I'm trying to make the player loose one heart then cool down for a second after being hit. For an example if(a.overlaps(b)) { p.health--; } would lower the health while being touched. In my old ...

15 30 50 per page