0
votes
2answers
25 views

Z-Value of clip-space position is always 1.0

I render a lot of quads on the screen into z direction (20 x 2000). I want to get the depth value in a final render target. But it looks like z is always 1.0f. I checked the result with the OpenGL ...
0
votes
0answers
5 views

Efficient way to convert animation stack to sprite sheet using Pixelmator?

I'm new around here so please feel free to guide me if this question should be asked elsewhere. I'm trying to take an animation stack of 145 layers, each 200x200 pixels, and convert them into a ...
0
votes
1answer
19 views

How does Unity input work with touchscreens

I'm trying to make a racing game on android using unity. I want to make a car move forward when I touch an image button like in the picture below. I've already made it work using the keyboard. How ...
0
votes
2answers
133 views

How should I access frame buttons from a controller in an MVC approach?

I'm developing an italian card game using the mvc pattern. I have the class GameFrame that contains the view. The user's card are buttons (JButton objects). I have 3 controllers: GameController: to ...
0
votes
0answers
12 views

How does collision detection work? [duplicate]

I was curious on how hit collision works in games. I know there is a simple method that gives every object in a 2D or 3D world a recengular hitbox that makes it easy to detect a collision, but when ...
1
vote
1answer
11 views

Unity3D setting blend mode in shader using vertex data

I'm porting a game from iOS / Obj-C / OpenGL ES 2.0 to Unity. I have a procedural mesh script that generates a batch of quads that need to blend together to create a game board. Some of the quads ...
1
vote
1answer
17 views

How to compute the forward, up and right vectors from a single quaternion?

Given a quaternion float x, y, z, w; How does one the forward, up and right vector from a single quaternion? vec3 up; vec3 forward; vec3 right; quat_get_all_axis(&quat, &up, &forward, ...
2
votes
1answer
25 views

How do you manage a crowdfunding campaign for an indie game?

I am a programmer and I recently started creating small games in C++. It was to practice my skills and learn more about game development and the techniques used to program a game. Recently I got the ...
0
votes
0answers
11 views

Basic 2D physics keeps bugging [on hold]

So for months now, I've been trying to perfect the 2D physic's for my game(Similar to terraria). My problem is that while jumping, if you hit the ground at a certain angle, you go through it. Also ...
0
votes
0answers
9 views

Is my method for handling DirectX COM objects memory safe or even sensible? [on hold]

Making the assumption that the class referred to, cD3D, handles set up and disposal of a set of COM objects relating to Direct3D functionality, including but not limited to ID3D11Device, ...
0
votes
0answers
4 views

Unity Android Build SDK Problem

So I've been trying to build my unity project for android, but my problem is that I don't know how to find the Android SDK. I have the old developer bundle installed, when it was still the one with ...
1
vote
1answer
44 views

How to deal with two different axes on isometric game?

Hi! Above is a visual of the problem I am having. My game has two different coordinate systems. You have the client, or the canvas, where the game is rendered - a standard coordinate plane; however, ...
0
votes
0answers
30 views

Type of Game - Jones life in the fast lane [on hold]

Since I'm doing some research, I need to know what type of game "Jones in the fast lane" is. Here is a link: http://home.broadpark.no/~kboye/jones/jones.html By "type of game" I refer to MMO, RPG, ...
0
votes
0answers
3 views

How to specify core project path in Libgdx Project Generator?

I am following a tutorial on making a flappy bird with the Libgdx framework. -http://www.kilobolt.com/day-11-supporting-iosandroid--splashscreen-menus-and-tweening.html I am currently on the step of ...
0
votes
0answers
1 views

Maya loading custom attributes from file

I am trying to use Maya as my level creator. I have created some custom attributes for objects to use, and saved them out (into a .mel file). However, when I try to apply this preset to an object, the ...
0
votes
1answer
21 views

How to increase the selectable size of an object for dragging

I am currently dragging a gameobject like this. Vector3 screenSpace; Vector3 offset; void OnMouseDown(){ //translate the cubes position from the world to Screen Point screenSpace = ...
0
votes
0answers
33 views

Java Collision detection

Hello have a game where you look for key cards. Which allow you to open certain doors. for example if u have a red key card you can open a red door. The problem is that when I don't have red key ...
0
votes
0answers
6 views

Java JBullet models not colliding

Hello I wan't to do model collsion in JBullet but that don't won't to work. Models look like have some invisble holes. Here the code for creating collsion shape: int triangles_count = (int) ...
0
votes
0answers
22 views

implement paper folding (origami) on android

i'm working on a game, i have been working with game engines like UDK and Unity for many years, now I come into Android and eclipse, i have a question and im really confused, lets describe. i want to ...
1
vote
1answer
33 views

Methods to remove horizontal world slices of voxels in a 3D voxel world

I've recently been working on a hobby voxel world recently. I'm currently interested in ideas or solutions which would enable me to basically step up and down the Y-axis 1 horizontal block slice at ...
0
votes
1answer
19 views

JavaScript THREE.js webgl spotlight rendering

I'm playing with webgl/JavaScript/THREE and a spotlight. And I see unexpected results. And I don't understand what's going on, and I'm hoping you can point me in the right direction. In my particular ...
-2
votes
5answers
5k views

Can I get around a Pokemon copyright with new art and minor changes? [duplicate]

If I develop a game that is essentially pretty much Pokemon (you're a trainer, you catch "monsters" and put them to fight and level up etc), and I do the next things: I'm a trainer with a ...
0
votes
0answers
41 views

can someone please look at my code [on hold]

I'm more a 3d modeler but now try to work on a script to generate biomes on my infinite terrain. it should generate a new biome through script 2(still have to make it) when player moves 2000 ...
2
votes
1answer
28 views

Hide some objects from the camera (fog)

I'm trying to implement a visibility representation in a 2D game ( no plains, no quads - plain 2D ) In the examples below I have calculated what the player can see using raytracing and added all the ...
0
votes
1answer
27 views

Resizing D3D Buffers within a frame

I have a particle system. So far it worked like this: I have a dynamic vertex buffer for a system, which is created with a size that can hold for example 100 000 particles. I map/unmap this and write ...
0
votes
0answers
27 views

How to develop a game for playstation one fat? [on hold]

I would like to know how and where to start to develop a game for playstation one fat. I researched on google and didn't find anything about its software or games. Thanks.
0
votes
0answers
12 views

Game Loop Thread for different activities

First of all, sorry for my mistakes of language. I'm a noob of game programming in Android but I'm trying to make one using canvas and bitmaps. My game have two screens, the Title Menu and the Game ...
1
vote
2answers
116 views

How to deform 2D tileable texture in XNA/MonoGame

I'm looking for a way to deform tillable texture in a 2D game I'm building using MonoGame but I'm not sure how this effect is called and searching the internet for "deforming textures" gives me mostly ...
0
votes
1answer
13 views

How to compute the forward facing direction from three angles and then translate along it?

Given: float yaw, pitch, roll; How does one compute the forward direction: vec3 forward = computeForwardFromEulers(yaw, pitch, roll); Next, I would like to use this information to translate an ...
0
votes
1answer
53 views

Invalid coordinates returned by glutMouseFunc()

I am using GLUT's glutMouseFunc() function to retrieve the coordinates of mouse clicks. I want to move the object on that coordinate to another coordinate. But when I click on the object the ...
4
votes
3answers
1k views

Render angles of a 3D model into 2D images?

Is there a tool out there that you can give a 3D model file, and it will output 2D renders of it from various angles? For example if you were making a 2D RPG but you want to make your character look ...
0
votes
0answers
8 views

Libgdx box2d crashing

im making a game in libgdx which i having a bunch of circle bodies floating around in space and when the player's body crashes into another body, that body deletes and creates two smaller bodies ...
0
votes
2answers
61 views

Downscaling an asset, still pixellated?

I created a rounded rectangle in photoshop, and I rasterized the rectangle before I saved it. Yet, when I try to use the rectangle in libGDX, it looks pixelated. How can I make it so that it's smooth? ...
0
votes
0answers
9 views

Test iOS build on jailbroken device?

I want to test my Unity iOS builds on my jailbroken iPad and was wondering how I can do that. Please note that it's just for testing purposes and I don't intend to do anything illegal with it. I do ...
17
votes
3answers
2k views

AI: Command Ordering Architecture of Dwarf Fortress

What is the most elegant way to implement a command ordering system for AI? for example in dwarf fortress when you mark a forested area for wood cutting, the dwarfs then would do the following ...
0
votes
1answer
29 views

Java JBullet Mesh collsion problem

I have a problem with JBullet mesh collsion. Everything works fine when I create a mesh from my object without scaling, but the problem starts when I want to scale the object. I also tried scaling in ...
0
votes
2answers
30 views

XNA My Texture's Transparency is shown Black

I am trying to draw an image on to the screen. My image is drawn correctly but the background color which is transparent is shown black. Why is this so? My code: spriteBatch.Draw(Texture, Position + ...
0
votes
2answers
356 views

Wall jumping collision detection anomaly

I'm creating a game where the player ascends a tower by wall jumping his way to the top. When the player has collided with the right wall they can only jump left and vice versa. Here is my current ...
0
votes
0answers
51 views

Is it feasible to create a modern game using only the standard C libraries [on hold]

I'm not sure if it is possible since you would have to write new functions to create the window, draw graphics, etc. But it seems like a fun programming challenge regardless.
0
votes
1answer
36 views

memorizing button tap code iOS game

I'm using a single view app in Xcode 6.1 for my game with Storyboards. Not unity or sprite kit. It's a small game not even 3MB. Anyways, I created un-lockable characters with a BOOLEAN. ...
-2
votes
1answer
61 views
+50

How to make an object move and your player move in Unity

I am making a project in Unity 4.6.1 and I don't know how to make the enemy move to certain points. I would want it to move to 2 to 4 points or more. I also don't know how to make the player move (not ...
0
votes
1answer
30 views

Z axis for player movement is being incremented, but i don't know how

I'm currently learning and developing a 2D plataform game in Unity, but now i'm having some errors that i can't solve. When I press the arrow keys to make my character move right and left, the Z axis ...
0
votes
1answer
40 views

Calculate slope for linear interpolated movement

I want to move rectangles to their targets the "smooth" way with linear interpolation. I hope this is right. float slope(float x1, float x2, float y1, float y2) { return std::abs((y2 - y1)) / ...
0
votes
0answers
23 views

Best base code to start online strategy game [on hold]

I am a game developer and I want to do a game like this one. https://play.google.com/store/apps/details?id=com.tap4fun.kings_empire I can do everything from scratch, but if there is a code base that ...
1
vote
0answers
98 views

In GM Studio, how do I prompt the player for a password?

I could make strings in earlier Game maker versions, but it doesn't work in the Studio version when I try. The code I used: When Left Mouse Clicked on Password Bar: var str; str=get_string("Crack ...
1
vote
0answers
15 views

Find References In Scene of scriptable object unity asset shows incorrect results

I'm trying to work out why my game is loading a large sprite atlas that I don't think it should be. The snapshot view of the profiler shows that the atlas is loaded. The references pane shows that ...
0
votes
2answers
53 views

Algo for Minimum no of solving in a level like Bubble Blast2

Is their any way to make a algo to know minimum no of way to solve in Bubble Blast 2. I am trying to make a clone of it. My real problem is only to determine the minimum no of tap to finish the game. ...
4
votes
2answers
220 views
+50

How can I update a sprite sheet without affecting the sprites already being used?

Every time I overwrite my sprite sheet with additional or updated sprites, I have to reattach the textures to all of my Animations and Sprite Renderers. How can I update a sprite sheet without ...
0
votes
0answers
12 views

Wall restriction identification in android game Andengine [on hold]

i am new to game development and my motto is to move an object in a space having walls in between. Can any one please help to how to stop object crossing the walls. The wall structure will be static. ...
0
votes
1answer
16 views

XNA SoundEffect won't stop playing

For my HND I've got to re-create Frogger, and everything was going swell until I tried adding some collision detection and sound. Whenever my player intersects a vehicle, the sound file just starts ...

15 30 50 per page