Android Keyboard English Only? How?
Hi all, How do I disable keyboard input android all languages ​​other than English? As well restrict all entry of of characters like (,., $% & * # @), Etc.
View ArticleRandom noise help
Im making a horror game , and i want to be able to hear a sound every 1 minute. But i have no idea how to make that kind of script, can someone help me out. It doesnt matter where it comes from i just...
View ArticleInput.mouse position on GUI Textures
I have 2 gui textures. According to screen width and height i kept it in gui. One for joystick and another for shooter. Now touching on shooter joystick moves to that specific portion. i used...
View Articlehow to acess Static variable in other scripts without extended functions?
must I really do a separate function for accessing other static variables and changing them? what IF I'd need to access 30 different static variables not for reseting. would I have to make 30...
View ArticlePlease help me guys, need some kick start info about IPHONE game development
I am good with C++ & JAVA, i want to make a simple game like CLASSIC BOUNCE.I want to target it to iphone(may be port it to android later).I am just a college passout who is interestd in GAME...
View Article2D Object gets blurry when moving
Hey! I am working on a 2D game, and I have a strange problem. While the game is paused, everything is crystal clear, but once the character starts to move, it becomes blurry. The source image is a .png...
View ArticleTurns-based game.
Hello. Read most of questions but didn't find an answer yet. I'm making a Tic-Tac-Toe game. For One player I just use yield waitforseconds, and random O pops up in the empty cell. But I'd' love to make...
View Articlemecanim tutorial camera tracking problem
I am going through the mecanim tutorial and ran into an issue with the main camera tracking the robot. On play, the main camera will drift to the center of the scene and stop. It will not move again...
View ArticleMoveTowards(ob pos,tar pos,speed);
Hi all, I'm trying to write a script that can move one object to another, i have tried the example on docs, it was working fine, but I want to write it a little bit differently, and then it doesn't...
View ArticleHow detect if particle collides with plane
I use Shuriken particle system and I need to detect if particle collides with plane in script. If there any way to do this?
View Articlewired calculation I don't get it 30-30 = 1.907349E-06
IF I use this: float TempPCF = CreateFloor.PerCreateFake*100f; float TempPSF = CreateFloor.PerStopFake*100f; int TempPCFi = (int)TempPCF; int TempPSFi = (int)TempPSF; Debug.Log(""+TempPCFi);...
View ArticleSphere Overlap EachOther
I have dynamically generated sphere at specific position. And when i shoot new sphere , i am assigning nearest empty position to collision contacts to that new sphere. You can see in my [previous...
View ArticleCall inspector editor script function from another editor script
Hi, [CustomEditor (typeof(TestClass))] public class TestClassEditor : Editor { float a = 1; float b = 2; public void sum () { Debug.Log (a + b); } public override void OnInspectorGUI () { a =...
View ArticleInfinite level
Hi there I want a C# Script which can create an infinite scene as i am making a car game in which the car is running and our aim is to move it left and right so as to collect coins and to stay away...
View ArticleUnable to assign Particle Emitter
Okay, so I've been doing some tutorials and playing around with particles. I've been trying to code particleEmitters for testing, however, whenever I try to assign the particle prefab I made, to the...
View ArticleDo you have to use GetComponent?
Im a bit confused on how to mimick behavior like transform. That is i know that if i make a script and i make the integers public and i make the functions public i can just type script.function(); or...
View ArticleHandling large scale data for traffic simulation
Hi, We are trying to find the most suited game engine for simulation of large scale data of traffic. Formerly, I tried a similar simulation to update thousands of objects that belong to pollution and...
View ArticleModify existing Mass Place Trees function?
I've used the mass place trees functionality lots of times and has been very useful but now I'd like to use it when I have water in my scene. Currently it places a lot of them below the sea level. I'm...
View ArticleSystemInfo.deviceUniqueIdentifier reinstall
My question is: will SystemInfo.deviceUniqueIdentifier stay the same if the user reinstalls the game? I suppose so, after all it is a **device** identifier, but I want to make sure it will.
View ArticleHow do i make an object spawn another one?
I want to be able to make an object i have spawn a copy of another one i have. I think i have to "tag" my objects so when i code they know what im referring to? how do i do this, when i go to change my...
View Article