Quantcast
Channel: Questions in topic: "loops"
Browsing all 184 articles
Browse latest View live

How to display a certain string out of array depending on a number?

Hello, I am trying to create a week system Monday through Sunday and I have these names in an array of string and I want them to be displayed accordingly to the number of that day. However, whenever I...

View Article


Bouncing projectile targeting (Sivirs W),Bounce bullet targeting

Hello I'm new to coding on General but I've been going at it for about a year on and off and I'm asking for help now that I feel like I'm understanding things much better. Goal = Make a bullet that can...

View Article


Which loop is best to find specific game objects in an array?

I’m recreating an old crash bash pogo game; I have 64 tiles in an array and they each have different materials attached to them allowing them to change to a players colour when collided with but now...

View Article

How would I generate a polygon collider from a continuous list during runtime?

I'm looking to create a 2d polygon collider using the vectors of a theoretically endless list of instantiated gameobjects, during runtime. I would just run a for loop through the members of the list...

View Article
Browsing all 184 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>