608 reputation
125
bio website
location
age
visits member for 2 years
seen 5 hours ago

Dec
25
comment How to learn game programming from source code
Google game source codes for your desired language. Read it and try to understand what is happening.
Dec
13
comment How to access an animation properties from the animator?
docs.unity3d.com/ScriptReference/Animator.html look at the Functions and you will see SetFloat, SetBool etc etc... That is what you will be using
Dec
8
comment How can I move objects pixel by pixel in the scene editor?
I'm not sure about the pixel by pixel movement but I know if you are looking to snap objects together you can hold down the "V" key and vertex snap the objects together...
Dec
5
answered Unable to instantiate objects Straight in unity
Dec
5
comment Unable to instantiate objects Straight in unity
Are you attempting to place them all in line with each other in a vertical direction? You can't just use a nested for loop?
Nov
29
comment Getting child collider when collision occurs in compound object in unity3d?
Can you try to explain your concern a bit more because it seems a little unclear to me
Nov
28
comment Assigning multiple game objects to a single sprite (Unity)
Why not create a map editor instead of doing it the hard way? After you've created the map editor, you could save the tiles by giving them all an ID and writing them to a text file to load in the future... It would be a good learning curve and make things easier for you
Nov
25
answered How do I draw a tilemap within unity3d?
Nov
24
comment How to access multiple 2DTexture which is assigned in Unity3D inspector panel created by an array in C#?
You can have the board stored in a 2D array and check the adjacent tiles by a neat algorithm or just hard coded as board[x, y + 1] which checks the tile above the current tile... Understand?
Nov
20
comment GUI Text counter Skips numbers after a few seconds
We all have to start somewhere! :) Good luck
Nov
20
comment GUI Text counter Skips numbers after a few seconds
It adds a whole lot of numbers because your logic is crazy! If your character moves down the screen at the same pace every single time then why not just set your score to "(int)Time.time" which is the amount of time in seconds that the scene has been running for?
Nov
18
comment StartCoroutine function inside TriggerOnEnter2D not working - unity + kinect
No it doesn't but it constantly runs the OnTriggerStay method if your collider is continuously touching the object… The OnTriggerEnter method gets called once whenever the object first touches the collider… therefore, it will trigger on collision, wait 3 seconds and then check for the tag, which may be null due to the OnTriggerEnter method already being called
Nov
18
comment StartCoroutine function inside TriggerOnEnter2D not working - unity + kinect
Maybe try the OnTriggerStay2D method instead of the enter method
Nov
17
comment Resize gameObject when it has extended a restricted area
As in you don't want it to be seen outside of the cyan box... Purely aesthetic...
Nov
17
comment Resize gameObject when it has extended a restricted area
Is it essential for them to change size? or can they be masked?
Nov
17
comment How can I edit the components of an instantiated prefab?
Yes it is possible… but are you looking to make them change randomly over time? Or if a certain Input is detected? (mouse click etc…)
Nov
15
comment Load character instead of load level
Not sure if I understand your question but look up the Resources.Load() function to load an object through script... As for optimizing the collision code, if it works and isn't causing any frame rate issues then don't try changing it... If later on it causes issues then look into altering it.
Nov
15
comment Random Object in Array
I think I understand what you mean... Why not first create the red objects and place them at random positions in your grid and then populate the rest with random objects?
Nov
11
comment Touch sides of tablet, moves that direction
You could divide the screen and check for touch position in those areas and depending on which side of the screen the touch is on, move the player in that direction.
Nov
6
comment How to overlay texture materials on top of each other in Unity 2D tiled game
yeh the reason for changing was it was way too high above my pay grade to figure out a way to manage it all... Well I can generate 10 x 10 (100) chunks of 16 x 16 (256) which amounts to 25,600 individual tiles, and the only performance hit I get isn't too extreme (20-30fps).. but when I am instantiating the new chunks and removing the old ones it gets lower (5-10fps)... Btw, this was a test to check the limits and the terrain usually only renders 2 x 2 chunks which are the only chunks visible :) (120+fps)