How do I Automatically Insert Array at Front & push the Rest

Get help using Construct 2

Post » Fri Jan 23, 2015 10:19 am

How do I automatically Insert a value into an Array at Front & push the rest to the back, and the last one deleted.
Let's say I have 8 spots in X dimension:

X 0 1 2 3 4 5 6 7
B
10
S
5
Posts: 220
Reputation: 1,464

Post » Fri Jan 23, 2015 2:17 pm

Push onto the front and pop from the back.
push_front_pop_back.PNG
You do not have the required permissions to view the files attached to this post.
B
55
S
29
G
19
Posts: 1,520
Reputation: 25,680


Return to How do I....?

Who is online

Users browsing this forum: kriand and 8 guests