Need help with my event sheet.

Discussion and feedback on Construct 2

Post » Tue May 07, 2013 11:18 am

Hi guys, I'm new here, as well as to construct 2. Would really appreciate some help!

I'm working on a school project...

For this project, I have 2 problems:

Firstly, I need to make the Iodine dissolve in Alcohol and Partially dissolve in Water. I managed to do for Sugar and Salt in the even sheet as both Sugar and Salt actions are similar but there seem to be a problem when it comes to Iodine. It seems like the actions are opposite. It follows the actions of Sugar and Salt.

Secondly, I have not add in Flour_Drop action in the event sheet 'When the Spoon drop on Beaker' yet but it actually automatically run and do the actions that are for Sugar and Salt. It should not happen that way as Flour should not dissolve in Water or Alcohol.

I've tried many ways include Else method and Sub-Events. It seems like the drops are "link" to the beaker. How can I solve my problem and do different actions for different solute?

Take a look at my project here: https://www.dropbox.com/s/zejjt2dn5gpu9cp/SolubilitySuspension%20-%20Copy.capx

By the way, I use a green sprite for Partially Dissolve :)
B
3
Posts: 5
Reputation: 312

Post » Tue May 07, 2013 9:25 pm

You are assuming that making the "drop" sprite invisible means they don't overlap. That is incorrect. They still overlap (since they all overlap from the start). You need to destroy all of the 'other' drops when the active drop occurs, to get them out of the way. Then you will find that your Sugar & Salt drops don't work as they are ANDing. You need to break these out into a sub-event with an OR, and then perform your actions.

I have done the drop-destroy for iodine, and the OR change. Dropping iodine does nothing now. You'll have to sort out the rest.

partial fixblackhornet2013-05-07 21:26:11
ImageImageImage
B
67
S
19
G
122
Posts: 3,206
Reputation: 73,399

Post » Wed May 08, 2013 4:01 am

blackhornet: Thank you so much!
It works and I managed to complete.Annisa122013-05-08 04:03:46
B
3
Posts: 5
Reputation: 312


Return to Construct 2 General

Who is online

Users browsing this forum: humanescape and 14 guests