0
votes
2answers
53 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
25 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
40 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
56 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
16 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 [closed]

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 [closed]

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 [closed]

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
30 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
21 views

What tech/assets for 2D in unity [closed]

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
41 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
31 views

2D Pixel/sprite game in unity? [closed]

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
25 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 ...
-2
votes
1answer
35 views

MCP 1.7.10 Java class navigation [on hold]

So, I'm new to the Minecraft modding community and trying to understand where to start. I've attempted to do it before, but dropped it to the complexity of starting and the lack of a site like this to ...
0
votes
0answers
49 views

C++ OpenGL trouble trapping cursor in window

I am using OpenGL and I try to trap my cursor inside my game window (using both SetCursorPos and ClipCursor) But, these conflict with my camera rotation code as my camera is rotated with ...
-3
votes
0answers
30 views

importing BaseGameUtils library [on hold]

Hey :) I am trying to add the BaseGameUtils library to my workspace, I am using this guide: https://developers.google.com/games/services/android/init , I have downloaded from here ...
0
votes
0answers
25 views

Scrolling background with changing textures

I have the 2 cubic structures that are my tracks and are scrolling basically to give effect of movement on object. In my OnBecameInvisible() method, I have changed their Tiling using mainTextureScale ...
0
votes
2answers
21 views

Material tiling and offset in unity

Ambiguity: What exactly is the difference between Tiling the material and Offset of material? Need to do: I need the material to be repeated n times on the object where I need to set the value of n ...
0
votes
1answer
20 views

What is the maximum value for a leaderboard entry in Google Play Services?

What is the maximum value an entry in a leaderboard using the Google Play Services can have?
0
votes
2answers
32 views

What is the easiest and fastest way to display an SDL_Surface in a window with SDL2?

I would like to have an SDL_Surface representing the contents of the window, just like in the old days with SDL1.2. What is the best and fastest way to do it in SDL2? What I found is that I need an ...
0
votes
0answers
12 views

Game Center Leaderboard not dismissing

I was implementing Game Center into my app and all was going well except for the leaderboard done button not dismissing the leaderboard even with gameCenterControllerDidFinish added in. I call up the ...
-1
votes
0answers
15 views

games similar to Pick Chow Games [closed]

Is there a game similar to Pick Chow Game which is OpenSource/free. Currently the client is using a wix free website so that I can Embed it into the page. Or Is there any other alternative like any ...
1
vote
0answers
18 views

LibGDX: Why look BitmapFont pixelated on a scene2d.ui.Dialog?

When I use BitmapFonts directly on the stage table, the fonts looks normal (not pixelated). But when I use the same BitmapFont with the same size on a scene2d.ui.Dialog, the font looks pixelated. ...
0
votes
0answers
22 views

Can Layer Masks Achieve This Effect

If you look at the image below you will see the player surrounded by a dotted yellow box. The dotted yellow box is also part of the player and represented a portion of the player being masked from ...
0
votes
0answers
8 views

Create a kind of Interface c++ [migrated]

I'm writing a little 2d rendering framework with managers for input and resources like textures and meshes (for 2d geometry models, like quads) and they are all contained in a class "engine" that ...
1
vote
1answer
67 views

How to make an object move again after being stopped by collision in Unity?

I have a player object which position is always centered on the main camera's viewport. This object has a Rigidbody 2D, a box and circle collider. The player moves around a level, the level has a ...
0
votes
0answers
33 views

Client side latency when using prediction

I've implemented Client-Side prediction into my game, where when input is received by the client, it first sends it to the server and then acts upon it just as the server will, to reduce the ...
0
votes
0answers
28 views

Assigning an item to an existing array in a list within a dictionary [closed]

I have a Dictionary declared like: public var PoolDict : Dictionary.<String, List.<GameObject[]> >; I made a function to add items to the list and array function Add(key:String, ...
-4
votes
0answers
20 views

Error in code of basic game using multiple sprites and surfaceView [closed]

I am a beginner to android and i was trying to make a basic game with the help of an online video tutorial. I am having problem with the multi-sprites and how to use with surfaceview.The application ...
0
votes
0answers
35 views

How to end game properly in unity? [duplicate]

I have made a game in unity free. The game is functioning properly but if your computer receives any kind of notification, the game minimizes automatically and stops to work completely. Along with ...
0
votes
0answers
33 views

Html 5 ping pong game side collision problem [closed]

I am making a simple ping pong game where I am facing a side collision problem means when the ball collides with the either side of the paddle . Although I have written code for making it works but ...
0
votes
0answers
12 views

OpenGL textures trigger error 1281 if SFML is not called

I am using SOIL to apply textures to VBOs, without textures i could change the background and display black (default color) vbos easily, but now with textures, openGL is giving an error 1281, the ...
-1
votes
0answers
18 views

How to load .tanim files in maya Mac [closed]

I'm working on a zombies game in unity, and I have some animations of black ops 1 in the .tanim format. I found a way to use them, but it's only for the pc version of maya. Can somebody help me ?
2
votes
0answers
37 views

Event Driven Behavior Tree: deterministic traversal order with parallel

I've studied several articles and listen some talks about behavior trees (mostly the resources available on AIGameDev by Alex J. Champandard). I'm particularly interested on event driven behavior ...
0
votes
2answers
43 views

Libgdx, find Vector3 direction

I am using Libgdx along with Bullet physics. I have a vehicle moving. I would like to use a ray from the vehicles origin and in the vehicles forward direction. How can I create the forward Vector3 ...
1
vote
1answer
57 views

XNA How to change the sprite texture to white color

as the title, how can i do to take the sprite to white color here is some example, turn to follows image and my game planform is XNA now, and developed winphone game thanks for reading!
0
votes
1answer
17 views

Can GJK be used with the same “direction finding method” every time?

In my deliberations on GJK (after watching http://mollyrocket.com/849) I came up with the idea that it ins not neccessary to use different methods for getting the new direction in the doSimplex ...
0
votes
2answers
41 views

Collision detection problem in XNA

I'm having two problems with my collision detection in XNA. There are two boxes, the red box represents a player and the blue box represents a wall. The first problem is when the player moves to the ...
12
votes
2answers
661 views

What problem does double or triple buffering solve in modern games?

I want to check if my understanding of the causes for using double (or triple) buffering is correct: A monitor with 60Hz refresh's the monitor-display 60 times per second. If the monitor refresh the ...
1
vote
2answers
79 views

Fast determination of whether objects are onscreen in 2D

So currently, I have this in each object's renderer's update method: float a = transform.position.x * Main.scale; float b = transform.position.y * Main.scale; float c = ...
-3
votes
0answers
41 views

Can any one name a good 3d c++ framework for game development? [closed]

I am thinking of developing a game as c++. Is there any good 3d c++ framework for it.
1
vote
1answer
51 views

how to define a field of view for the entire map for shadow?

I recently added "Shadow Mapping" in my XNA games to include shadows. I followed the nice and famous tutorial from "Riemers" : http://www.riemers.net/eng/Tutorials/XNA/Csharp/Series3/Shadow_map.php . ...
-1
votes
0answers
17 views

which one should I choose cocos2d-iphone or sprite-kit? [closed]

I'm interested in game Development.IOS,which game engine should i choose sprite-kit or Cocos2d-Iphone
0
votes
0answers
19 views

HTML5-Canvas: worth using ImpactJS or other framework? [closed]

I've been making an HTML5 game without any type of external framework. I haven't found a reason to use one so far. However, there is one thing I'm wondering about. On my Galaxy Nexus, I get about ...
1
vote
2answers
22 views

LibGDX . draw multiline text

I am trying to write a big text using BitmapFont in libGDX . But it shows on one line and the user can see only the first part of the text . How can I make that bitmapFont made new line automatically ...
0
votes
0answers
49 views

Level design - Are games development degrees worth it? [closed]

I want to go into Level design or Environment design and wondering if degrees are at all worth it for this area, as long as you have a good portfolio. I'm currently on a "Computing and Games ...

15 30 50 per page