1
vote
1answer
8 views

Performing manual clipping in OpenGL

I'm learning OpenGL and I understand that OpenGL performs clipping as part of the pipeline, but is it a good idea to also perform manual clipping? By manual clipping, I mean not asking the GPU to draw ...
0
votes
1answer
11 views

Saving resource

I'm trying to develope a simple platformer on Java, I was wondering if is it better to handle the collissions in a level (player with floor, player with enemy ecc...) by a level handler class which ...
0
votes
0answers
4 views

UDK - Peculiar Name for Missing File

I recently followed the "third person GOW camera tutorial", which I'm using to make a test game for my team. Unfortunately, when I try to compile the files, it says that I'm missing a file. Not a ...
0
votes
0answers
18 views

Mouse input that 'sucks in' particles

I'm having trouble figuring out the equations behind the title, I did exactly this using OpenGL's fixed function pipeline, but while transferring this over to the programmable pipeline i'm running ...
0
votes
0answers
22 views

What strategies can one employ to do real-time path finding on a server?

In a server where multiple path finding algorithms might be going at once (especially when a mobile might be chasing a player) for several entities at once -- what can we do to speed up path-finding ...
0
votes
0answers
14 views

Collision in Tiled Map - LibGDX

I have collision code that deals with left or right or top or bottom. I am using Tiled Map with LibGDX. Question is: How do I detect collision with other cells by all 4 sides, and not specifically ...
0
votes
0answers
13 views

How to render graphics in java [on hold]

I'm using thechernoproject's code from youtube and for some reason I cant get a black rectangle to fill the screen in my render method. : package com.thecherno.rain; import java.awt.Canvas; ...
0
votes
1answer
21 views

Find closest point from an origin, in a mesh

I want to do something similar to a raycast. With a raycast, you can set an origin and a destiny, and check where the ray collides with something but only with a line. What I want to do, is given an ...
0
votes
0answers
11 views

Unity platform pathfinding

I've been trying to find a way to do this but I'm not sure how. I've gone through A* pathfinding but could find anything on this. What I'm looking for is pathfinding for something kind of like a super ...
0
votes
0answers
10 views

ModLoader not decompiling files

I want to start making minecraft mods, but have had a bad time of using modloader. (I'm modding 1.6.4). I've run the batch file decompile.bat, but when opening the eclipse folder there are no files in ...
0
votes
0answers
25 views

A problem with texture atlasing

I have the texture below and I need to get rectangular parts from it. I could finally combine meshes of different quads to improve performance, but I with quads of different tilings, this means ...
0
votes
2answers
39 views

What dimensions should you use for a perspective projection frustum?

What dimensions should you use for a perspective projection frustum? Initially I created a perspective matrix based on the width and height of the screen, with a calculated zNear value based on a ...
-1
votes
0answers
12 views

build path errors ever since java 8 [on hold]

so I'm working on thechernoproject tutorial on YouTube. I just had a ton of path problems but figured it out on the eclipse website. now when I run it It calls and error for each line of code in the ...
3
votes
1answer
30 views

UDP server and large number of users?

My initial research showed the most people prefer to use UDP protocol and build a control code on top of it for multiplayer games. It seems like a good design at first, but I am wondering if it is ...
0
votes
0answers
22 views

Data structure for storing game objects in a tile based game [on hold]

This is my first time developing a game using C++, so I want to do it right. I decided to start with a tile based game since it has always seemed simpler to me. Previously the way I managed objects ...
1
vote
1answer
132 views

Can I render some vertices as an object instead?

I am generating vertices at runtime that represent terrain. I've always drawn the vertices as triangles with GraphicsDevice.DrawUserPrimitives<VertexPositionColor>, but I'm wondering: Can ...
0
votes
1answer
48 views

Calculating ball trajectory in Pong

I'm making a Pong game and I'm just looking for a simple way to calculate a straight travelling path for the ball based on the angle of the ball. How would I go about implementing something like this? ...
-1
votes
0answers
43 views

Java 8 update ruined my build path [on hold]

Today I finally updated to java 8. It said I had old versions so I let it uninstall them. then my eclipse wasn't working so I knew it was out of date. I uninstalled java 7 from my computer because 8 ...
0
votes
0answers
45 views

How do I fix my planet-facing camera?

Summary I'm having trouble implementing a camera controller suitable for first person use around a planet. The camera needs to be oriented correctly according to gravity (vector from camera ...
2
votes
1answer
55 views

How can I repeat / scroll a tile which is part of an texture atlas?

I would like to scroll a tile which is part of a texture atlas like it can be done with a single quad and texture wrap mode set to repeat. Can this be done? I hope it's clear what I would like to ...
-2
votes
0answers
63 views

What is the graphics of 'Dumb ways to die' made of? [on hold]

Here is the link. I really like the graphics of this game. It's crisp, with smooth animation. Does it use something vector-based like SVG? And how to make it?
-1
votes
0answers
25 views

Collision Detection and Response Woes [on hold]

I've been trying to implement the collision detection and response detained in this paper: http://www.peroxide.dk/papers/collision/collision.pdf After pretty much copying the code line for line some ...
1
vote
2answers
34 views

How can I make an AI agent avoid screen edges?

I'm programming an AI agent and I want them to avoid the screen edges. I've been considering using either the obstacle avoidance or the fleeing behaviour. Do either of these make sense? How should I ...
0
votes
0answers
17 views

XNA 2D Stencil Buffer Rotation

I am currently working on a 2d game related to planets and am trying to get a stencil buffer working with rotation. I currently have a stencil buffer found from another related answer but it refuses ...
0
votes
0answers
35 views

Is iPhone game dev better for my age? [on hold]

I'm 32. I worked as a professional developer using .NET/C++ earlier, but it wasn't for games. I'm getting back into programming, but instead of the typical enterprise jobs, I'm interested in pursuing ...
0
votes
0answers
19 views

Placing Banner Ads into letterbox area's

Background I'm developing my game (Android, OpenGL ES 2.0) on 2 devices - primarily on a Google Nexus 10 tablet and also on an old Galaxy Ace handset. I've designed my game to fit exactly to my ...
0
votes
0answers
23 views

How to find optimal perpendicular axis of rotation vector to draw arrows?

I am drawing lines on the screen. Each line has a point (x,y,z) and a direction (u,v,w). I want to draw arrow heads on these lines, like two lines that start from (x,y,z) and leave at a 15 degree ...
0
votes
0answers
23 views

Calling interactivity functions from object classes

Let's say I have a class object_door. An instance of said class is now in the game world in a locked state. Now to enable the player to open it, he needs to attempt to pick the lock. So I was ...
1
vote
2answers
112 views

Single or multiple inheritance for game world objects

So I am currently laying out on paper the system I want to code for a game in C++. Now currently I am debating whether to have e.g. a class object_door that inherits from another class ...
0
votes
1answer
68 views

Projecting a light onto a quad

I need to project the light onto the quad and use its value for translating the vertices. I'm currently having 6 vertices, two quads, The points are A X C B Y D Point X, Y are coming from two ...
1
vote
1answer
50 views

Custom lookAt function goes wild

I have written a custom lookAt function based on a lot of posts from all over the net, and it works very nice... except when a rotation (which is stored in a quaternion) crosses some 'threshold'. ...
0
votes
1answer
27 views

How do I apply a Isometric tile to a Diamond shaped Div

I want to be able to apply my isometric tile To a diamond shaped div However I can't seem to create the isometric shaped div. Closest I got to it was this http://jsfiddle.net/P3yKr/2/ but even ...
0
votes
1answer
29 views

LWJGL Resize window and glTranslate breaking screen resolution

I'm trying to make a 2D Tile RPG game with LWJGL but I'm having a problem with the display resizing. I want the user to be able to re-size the window to whatever size they want just by expanding it ...
-1
votes
0answers
22 views

What platforms are unity good for? [on hold]

I recently read Unith have released support for the nintendo wiiU and are working on the 3DS. This has made me think about learning unity but moat of the questions regarding unity i see on here are ...
0
votes
1answer
80 views

How do you make a bullet ricochet off a vertical wall?

First things first. I am using C# with XNA. My game is top-down and the player can shoot bullets. I've managed to get the bullets to ricochet correctly off horizontal walls. Yet, despite using similar ...
0
votes
0answers
34 views

How can I use custom shaders in Monogame?

I wrote a shader in XNA and I want to use it in a Monogame Windows Phone 8 project. How can I convert the effect file(.fx file) to an .xnb file? I use Monogame 3.2 and Visual Studio Express 2013 for ...
5
votes
1answer
582 views

Can I use a song from a YouTube remix in my game?

If I found a video with a remake/remix/version of a commercial song (for example, the theme of Super Mario Bros) with a CC BY licence, I can take this video for a commercial purpose like the ...
-5
votes
0answers
34 views

First Person Shooter about street riots [on hold]

I'm thinkgin how to realise my idea easy. What can be taken for the base? Is there complete opensource platform? First Person Shooter Street Riots. Mass Riots. Paving stone. Molotov cocktail. ...
0
votes
1answer
51 views

How to retrieve a cube collision by faces

I work for a while on a minecraft game (voxel). I am front a problem for a long time about the collision detection. I want recover the cubes collision from my highlighted black's cube like on the ...
0
votes
1answer
45 views

How can I implement simple distributed processing in a Unity game?

I'm looking to set up a game which uses distributed processing. Just a simple brick shooter in unity with the distributed part being that the calculations for the falling blocks are handled by another ...
2
votes
1answer
35 views

How to get a Coordinates of a 3D Object in Android

How is it possible to click on an area of a 3D Model (.obj-File) for example a cube, where you can get different Events of the six sides. For Example the orange area of the picture gives me a value of ...
0
votes
0answers
43 views

What is the difference between a subdivision surface modifier and multiresolution modifier? [migrated]

I'm currently modeling my game character in Blender (see below picture). What is the difference between a subdivision surface modifier and a multiresolution modifier? I know they smooth the surface ...
0
votes
0answers
61 views

How to rotate a line in 3d space?

I am trying to figure out direction vectors of the arrowheads of an arrow. Basically I'm given a normalized direction vector (u,v,w) and I need the normalized direction vectors of the its two arrow ...
0
votes
0answers
27 views

Determine speed of sprite

I'm trying to calculate the speed of my sprites in Cocos2d but I'm having some difficulties. I'm not sure which units of time/speed cocos2d uses. My background sprite moves 2 positions to left each ...
5
votes
2answers
99 views

Creating Platform game with Inclined Levels

Till now I have developed platform games in which a player can only move and detect tiles linearly. I wonder on how to implement games in which a player can move on an inclined or irregular surface. ...
0
votes
0answers
26 views

Best tools to make game graphics for iOS games [on hold]

I want to make game graphics that are smooth not pixelated, kinda like vector graphics and I will need to use it in iOS games. I am not that experienced in creating graphics so I looked here and no ...
0
votes
0answers
14 views

setChaseEntity freezes or jitters the AnimatedSprite

I'm trying to implement setChaseEntity method in a physics based app. I wrote the below code which has an animated sprite ans as the player. The player is movable and it can jump. When i try to focus ...
-2
votes
0answers
44 views

which engine should i choose to build android game other than unity [on hold]

for a 2d game which would the best engine to choose other than unity 4.3 it should support all the necessary things required I was thinking of cocos2d plzz sugest smthing
0
votes
0answers
39 views

Simple Libgdx bullet example

I'm looking for a SIMPLE example of the use of the bullet physics engine in libgdx. Before you point me at the wiki, I have read that, but that mostly describes installation, and just a "raw" ...
0
votes
1answer
41 views

Can UE4 be used from multiple locations with a single license?

I want to subscribe to Unreal Engine 4 with my small game development team. But before we do, we have a question: can we also use UE4 from multiple locations at the same time? So that all of our ...

15 30 50 per page