0
votes
1answer
26 views

What's the size of library in unity for android?

In unity3d what is the size of library compiled into apk. Is that affect when i make game without any physics(2d or 3d) or when making 2d or 3d game.
0
votes
0answers
8 views

how to add car in vehicle advanced template in unreal engine 4

how to add car to vehicle advanced example in unreal engine 4 i have this model how to add it : here
1
vote
2answers
55 views

Making an organized rendering class

I'm using LWJGL (opeengl wrapper for Java) and Don't know how to make a renderer class for OpenGL. So In Immediate mode rendering I'd do a method like this to draw quadralaterals. public static void ...
2
votes
2answers
54 views

How do I calculate rotational impulses in rigid body collisions?

I'm writing a simple 2D physics engine to help me understand the inner workings of physics engines. I'm following Randy Gaul's tutorial which can be found here and It's been extremely useful and ...
0
votes
1answer
15 views

Unity - Scroll Rect shows buttons outside of the rectangle

I have this problem. I'm using a scroll rect to display a series of buttons, but I would make sure that as soon as the buttons (with the scroll rect), come out of a certain area (bounded by a panel), ...
0
votes
0answers
14 views

Question about installation of FNA

I am following this tutorial to install FNA: http://gamasutra.com/blogs/MichaelHicks/20140623/219612/Converting_an_XNA4_Game_to_FNA.php In the tutorial it says too: "Make sure SDL2#, TheoraPlay# ...
0
votes
0answers
17 views

Character fixed angle? [duplicate]

I want my character to rotate so I turn off fixed angle in Rigidbody 2D, but the problem here is that I can't jump in any other angle except for the angle where I have my groundcheck. Can anyone help? ...
0
votes
1answer
19 views

Unity Xcode Post Build Change Language Dialect

Is it possible to change the C++ Language Dialect setting under Apple LLVM 6.1 - Language - C++ during a post build process in Unity3D? See here: I'm using XCodeEditor, and in the json, i tried these ...
0
votes
1answer
23 views

Send a prefab over network in Unity

I want to instantiate an object on only the server and one client. This means Network.Instantiate is out of the question and I have to instantiate it manually. Since Network.Instantiate takes a ...
0
votes
1answer
20 views

How to write a script for circular motion?

Сan any body explain me the script for the tangential motion,so that when i cut the rope circle should move tangentially:
3
votes
2answers
184 views

Space game: inheritance for spaceships?

In a space game I'm writing in C++11, I have a class Spaceship. Now I want to create 3 more spaceship types, how should I do? Attack type: have a weapon Research type: have a sensor Religious type: ...
1
vote
1answer
41 views

How to setup animation based events without depending on an animation?

How can I have events based off animations without relying on them? Take for example reloading in a FPS game. You'd hit a button to reload your weapon, the animation will play, then animation will hit ...
-1
votes
2answers
39 views

Where to create scenes? [on hold]

I'm starting to develop a 3D game with Unity and 3ds Max. Where do I create levels for my game? Do I create individual objects in 3ds Max and transfer them to Unity, or do I create the whole level in ...
0
votes
2answers
15 views

Unity3d - deploy game to android device off site

I am using Unity3d to develop my game and my friend with android device wanted to test it. I am natively IOS developer and have no knowledge of deploying Android platform. What do I need other than ...
-1
votes
0answers
11 views

How to import scenes from .3ds files into Unity

I am trying to import a 3D project done with 3dsMax into Unity and make it the scene in the game. Is this possible? Any tutorials available?
0
votes
1answer
32 views

Calculating density of an object

I'm using Box2D for physics in my game, and one of the things it needs to know when creating a shape for a physics body is the shape's density. I had no idea what value I should specify, so I went to ...
0
votes
0answers
3 views

Vertex ordering with THREEjs's exporter

I'm using THREEjs's exporter to export a 2D polygon plane. The resulting JSON gives me the vertices. I'm trying to properly order these vertices as to make the actual polygon shape, without luck. ...
-1
votes
0answers
25 views

Can I develop games like flappy birds or super mario using C language only? [duplicate]

I'm a second year student pursuing B.Tech in Computer Science. So, as a minor project I have to program a game using C only. I have heard of people discussing about the games like flappy birds and ...
0
votes
0answers
33 views

Character can't jump in other angle with fixed angle off

I turn off fixed angle so my character can rotate, but it can only jump in 1 angle but I want it to jump in every angle. How do I do that? Code: using UnityEngine; using System.Collections; public ...
0
votes
0answers
19 views

2D Physics library for C# [on hold]

I'm currently in a C# project where I need to simulate some 2D high school physics such as inclined plane with and without friction, projectile motion, pendulum, collisions, etc. The user should be ...
0
votes
0answers
20 views

3D Model Render Method [on hold]

which is a good method to render 3D model? VA or VBO? Currently my method is like using glBegin and glEnd. Any example? Last time I tried to convert my current code to both the model wasn't displayed. ...
0
votes
0answers
33 views

Texture Editing with Multhi-Threading

So I have this giant Texture2D(4096 * 4096, don't ask why) and all its data stored in an array of Colors. When I hit left MouseButton I create a blue 64 by 64 square at the cursors position using the ...
0
votes
1answer
21 views

Legacy GUI - run OnGUI only once

I remember something about onGui being able to be run multiple times per frame, and I also seem to recall that you can check 'which state' the onGUI is being run in, so that you can do all of the ...
0
votes
2answers
62 views

Enemy fire every few seconds

Hi I'm trying to get my enemy to fire once every few seconds, I tried using a Coroutine but due to me essentially calling the Coroutine through the update method, the Coroutine is repeating every ...
0
votes
1answer
30 views

No RenderWindow class in SFML?

In their official tutorials it is said that to draw graphics on screen, i have to use RenderWindow instead of Window. But when i write sf:: RenderWindow window, error pops up saying that there is no ...
2
votes
2answers
32 views

How can I load textures in Unity and keep them between scenes?

I have some textures that are used in multiple scenes and I want to keep them in memory to speed up load times between scenes. I know about Resources.Load, but does that always keep it loaded? If a ...
0
votes
1answer
23 views

Move Sprite in direction of rotation

I have the following code. void Update () { if (Input.GetAxis("Vertical")!=0) { GetComponent<Rigidbody2D>().AddForce(-transform.right); } ...
1
vote
1answer
38 views

Bad performance using VBO with OpenGL ES in Android

I'm making an Android app and I need to draw some polygons using OpenGL ES. I'm able to render them but I'm disappointed with performance. I updated the code to use VBO but I didn't notice any ...
0
votes
1answer
56 views

How do I create a server for an existing game I don't have the source for?

I was wondering if it is possible to create a dedicated game server for a game that already exists and you don't have access to. For example, a game on Steam that only allows multiplayer through ...
0
votes
0answers
8 views

Set FilterMode.Point to all GameObject children?

I want to scale a GameObject using FilterMode.Point. However it seems I need to apply FilterMode.Point to all children individually if I want them to uses nearest neighbor when scaling up. Is there a ...
1
vote
0answers
41 views

Life Counter in Greenfoot caught “Incompatible Types” exception

I need to make a life counter so that when my Actor get hit by an Enemy, his life will be decreased by 1. I put this method in my Actor class: private void decreaseLife() { Actor enemy = ...
0
votes
1answer
21 views

Resize sprite to match camera width?

I'm trying to resize my small background sprite to match the screen width of the user's device. This is what I'm trying // Use this for initialization void Start () { // Set filterMode ...
1
vote
1answer
35 views

What size should I scale my sprites to before importing them to Unity?

I'm developing a game with an 8bit look. I want to target iOS and Android devices. The real resolution for my backgrounds is 108 x 192. Should I should put them in that same resolution and scale ...
2
votes
1answer
50 views

In XNA, how do I access a model's dimensions with code?

I'm trying to rotate a model around some axes, but this rotates it around the world origin. I understand that I need to translate the object relative to its own size before rotating it, but I don't ...
-1
votes
0answers
20 views

Unity Change GameObjects Color C#

Hi so I am currently messing around with changing a game objects color, and I found this code online to do it.. pickedNumber.gameObject.renderer.material.color = new Color(255, 0, 0, 100); But I ...
2
votes
1answer
102 views

Should UI be part of the game-loop?

I can't really find a good answer to this anywhere, I have never worked on games in a proffessional environment and I am wondering; Do these games render their UI in the main game-loop? That is, do ...
0
votes
0answers
21 views

Projectile following camera

I watched this tutorial on how to create a camera in Java: https://www.youtube.com/watch?v=TlleDQFlTxA The camera works perfectly but the bullets keep following the camera. I've been trying to fix ...
1
vote
1answer
18 views

Broadcast message to Parent Gameobject and Siblings in Unity

I wish to broadcast a message from one object to it's parent and it's siblings. I am aware that unity does not support broadcasting a message to all other game objects but is there a way to broadcast ...
1
vote
0answers
17 views

ThreadAffinity being changed by OpenGL / ChoosePixelFormat

If I change thread affinity and then create the window used in my OpenGL game it changes the thread affinity to something else. I tracked down the exact API call (ChoosePixelFormat) which changes it ...
0
votes
0answers
9 views

Cube dissappearing in different camera angle

I got this odd problem when I look at few objects while moving with the camera. They disappear until I move camera again, in editor and play mode. I had the same problem before when making some ...
0
votes
0answers
26 views

Implementing realistic 3d character movement

I'm trying to create realistic feeling character movement, but I would like to use realistic physics as well. I've been trying to find some online sources but can't find a lot of information about ...
0
votes
0answers
18 views

want to build places like alaska wilderness, what engine should I use? [closed]

want to build mountains, lakes, and such as from alaska. seasonal weather, dynamic weather is needed. cryengine seems like best candidate unless I'm wrong? is it easier to make such games with ue4? ...
1
vote
1answer
75 views
+50

vuforia how do I force objects into a 2D plane

I'm working on a game in which cards are placed on a table and then rendered in augmented reality. These objects have 3D physics attached to them which doesn't work as well if they are either rotated ...
1
vote
1answer
46 views

Unity UI Input Field suddenly malfunctioned

I'm using Unity 5.0.1f1, and my UI Input Fields are not working as they are supposed to. I have an Input Field that is placed in a Panel and inside a Canvas. It has a Text component in which I can ...
1
vote
1answer
49 views

Proper way to divide a 2D climbing animation in Unity3D

I've got a 2D character that's going to climb up a 2D tile to his left or right and I've got a climbing animation consisting of three parts essentially: Animation for the character going from ...
0
votes
0answers
34 views

Why isn't Unity rendering this model correctly?

I'm trying to render an imported Blender model in Unity, but I keeps rendering really strangely. Here's a screenshot with relevant info and details. This weird error doesn't just happen with ...
0
votes
0answers
8 views

Unity rigidbody not moving [closed]

I'm developing a program in unity but I can't seem to get my guy to move left and right. The code I'm doing for it I think is correct. He has a rigidbody component attached to him and the script ...
2
votes
0answers
38 views

How do you add turbulence to a particle system using noise?

I have implemented a basic particle system using transform feedback in openGL, hoping to replicate a dust cloud. I have looked at methods of adding turbulence, such as vortices found here. But they ...
0
votes
0answers
32 views

How to get GestureDetector to work?(Problem with GestureDetector class)

I am trying to write simple program which would get input from user by swiping in four capital directions. I'm extending GestureDetector.java from libGDX and overriding fling method, but no matter ...
0
votes
1answer
82 views

How would I check the range against the entirety of an enemy object, and not just it's transform.position?

I want to be able to do range checks against the entirety of an enemy object, and not just it's transform.position. The enemy object can have it's side or nose within range, but range detection will ...

15 30 50 per page