0
votes
0answers
2 views

SDL, SFML, GLFW specific questions on a very heavy OpenCL engine

I'm not familiar with SDL, SFML, GLFW or other libraries because i've been creating windows and basic inputs myself in Windows, OSX and Linux. Being performance my absolute first concern i'm on a ...
0
votes
0answers
7 views

How to calculate max region/area of 2d circles?

everyone I had some 2d circles on a plane, each has its own minRadius and maxRadius. When two circles collides, both of them will shrink their radius, so the actual radius of a circle is in range ...
0
votes
0answers
4 views

How to combine diffuse, color texture, alpha texture, light texture and bump map in Pixel shader

I have the following pixel shader: float4 color = ambientColor; float3 lightDir = -lightDirection; float4 diffuse = shaderTexture[0].Sample(sampleType, input.tex); float4 colorTexture = ...
0
votes
0answers
5 views

Pivvot like game?

I am trying to create a pivvot like in processing but I am not able to create the curve needed for it. I wanted to move a ball along with this curve. I have asked the same question here but didn't get ...
0
votes
0answers
9 views

Java - Why isn't my velocity not working

I have come here to ask about my velocity and why isn't it working... The data that should be output is 0.0, 0.0, 0.0 0.0, 0.1, 0.0 0.0, 0.2, 0.0 and further more till this 0.0, ...
0
votes
0answers
7 views

Unity3d WebView for Blackberry [on hold]

I was looking for a monetizing solution for Blackberry with Unity3d. Here is some links Available for Monetizing Blackberry Game With Unity3d: https://www.assetstore.unity3d.com/en/#!/content/10987 ...
1
vote
0answers
9 views

Collision detection against complex shapes and curves

Ok so I am new in game development and for simple games bounding box collision is fine. However, let's say you have a shape or bitmap like this: Now this is just an example but if you had more ...
0
votes
0answers
3 views

Handling Event for multiple Sprite with one Event Listener in Andengine

In my app i need to add multiple sprite and add event to them. What i am doing now is using individual event listener for each and every sprite which is a kind of mess. buttonS[0] = new Sprite(x_pos ...
1
vote
1answer
21 views

Lookup table in shader opengl es

What I need is apparently very simple, a lookup table in a fragment shader. It seems that the natural way would be an array float lut[], but in some implementations of OpenGL ES I am getting an error ...
0
votes
1answer
29 views

Minecraft Type Game Support Blocks

OK I have a game that is similar to minecraft in a sense. Players can build castles block by block. I'm using Unity3D and Photon Network for my game and I was wondering how I would handle detecting if ...
0
votes
0answers
7 views

Computing Field-of-View from window dimensions

I'm looking into computing the vertical Field-of-View (FOVy) based on the projection parameters of my camera. From this source, I've found an equation that seems to work. float ...
0
votes
0answers
16 views

How to achieve partial pathfinding?

Let's say I already have an A* algorithm. How can I handle the cases when the goal cannot be reached, and still attempt to get there? For instance on the following example: Notice the amazing GIMP ...
0
votes
1answer
25 views

Unity 2D, C# - Make object move diagonally by a certain angle?

I have a sprite object which I want to move in 8 directions. Left, Right, Up, Down, Left top, Right top, Left down, Right down. The view is 2D with a isometric projection. The difficulties I am ...
0
votes
0answers
3 views

PhysX - Get velocity of a controller

I'm using PhysX 3.3.0. My character is a capsule controller and I need to be able to retrieve controller's actual velocity, which seems a lot harder to accomplish than it should be. I've tried ...
0
votes
1answer
15 views

Colision detecting in java(Tiled map)

Here i have a code with a picture moving around the map. How to make this picture colide when interacte with map tiles ? I'm a beginer at java so i have no ideas. Any Help or advise is very welcome. ...
-2
votes
1answer
33 views

How many players can be on a server? [on hold]

If you will make a mmorpg with many different zones and each zone is hosted on its own server.. how big can each zone be? Dont you have to know this at the beginning of making your game or at least ...
0
votes
0answers
14 views

Unable to slice an image

I'm new to game development. I am trying to get two sprites from a single image. After selecting the image I change sprite mode to "multiple" and go to sprite editor. There in preview I draw ...
0
votes
0answers
33 views

Super Smash Brothers 64 AI

I have been playing the original SSB for close to 15 years now, and I am still amazed by the effectiveness of the AI (though by now I have to fight at least 2 level 9's for a challenge). Some of the ...
0
votes
0answers
28 views

Java Libgdx - Fire bullets

This is my project structure! I am using Java Libgdx I want to make my Man class shoot the bullets from my bullet class. To make it more clear for example the spaceship game that you shoot ...
0
votes
0answers
16 views

Wall Collision on a model

I am building a model of a house in XNA and made a collision system so that when the player goes into the wall they stop. Also I made it so if the player is pressing the key 'up' and collides into the ...
0
votes
2answers
25 views

Performance Difference Between Content.Load and Texture.FromStream xna

Is there any performance difference between Texture2Ds loaded using the content pipeline and Texture2Ds loaded using Texture2D.FromStream()?
0
votes
0answers
8 views

Multi-Textured Blocks

I have some code from watching EsvDefCon's video on how to make blocks MultiTextured, but it failed. Here is my code public class multiTextureBlockTemp extends net.minecraft.block.Block{ // you ...
0
votes
0answers
14 views

How do I make Minecraft mods without Techne? [on hold]

I want to make a Minecraft mod with some new mobs, but I've been told I need Techne. I downloaded some skins either from 9minecraft.net or minecraft.novaskin.me. I want to make a normal mob with the ...
0
votes
0answers
19 views

Only render/calculate the chunks in frustum!

I have a 2D world in form of a Block[][]-Array that holds all the blocks of the world. Every block has it's own Box2D Body (I want a "minecraft"-like 2D world for this project). Naturally I don't want ...
0
votes
0answers
20 views

How to give a Jerk Effect when the player is moving left of right

float amttomove = Input.GetAxis("Horizontal") * playerspeed * Time.deltaTime; transform.Translate (Vector3.right * amttomove); Currently, I have above script in Update function to move ...
0
votes
0answers
21 views

Letting fluids go into Tanks [on hold]

I need help adding fluids into minecraft, I already wrote some code, but how am I supposed to add code to get it into the BuildCraft tanks? When I attempted putting it into the tank, it either: Went ...
0
votes
0answers
31 views

Libgdx Collision detection on a 2D side scroller game

I've looked everywhere online for this. I want to make a 2D side-scroller game which has objects with randomly generated heights it will have to jump onto.. How do I implement such a code? I also want ...
-1
votes
1answer
15 views

Moving an object continuously when left or right key is pressed

I want the object to move continuously as long as key is pressed to left when left arrow is pressed and to right when right arrow is pressed. Instead of moving continuously it moves first time and ...
0
votes
0answers
15 views

how to disable touch in Quintus?

hi i'm new in web games development and trying to build card game using the Quintus game engine i have object called card i can touch and drag it in the screen but i want just to touch and drag it one ...
3
votes
2answers
47 views

How to detect Lagoons and Lakes on a random Island Map

I have an engine which generates random Islands. At the moment it tends to generate quite a lot of lagoons and lakes. I would like to know of a feasible way of detecting them so that I can mark them ...
0
votes
1answer
21 views

Incosistent jump, stuttering

I've written this C# code to handle movement in my testing project. The game is supposed to be 2D, some kind of a platformer, just to get me started with Unity. However, it seems there's something odd ...
0
votes
0answers
10 views

Seperate game sprite

I want to create java game Jump Rope , something like this : http://www.juicycraft.com/HTML5/JumpRope/ do I need to draw two seperately sprites (one for character and one for rope ) or only one ...
0
votes
0answers
10 views

Camera rotation issue Libgdx

I have a OrthographicCamera and I want to rotate 90° it, but when I rotate it seems to be shifted more to the right. Before rotation: http://postimg.org/image/tc9jpq9zr/ After ...
0
votes
0answers
17 views

Fade into splash screen on game load

I'm using Slick2D and LWJGL for my StateBasedGame and I was wondering if there was a way to enter into my splashscreen on application load using a transition? I tried using: this.enterState(SPLASH, ...
0
votes
0answers
28 views

Android game programming seperate game logic thread from drawing thread

Ok so I want to know what is a proper way to create a multi threaded game. What I have tried is implement a wait and notify between the game logic thread and the drawing thread, but I believe this is ...
0
votes
0answers
8 views

Button Not rendering - LWJGL [on hold]

Currently I am working on a game with LWJGL. I have started to implement a main menu screen although I have an issue. Currently the button is just a Quad rendered as two triangles. I know I am making ...
-1
votes
1answer
29 views

What Programs and Language was used to make Tobal 1 for Sony Playstation? [on hold]

I want to know where to start to make my own ps1 styled video game and have it available on the PC. I enjoy Tobal 1 and notice the style of graphics is " low poly " I am asking what I need to do to ...
1
vote
2answers
32 views

Correct way of modelling for a multiplayer FPS game

I was wondering what was the best way to model characters for an first person shooter game? Assuming I have 2 modes to show, first person view (the player's view) and 3rd person view (viewing other ...
-1
votes
0answers
8 views

AdMob Libgdx Full Screen Ad

favorite How can I make an AdMob ad in libGDX game ? For example I want to put small add at the bottom of some screens. but when the user loses I want to show a full screen add . any suggestions ?
0
votes
0answers
17 views

Working with retina graphics on Unity 2D

I begun trying Unity for iOS 2D development. I am curious about how to work with retina devices. The first thing I did was create a 1136x640 solid rectangle sprite and throw it into my scene, then ...
1
vote
0answers
17 views

Render on texture with alpha 0 for the background colour

Sorry if the question is stupid but I am very new to opengl. I render on a target a scene with a couple of object on a background that is nothing more than the clear colour (which is ...
2
votes
0answers
31 views

Wall-sliding Collision Response Only Works On One Axis (2D)

"sprite" is the player object, velocity is a Vec2 that tracks movement (is set to -1, 1, or 0 at any given time), each sprite in "sprites" is a wall of the same size as the player (everyone is a block ...
1
vote
0answers
49 views

How to use an A* Pathfinding System across uneven environments?

I am developing a game in Unity3D. I want an enemy character to follow the player around. The problem is, my surface is uneven and full of mountains. I am using aarongranberg's pathfinding project. ...
0
votes
1answer
45 views

Is the rendering of distorted point clouds more complex?

I have two point clouds of n points: A dense ball-shape point cloud with many points inside A spherical point cloud with points on its surface. Is there (really) any difference between rendering ...
0
votes
1answer
11 views

Export session variables easily and permanently in php

I feel like I must be missing something simple, or misunderstanding sessions or cookies. I want to save all session variables and allow players to copy/paste a long string to load the game up from a ...
0
votes
0answers
10 views

How to create an animation in cocos2d-x 2.2.1 c++? [on hold]

How can I create an animation swap with sprites in cocos2d-x c2.2.1 c++?
-2
votes
0answers
16 views

XNA 4.0 Content Pipeline Error

Error 1 Error loading pipeline assembly "C:\Program Files (x86)\Microsoft XNA\XNA Game Studio\v4.0\References\Windows\x86\Microsoft.Xna.Framework.Content.Pipeline.AudioImporters.dll". Test This ...
1
vote
2answers
46 views

Get highest (Y-axis) vertices from primitive d20 dice in xna

I have created a d20 dice (icosahedron) in xna and used BEPU physics to roll it. But now I'm trying to get the value from the dice after its rolled. I was thinking about looking for the 3 vertices ...
1
vote
1answer
42 views

How do I resolve a collision involving more than two objects?

I have working functions that compute the contact points, depth of penetration (DOP), etc. of the overlap between two objects with convex polyhedra shapes. I know how to resolve the collision between ...
0
votes
1answer
61 views

How to calculate “real” distance between cursor and away object?

I don't really know how to formulate the title, but the problem is the following: I'm using a scripting language called "SQF" which has been created by a company named "Bohemia Interactive" (no, I do ...

15 30 50 per page