Random Objects

For questions about using Classic.

Post » Wed May 25, 2011 10:03 am

Hey there..

Need a quick shove in the right direction.. I have construct randomly generating sprites, but I want to be able to attach a plasma object to each one it generates and have it follow the sprite..

So far, using a For Each string, I can get it to create a plasma object everytime it generates one of these other sprites, but I cant figure out how to make the plasma acutally follow each one ..

Cheers for any help on this :)

Damo
B
1
G
1
Posts: 5
Reputation: 435

Post » Wed May 25, 2011 5:27 pm

I've never used plasma, but you could try this:
Insert New Event - System - Always
for that event click + new action
pick your plasma object and find Set position to another object
choose your sprite.

This should set position always (every tick) to your sprite
ImageImage
B
25
S
6
G
8
Posts: 773
Reputation: 6,643

Post » Wed May 25, 2011 5:28 pm

What you need is Containers:
http://sourceforge.net/apps/mediawiki/c ... Containers

If you still have any questions after reading through that, feel free to post them :)
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Thu May 26, 2011 1:06 am

Hey thanks for the help guys, will check them out!

Cheers!
B
1
G
1
Posts: 5
Reputation: 435


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 4 guests