0
votes
3answers
36 views

How do I define a required component on a Unity game object?

I have a script that expected the game object to have a Terrain component. Is there an attribute I can add (or some other way) which will prevent a designer from adding my ...
-1
votes
1answer
15 views

SDL_UpdateTexture is slow

I am raytracing on the CPU and I need to display my renders to the screen in realtime. I chose SDL 2 as it seems to be made for low level stuff. I made this basic test which fills the screen from ...
-1
votes
0answers
21 views

Sprites get terribly scaled

I've been making a Space Invaders game in XNA for a while. I got the invaders animated and contained within an array. But when I call spriteBatch.Draw and debug the invaders sprites get a huge ...
0
votes
0answers
15 views

Altering Animation Playback Given Terrain Information

Say my character has a jog animation. Assuming Y is vertical, his feet leave the ground at Y=0 and hit the ground again at Y=0. This works fine in a world like that of Minecraft, where every surface ...
0
votes
1answer
26 views

Formula to measure uv-mapping distortion

Does anyone know a simple way of calculating (offline) the amount a texture is distorted when mapped to a triangle like the following? Vertex Position UV Coordinates A (Ax, Ay, Az) ...
0
votes
0answers
23 views

importing images as pixel-perfect from flash to Unity

I am not sure if this works, it just feels like it should. So I have this character in flash: And what I want to do is import him into Unity, and making him pixel-art. (And yes, for those wondering; ...
0
votes
1answer
31 views

Chamfered cube geometry generator

I'm trying to create a geometry generator for a "Chamfered Cube". I've got the vertices working, but I'm stuck with creating the faces. I don't really know how I could re-arrange my algorithm to ...
0
votes
1answer
14 views

Maya 3D to CryEngine3 Problem

I have an object that I am trying to export from Maya 3D to CryEngine3. In Maya the object appears fine but when I export it and place it in-game there are two problems. 1) The roof material seems to ...
0
votes
0answers
11 views

LibGdx Exception

Here is the exception: Exception in thread "LWJGL Application" java.lang.NullPointerException at com.mygdx.test.excav.game.WorldRender.renderTest(WorldRender.java:34) at ...
0
votes
1answer
56 views

Explain the difference between extrapolation and interpolation

http://www.unagames.com/blog/daniele/2010/06/fixed-time-step-implementation-box2d here there are two algorithms of smoothing in case of fixed time step physics simulation. I don't understand the ...
0
votes
1answer
21 views

How to access multiple 2DTexture which is assigned in Unity3D inspector panel created by an array in C#?

I am making a puzzle game, i made 5X5 cube, lets take example of orange. very left column is orange, upper with orange dot is static and lower with orange dot is also static. inbetween there are 3 ...
-1
votes
0answers
29 views

Is it possible to create a pool game with Phaser? [on hold]

I am really new to Phaser and from the examples I think there is no simple way to create a game with: 2 Dimensions but viewing from the top (X-Axis and Y-Axis for the balls movement) Simulating ...
0
votes
1answer
14 views

Export rig from one Maya project to another

We are a team creating 3D characters for a game. Each of us is doing a separate character in a separate project. But we need all the characters to have exactly the same rig, and the rigging will be ...
-1
votes
1answer
48 views

How to move object along circumference of another object? [on hold]

I have following piece of code, now i want to move the "moon" object in the orbit around "earth". please help!! #include <stdio.h> #include <conio.h> #include <graphics.h> #include ...
0
votes
0answers
10 views

Leaderboard Testing on Google Play Services

I have a shared Google Play Developer account so that he allowed me to publish a game app. Next, I want to know if in order to test the online highscore is to upload the APK and publish it first ...
-4
votes
0answers
36 views

Hey everyone?..Does flash games have an online market? [on hold]

Does flash games have a market?.. which type of games have the market now?.. which programming language should i learn to make more interactive online games to make money??? Can we make money through ...
0
votes
0answers
31 views

How do I draw a tilemap within unity3d?

I'm pretty new to Unity and after a bit of googling around I have come up with this code to draw my tilemap (the script is attached to my camera). I am simply trying to use nested for-loops to draw a ...
0
votes
1answer
39 views

Modeling object oriented snakes and ladders

I'm trying to create a basic clone of Snakes and Ladders using object oriented design. I'm struggling to model my objects and their relationships. For the time being I'm interested in moving players ...
0
votes
0answers
19 views

Calculation technique for 2D inertia tensors?

Just wondering what the techniques are out there. It's only 2D so I figured there'd be a good chance for there to be a "one size fits all" solution out there that's essentially an analytical solution. ...
-2
votes
0answers
32 views

Need ideas on a game engine for a high school game design competition! [on hold]

I am a senior in high school and I am pursuing a degree in computer science, but I do not know what area of computer science I want to get in to. I am exploring my options, and one method of ...
0
votes
1answer
38 views

OpenGL Depth Test Errors

I've been working on this problem for a while now. GL11.glDisable(GL11.GL_DEPTH_TEST); GL11.glEnable(GL11.GL_BLEND); GL11.glBlendFunc(GL11.GL_SRC_ALPHA, GL11.GL_ONE_MINUS_SRC_ALPHA); ...
0
votes
0answers
24 views

mini-games for teaching web programming [on hold]

I will teach a web programming & database design class next semester. I want to make programming a fun experience for students. I have several ideas but not sure how good they areand may need ...
0
votes
0answers
6 views

Cocos2d Game Multiplayer Without Game Center

I am trying to make my Cocos2d iPhone game multiplayer, but I do not want to use Game Center. I want it to be so that the user creates a username and based on that username they can create games with ...
0
votes
0answers
5 views

Libgdx Scene2d shows White screen when executed

package com.Darth377Apps.DeepShadow; import com.badlogic.gdx.*; import com.badlogic.gdx.graphics.g2d.*; import com.badlogic.gdx.scenes.scene2d.*; import com.badlogic.gdx.scenes.scene2d.ui.*; import ...
0
votes
1answer
35 views

Can diffuse and specular component of Phong model shine thru object?

I have been implementing simple 3D engine in OpenGL, mostly based on tutorials by Tom Dalling. I have implemented the Phong lightening model as described in his tutorial, but I see light artifacts on ...
0
votes
1answer
29 views

Is there a way to use the ContentManager with full directory paths

So i want to figure out a way to use the ContentManager.Load method with full directory paths, so lets say Content.Load<T>(@"Images\SomeImage"); becomes ...
0
votes
0answers
15 views

How to restore purchases made with virtual currency from the App Store? (iOS)

I want to award coins for doing thing in my app and let users purchase things with the coins that are non-consumables. I also want to let users purchase coins as IAPs. How do I keep track of what has ...
0
votes
0answers
24 views

Translate click on screen to point on plane in 3D space

I am creating a 2.5D game with the camera at a slight angle, like so: The grid is the "playing field," and the positive x, y, and z directions are labelled. I already know all the details about ...
0
votes
0answers
33 views

Specular light flickering with high specular power

I'm having some issues with specular lights, to be more specific, the specular color seems to be flickering when I set high power, like 512 (I set the specular color to green, so you can see better): ...
0
votes
2answers
55 views

Maximum Number of Bends - Snake

A naive Snake game implementation works by using a queue data structure to store the position of every single square that the snake is a part of. You can reduce the amount of memory by only storing ...
0
votes
0answers
5 views

Libgdx: ModelInstance texture is not rendered on Java8

I have project based on opengl, libgdx framework. It's impossible I think, but when I switch my project from Jdk1.7 on Jdk1.8 I have problem with rendering model's texture. I have no idea how language ...
-1
votes
0answers
16 views

How do I add collisions to my 3D game made in LWJGL / OpenGL [Java]? [on hold]

I spent 4 hours trying to figure out how I can add collisions to my game and simply could not find ANYTHING. I have absolutely no clue what to start with. What is the simplest way of adding super ...
0
votes
2answers
37 views

Overload how an object instance of a class is treated when used

So I've made this struct that encapsulates a glm::vec4. This is because vec3s are treated as 16-byte in GLSL, but I don't want to assign a vec4 if I only really need 3 components. Anyway, my question ...
1
vote
2answers
57 views

Touch drawing in the dirt

Which approach should I take for creating a game/app where the player, looking above the ground "canvas", would be able to "move" dirt (i.e. soil, or generally powder) around using fingers? I.e. ...
-1
votes
0answers
12 views

Xna collision Prob [on hold]

i have problem with doing game 2D now till now i did: create Player + map + Keyboard+ mouse now i am doing the collision with the Player and the map and i try that if the Player though One or more ...
0
votes
0answers
20 views

Drawing to canvas on a low end Android device

Recently I have noticed some of the low end Android devices have issues running my game. I've managed to get a screenshot of this bug: Once game is running, only the top left corner image will ...
0
votes
0answers
40 views

Generating Mesh From Voxel Data [on hold]

I need help converting a 3D array of voxels (The array indexes are the voxel positions) to an actual voxel terrain mesh (float array for vertices, And a int array for indices) So i can render a chunk ...
0
votes
1answer
40 views

Making a parenting system

Each Entity can have one parent and any number of children. They have a position vector and a quaternion orientation. I know that I can make objects look like they're in a hierarchy by multiplying ...
3
votes
1answer
78 views

Jelly ground collision

For fun I am trying to replicate the mechanics from The Floor is Jelly. So far I have successfully created "jelly islands/blocks" which are represented by an array of points and then drawn by using ...
0
votes
0answers
32 views

Top-down platform game [on hold]

I would like to start a project using Unity to learn about the engine and so on. I've already tested it a bit but I would like to do something more serious. The thing I have in mind is a top-down 2d ...
-1
votes
0answers
43 views

Who Handles Collision in a Component Based Entity System

I kind of stucking at my current plattformer protoype for learning the component based entity system pattern. I have CollisionComponent and a CollisionSystem. The CollisionSystem checks every frame ...
0
votes
0answers
20 views

Instantiating and deleting objects with triggers problem

I'm trying to create some kind of dust field, by now I'm just creating small balls for testing, between the bounds of a BoxCollider which I use as my dust field. When the box collider goes outside the ...
0
votes
1answer
29 views

Box2D pixel to meter conversion

I have a game that was written in pixels and now I want to change it to meters like(box2D do). How I need to do that. I have wached a lot of tutorials and all they have some SCALING FACTOR but when I ...
-1
votes
0answers
16 views

Unable to fully open Hammer

Whenever I try to use Valve's Hammer Editor through any game folder (ex. SteamApps\common\Team Fortress 2\bin\Hammer.exe) It gives me the option to pick either Half-Life 2 or the game in question. ...
0
votes
0answers
30 views

Generete road randomly algorithmy [on hold]

I am developing a basic game in an 8x8 pixels screen with C. But I'm stock now in the generation of the road. I store the road in one array the next time the road move forward I call a function to ...
1
vote
0answers
18 views

Bloom controll - enlarge glare area

I am trying to improve my bloom system. So far I have bloom that looks like this: What I need is to enlarge the low-bloom areas to make it look like this: Simply increasing the bloom multiplier ...
0
votes
2answers
30 views

Loading content into an Winforms/XNA Editor's content project

So i am bulding a game editor/engine basically for teh lulz but i have encountered a problem i cannot seem to fix, i cannot load any new content through the Winforms UI during runtime. I tried using ...
0
votes
0answers
28 views

C# BreakOut Game [on hold]

Hi this is my first year of Uni doing a programming degree, I am beginner to the whole concept. Firstly I need help with getting the ball (which is drawn in a pictureBox) to collide with the bat ...
0
votes
0answers
28 views

What do I need to learn so I can make games on Microsoft Kinect? [on hold]

I am student of final year doing my cs right now. My final year project is to develop a boxing game with Microsoft Kinect. What tools and resources do I need to do this?
1
vote
1answer
62 views

Multiple collision detection with images

Lately, I have been researching different Collision methods, how to deal with multiple collisions and different types of bounding shapes, circles, rectangles, polygons and ellipsoids. Some common ...

15 30 50 per page