Can some help to fixed thes

Discussion and feedback on Construct 2

Post » Thu Oct 03, 2013 4:55 am


can some help please ..i just want to make evry number to change somthing when every level is complete..

https://dl.dropboxusercontent.com/u/110483764/for%20kids.capx

http://www.youtube.com/watch?v=lTixyVO-pHE
B
12
S
1
Posts: 31
Reputation: 607

Post » Thu Oct 03, 2013 5:06 am

Let's make "NumberOfFinishedLevels" global variable

at the begining it is "0" (coz no levels finished)

on levels even sheets:

when first level finished System "add" value 1 to "NumberOfFinishedLevels" = so it has "1" now
when second level finished System "add" value 1 to "NumberOfFinishedLevels", so it has "2" now
when third level finished System "add" value 1 to
"NumberOfFinishedLevels", so it has "3" now

on menu eventsheet

if "NumberOfFinishedLevels" = 1 then i.e. make visible image of goat (near 1)
if "NumberOfFinishedLevels" = 2 then i.e. make visible image of goat (near 1) and i.e. cow (near 2)
if "NumberOfFinishedLevels" = 3 then i.e. make visible image of goat (near 1), and cow (near 2) and duck (near 3)

and so on
B
18
S
7
G
1
Posts: 783
Reputation: 4,247

Post » Fri Oct 04, 2013 6:36 am

@szymek thank you very much i think its working
B
12
S
1
Posts: 31
Reputation: 607

Post » Fri Oct 04, 2013 6:43 am

@phepot your welcome
B
18
S
7
G
1
Posts: 783
Reputation: 4,247


Return to Construct 2 General

Who is online

Users browsing this forum: No registered users and 5 guests