Facebook Twitter YouTube Frictional Games | Forum | Privacy Policy | Dev Blog | Dev Wiki | Support | Gametee


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
repeating+Adding on script looks impossible?!
Romulator Offline
Not Tech Support ;-)

Posts: 3,628
Threads: 63
Joined: Jan 2013
Reputation: 195
#3
RE: repeating+Adding on script looks impossible?!

Just a heads up;
+i works with a "For Loop".

For i = 1 < 10
Create "ball_"+i
Next

In this simple 3 line pseudocode, it creates a ball starting at one until nine, each being called ball_1, ball_2 etc. Because I have the +i and the For Loop, then we have declared what "i" should be.

Be careful as well when it comes to performance. While a cannonball is just a round, low quality object, having many of them can be pretty draining.

Discord: Romulator#0001
[Image: 3f6f01a904.png]
(This post was last modified: 05-21-2015, 12:34 AM by Romulator.)
05-20-2015, 11:52 PM
Find


Messages In This Thread
RE: repeating+Adding on script looks impossible?! - by Romulator - 05-20-2015, 11:52 PM



Users browsing this thread: 1 Guest(s)