0
votes
0answers
4 views

How do I make my character stop going left? (Unity)

So I have this code and my character can go left, right and jump. I don't want the character going left , so how can I remove that. (I'm very new with coding) using UnityEngine; using ...
0
votes
0answers
8 views

Determine if an object is inside a ship's turn radius, rotation via torque

I have a 3d space game where all ships move around using physics. I am trying to determine if a given object is reachable by a ship at a given velocity and turn radius. I believe the formula for turn ...
0
votes
1answer
28 views

Is there anything to keep in mind when choosing Boo for Unity development? [on hold]

I just noticed that Unity has Boo as a compatible language but I haven't seen any tutorials using Boo nor any games. I love Python and would like to code in its syntax - maybe for a small project. ...
0
votes
2answers
17 views

HTML Multiplayer and Hiding Information

I'm in the process of conceiving a multiplayer web-based game of sorts and was looking into different ways of achieving this. Instead of using PHP/MySQL/AJAX like I'm used to, a lot of sites are ...
0
votes
1answer
18 views

How to Load a Level for use with the Bullet Physics Library

I am trying to use a level in .obj format loaded with Assimp to generate a btBvhTriangleMeshShape to use with the Bullet physics library. I can successfully load btConvexHullShapes as well ...
0
votes
1answer
12 views

How to detect collision of a wall with grid movement?

I have this little game, where my player is moving around a simple level, using a grid based movement script (See code below). My problem is that I have tried to implement a 2D raycast, which has to ...
0
votes
1answer
10 views

LibGDX full screen display mode and camera resize

I'm creating a simple 2D platformer and I have problem with my camera y position when I enter full screen mode. But first here's my code screenY = Gdx.graphics.getHeight(); public void ...
0
votes
0answers
10 views

iOS isometric game development workflow (Cocos2D)

What does an efficient graphic assets workflow look like for an iOS isometric game in Cocos2D? Currently my understanding is: Blender 3D Model Render into 8 direction sprite images Use software to ...
0
votes
1answer
16 views

How can I update a Stage-based HUD from another Stage's Actor in libGDX?

I feel like this is a simple problem, but I'm having issues finding the correct search terms. I have a Screen that includes two Stages. The first, stage, contains a number of objects deriving from ...
0
votes
0answers
18 views

Best way to calculate city influence maps similar to civilisation?

As the title says, imagine you want to generate the influence mask for a city, given that the map is a 2D grid rather than hex. An extra bit is that different points on the map might have different ...
0
votes
0answers
16 views

Multi-layered tilemap

I need to be able to efficiently render a tilemap which can be constructed this way: There is one non-transparent base layer Then there can be 3 partially-transparent layers on top of it. Each tile ...
-1
votes
0answers
31 views

Gamesparks Vs PlayFab… Which to pick? [on hold]

In terms of ease of integration and pricing, which of these two systems would you prefer. I need push notifications, in-app purchases, leaderboards, and user management. I have looked at both ...
2
votes
3answers
171 views

What's the best way to organize small textures in OpenGL?

What's the best way to organize small textures in OpenGL—having them all in a big texture and selecting them with texture coordinates, or using individual OpenGL textures? Until recently, I used to ...
0
votes
0answers
18 views

Browser game - small models with tileable textures vs one big model and one big texture

I am few years behind in terms of browser capabilities. I plan to combine 3D with pixel art, and I am going to use Unity to make a browser based game. I have made a stage that is one model and has ...
-2
votes
0answers
18 views

libGDX interface cannot be applied error

I would like to use interfaces in libGDX. I get an error in AndroidLauncher before compile. It says for this line: initialize(new MyGdxGame(actionResolverAndroid), config); .... cannot be ...
0
votes
0answers
22 views

OpenGL Blending Format

In OpenGL, is there a format for a texture in glTexImage2D that prevents blending, or do you have to disable it using glDisable(GL_BLEND). Reason for use is that I would like to store additional data ...
0
votes
1answer
13 views

Animator has not been initialized

My animation is working but unity keep saying that my Animator has not been initialized error Here my Code: using UnityEngine; using System.Collections; public class Player: MonoBehaviour { public ...
0
votes
0answers
86 views

What type of 3D engine is the original Quake engine?

What type of 3D engine is the original ID Software Quake engine (1996)? What is the correct terminology? Is there a particular simple term that describes this type of engine? E.g. the original ...
0
votes
1answer
43 views

Instantiation taking too long?

I have a game where there are about 4 empty objects that are my object "spawners". I have two scripts attached to all of them, one that will keep spawning objects from "basictable", and then switch to ...
-2
votes
0answers
15 views

Unity error CS1519 and error CS1525

using UnityEngine; using System.Collections; public class Player: MonoBehaviour { public float maxspeed = 10f; bool facingRight = true; bool grounded = false public Transform ...
0
votes
0answers
22 views

How do I port a simple 2D Monogame to MacOSX

I have made a simple Windows Monogame project (using the DirectX template). What are the steps to port my game over to MacOSX? If I need to change my Monogame project so that it uses a OpenGL ...
1
vote
2answers
82 views

How can I render extremely large models?

I'm trying to build a game in Unity similar to the game Kerbal Space Program where there are large celestial bodies that the player can orbit. I'm running into a few problems though. My first issue is ...
0
votes
2answers
51 views

Task vs Thread with execution queue

My game server will have to respond to requests very often, so I consider threading a good option. But should I use Task class from .NET or have several threads that would execute requests which I ...
1
vote
1answer
45 views

Text rendering techniques for games

I'm researching text rendering techniques for 3D applications, and I'm having a hard time finding information on the topic. Do you know of any other methods of text rendering that are actually used in ...
0
votes
1answer
24 views

unity3d - Object keeps falling down

I have an object that moves towards another object using this line : transform.position = Vector3.MoveTowards(transform.position, target.transform.position, speed * Time.deltaTime); this is it's ...
0
votes
0answers
15 views

Create Plane or Quad with size set to fit dynamically-loaded texture

I'd like to load a texture image (at runtime, from web, not stored in Asset folder anywhere) and apply it to a plane (or quad, etc.) so that the plane is the same size, in pixels, as the texture. I'd ...
0
votes
1answer
50 views

Is this a good way to regulate fps?

In all of my tests I always regulate the fps by using this method. const int fps = 30; const int msPerFrame = 1000/fps; // 33 ms per frame, so it's more like 30.3030 fps while(true) { const int ...
1
vote
1answer
9 views

Unity Inspector Not Showing Serialized Variables Of Child

So I'm new to using Serialaiziblewtfever(I just cannot remember the correct spelling). In the Unity editor it works fine if I have something like: [System.Seriliabizblewtfever] Public class ...
0
votes
0answers
13 views

How to sample png heightmap in HLSL

I am working on simple parallax shader and I have problem with sampling height texture for value. My aproach amples texture and give me RGB values of picture: tex2D(TextureHeightSampler, ...
-2
votes
0answers
37 views

Is it possible to make a 3D game in Java [on hold]

Hello I was just wndering if it was possible to make a 3d first/third person game in java without opengl or any added librairies. Just plain java. If so can you import models and can the game be a ...
0
votes
2answers
30 views

I can't add script in unity

I'm a beginner in unity so I got this problem. Here is the script: using UnityEngine; using System.Collections; public class Playercontrol: MonoBehaviour { public float maxspeed = 10f; bool ...
-3
votes
0answers
24 views

Shogi Program, Null-move pruning issue

I'm writing a Shogi AI in Java and I've been having issues for a long time with applying the null move pruning. When it starts apply-ing null move pruning it always cuts-off everything and I end up ...
0
votes
0answers
27 views

Android how to create a grid as board game

I am new to Android and I'm trying to create a clone of the game Robots. As a first step I'm trying to create the grid on which the caracters will move. The idea is to create a really simple grid ...
-3
votes
0answers
40 views

3D Fractal terrain generation

I have a problem with my terrain, each time I get a strange terrain. I don't know where is exactely the problem. Here is my MidPoint dispacement function: bool terrain::MPD(int x1,int y1,int x2,int ...
0
votes
1answer
41 views

How to use multiplication operation in game render delta time?

We are using delta time in short like this: private static final float SPEED = 200f; // Moving pixels in one second @Override public void render(float delta) { myObject.vx += SPEED * delta; ...
-1
votes
0answers
27 views

Recommendation soft like Barok? [on hold]

I was surprised how beautiful is Barok Engine, but is not in English. Have someone some recommendations similar to Barok Engine? I have to do a small game 3d for a university project.
0
votes
0answers
12 views

how to trigger a ball from rotating cube in z axis

how to release ball from the cube which is rotating in z axis, ball should move in Y axis and ball should be reloaded after releasing the ball ?? Thanks in advance cheers Gokul
0
votes
0answers
16 views

How to convert pixels to meters in Box2d with Cocos2d-x 3.5?

I am using Cocos2d-x 3.5. I created a simple game with edge bodies and one circular body to test box2d. Physics wasn't working well, so i thought i should convert pixels to meters and use that meters ...
0
votes
0answers
29 views

OpenGL MD5 Model Animation. Performance issues

A time has come when i had to implement an Animation to my Engine. I started with standart MD5 mesh/anim format since i find it easy to understand. I managed to implement a simple MD5 loader and i can ...
-1
votes
0answers
38 views

Stuck in Java game development [on hold]

To start with, I need some help for my homework assignment. I am developing a game. This should work as a command prompt interactive game. For example: > addplayer username, familyname, given ...
1
vote
1answer
22 views

How to play more than one background song in XNA?

The current tutorial I am using to play background songs only allows me to play one song throughout the entire game. Link to tutorial --> http://rbwhitaker.wikidot.com/playing-background-music I ...
0
votes
0answers
17 views

OpenGL - Cubemap “Rotating” Proportional To Camera Movement

I'm doing a simple planet rendering project and am running into an issue with accessing cubemap textures correctly. The planet terrain is generated using the diamond square algorithm done 6 times and ...
0
votes
0answers
17 views

Errors Generating A Plane Mesh Using A Script In Unity

In unity I have a script which is attached to a game object with a mesh filter. The purpose of the script is to generate a flat plane of 100x100 vertices. The code for the script compiles in ...
0
votes
0answers
10 views

RenderTexture not working in very specific circumstances (Unity 4.6.3)

I'm building a project in Unity that makes heavy use of RenderTextures and ComputeShaders, and I found out early on that if I tried to open the project in the free version of Unity, I got an ...
1
vote
0answers
17 views

Import Unity 2D objects in Libgdx

I'm using Libgdx to do some simple home projects. I'm trying to make a simple 2D game with Box2d using R.U.B.E as editor. I create a 2d terrain in R.U.B.E now I want to create the terrain texture. I ...
0
votes
1answer
29 views

unity3d - Fire bullet using AddForce is very slow

This is a top-down view but in 3D coordinates, I would like to instantiate and fire a bullet from the player's gun. This script is on a spawner object at the end of the barrel. void Fire () { ...
2
votes
2answers
32 views

Synchronisation on a non authoritative networked peer to peer scene

I currently have a piece of coursework that requires 3 or more 3d simulations connected via p2p to maintain a simulation that is visually consistent amoung all peers. A big issue is that I'm not ...
0
votes
0answers
21 views

Making a user friendly renderer class in OpenGL [on hold]

As I learn new rendering methods in OpenGL I try to make them usable for future cases so I don't have to have a big pile of glBegin()s or Ids in my main game loop. I'm grasping the understanding of ...
0
votes
0answers
24 views

I have a questions about c++ and SDL2, openGl [on hold]

i started to learn programing. I really want to make a game in c++11 and SDL2 , openGL i know is very hard to make something that why i'm asking this you know couple of good tutorials or books i can ...
1
vote
1answer
30 views

Modern OpenGL Texture Displaying Incorrectly

I've been working with this code and have simplified it to the most basic form possible, and even then I cannot get a texture to display properly at all. Here is the code: ...

15 30 50 per page