How do I hide the objects for some time ?

Just started using Construct 2? Post your questions here

Post » Wed Jan 28, 2015 12:50 pm

Dear! What I have to do is to remove on object on some event and appears another at the same time in the same place , for example, there are four objects on the screen Apple, Ball, Cat and Dog, Now when user Drag "A" to the Apple which is the right answer, Apple + A both removes which i did and "B" appears at the same position where was "A" in the start, and another object like "Monkey" appear where was "Apple" and same from A to Z.
screen shot is attached.
In image both A and B appears but I want to show B when A is removed.
You do not have the required permissions to view the files attached to this post.
B
3
Posts: 4
Reputation: 183

Post » Wed Jan 28, 2015 2:25 pm

You can switch objects from visible to invisible and back try that in collaboration with a Global Variable
B
3
Posts: 6
Reputation: 187

Post » Fri Jan 30, 2015 9:32 am

I tried by setting as Visible and Invisible , but Once it becomes invisible then never appears untill I no chnage the propertyto visible,
B
3
Posts: 4
Reputation: 183

Post » Fri Jan 30, 2015 9:36 am

If you are working with sprites, you can play with the frames. For example, you can create one sprite for the letters and another for the animals, with the same frame order. Then, when you need to change both images you just have to change to the next frame (using a global variable that specifies which frame are you in) and you won't need to play with its visibility.
B
8
S
2
Posts: 13
Reputation: 544



Return to Beginner's Questions

Who is online

Users browsing this forum: No registered users and 0 guests