How do I access multiple frames of an instance

Get help using Construct 2

Post » Thu Apr 16, 2015 6:20 pm

Hi all this is my first post here :D Im trying to pick the frame i want out of an instance

instance variable = allblocks
value = choose (0,1,2,3,4,5)

above only gives me random of the frames above, i want to be able to pick each frame to show and show some frames twice is there away to do this.

Thanks Dave :D
B
3
Posts: 4
Reputation: 183

Post » Thu Apr 16, 2015 7:52 pm

Something like this?

Add an instance variable boolean picked

Pick all blocks
> set frame to = choose(0,1,2,3,4,5)
add local variable FrameNr = 0
repeat 6 times
- pick random instance blocks
- boolean picked is false (inverted true)
> set frame to framenumber
> set boolean picked to true
> add 1 to framenumber
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775

Post » Thu Apr 16, 2015 7:56 pm

Thanks for the reply :) I'll try that out thanks
B
3
Posts: 4
Reputation: 183

Post » Fri Apr 17, 2015 10:36 am

Still not getting it i need to be able to pick say frame 1 and show 2 times pick frame 4 and show once and so on
B
3
Posts: 4
Reputation: 183

Post » Fri Apr 17, 2015 10:38 am

dont want them showing random frames need to pick which ones i want and show up to 10 frames at once if that makes sense cheers
B
3
Posts: 4
Reputation: 183

Post » Fri Apr 17, 2015 12:02 pm

Trying to understand:

You don't want random frames.
Do you want random instances to show the frame or do you already know which instance to show which frame?
I told my dentist I had trouble with my teeth and asked her to fix it without looking in my mouth..
B
54
S
16
G
8
Posts: 6,160
Reputation: 19,775


Return to How do I....?

Who is online

Users browsing this forum: Darknessed, shubhamrathi9, surendhra, tetuan and 11 guests