Quantcast
Channel: Questions in topic: "repeat"
Browsing all 137 articles
Browse latest View live

repeating textures (how to solve it)

Ok, so seamless textures are a common thing to use...correct me if i"m wrong on that So we have a grassy plain, or even a mountain...anything using a texture that looks like it repeats. What are the...

View Article



Texture Tiling Stopped Working in Unity 4?

In Unity 3.x, when I adjusted the "Tiling" value (X and Y) of a material's texture, it would then repeat the texture in that dimension that number of times; eg. when you set the "x" to 5 for a diffuse...

View Article

How do I repeat a part of my script?

I want to repeat a part of my code: function Start(){ guiText.material.color.a = 0; yield WaitForSeconds(3); FadeIn(); } function FadeIn(){ while (guiText.material.color.a 0){ guiText.material.color.a...

View Article

Spawning different objects

Hey i've got a problem with spawning randomly objects out of a prefab folder on my screen that is being replaced after it passed the player. The names of the objects are: wall1, wall2, wall3. This is...

View Article

Alternatives for a looping title scene

I am designing a title screen for my game. I have a number of 3d models which I wish to just fall down the screen at varying rates. I can obviously literally make this scene with a script to spawn a...

View Article


Problem with triggering repeated audio on entry and ending it on exit from...

I am trying to set up a script that will trigger an audio clip when the First Person Controller Player enters a trigger zone described by a mesh collider. The mesh collider is set with Is Trigger...

View Article

Add repeating object

Yo, so i really want to add object that will repeat like in Flappy Bird ![alt text][1] [1]: http://i.perezhilton.com/wp-content/uploads/2014/03/flappy-bird-gif.gif Those green block that repeat when...

View Article

How to do that?

Hello, since I didn't get any good answer anywhere I want if someone can help mi with this: I have 4 platforms, when I pass by all of them with my player I want that in the position before my player...

View Article


how to create a reward system when you level up

okay i have a question and answer game and i want a reward system for it, just like for example after making it to level 10 I want a pop up label that will show that after you cleared level 10 you will...

View Article


audioclip repeat randomly

Hi everyone, i'm trying to create a script where if you touch a gui.Button, an audioclip plays randomly, for instance, if you touch the button, the audioclip plays four times, if you touch it again,...

View Article

My animation keeps on repeating on my animator

my problem is my animation keeps on repeating on my animator here's the screen shot ![alt text][1] [1]: /storage/temp/30525-first+condition.png okay the problem is when WrongAnswer = true is executed...

View Article

Using triggers to repeat basic scenes

I'm creating a very basic "jetpack" type game as a way of learning Unity and scripting. My method of making an endless level is by a) spawning obstacles at a distance from my jetpack guy and b)...

View Article

Random Positions without Repeating

Hi everyone, i want my objects to spawn at random positions without repeating the same position. For example there are 7 locations and and i basically want them to shuffle. I tweaked the Spawner script...

View Article


Mathf.Repeat How to check whether it's repeated

value = Mathf.Repeat((float)ts.TotalMilliseconds/RefreshTime, 1); Hi, how to check if the value is repeated from 1.0 back to 0.0? So I can do something like eliminate enemies in the scene every time....

View Article

Object repeat player

Anybody have an idea how to make an object repeat what the player did? Example: I started the level, then later on i died. Now i respawn and there is a object that repeats what i did last time.

View Article


Array value repeating

I have this function that should give back non-repeating numbers (no output should be the same). It does that just fine, and have proved it myself through a Debug. However, I encountered a strange bug...

View Article

What's the difference between clamp and repeat textures?

By logic, setting a texture to "repeat" should repeat the texture. So why do I get no difference between clamp and repeat settings when I apply a texture to a cube and scale the cube? This feels like a...

View Article


Trying to Loop A Function

Hi, I am trying to loop a function and invoke repeating doesn't fit with my needs. I am trying to use a while loop but no matter what I try it crashes Unity. Here is an example of the current code:...

View Article

Unity3D - Ammo Texture repeat

hello everyone, i have simple question is there way to repeat Ammo depend on INT? i mean for example i have Public Int Ammo = 20; i want to draw GUI Texture [of Small Bullets] 20 Time and Thanks

View Article

Show GUI.Button press state by keyboard input?

Is it possible to for instance press a key and then put a repeatBtn/guibtn in the 'down/pressed' state while the user holds or taps the key? I want to add that extra touch of feedback while I'm...

View Article
Browsing all 137 articles
Browse latest View live




Latest Images