Drag-and-Drop or Display Issues
Hello everyone,
I would like to get some advice on a project I'm working on. I will share my file with you so you can better understand it. If you have any suggestions or alternative ideas, I would appreciate it if you could share them.
The project illustrates an iceberg representing a person. The items numbered from 1 to 8 will be replaced by qualities, values, or other characteristics that the person can move if they apply to them. For example, item #1 could be replaced by “I love traveling.” If the person likes to travel, they move this item onto the iceberg, and so on. I have created a semi-transparent rectangle with 8 states to represent the water level. The displayed number is the result of the nb_items
variable used for testing, but it will be removed in the final version. This variable changes depending on the number of items moved onto the iceberg.
Test #1 (Drag and Drop)
I have set up a drag-and-drop activity, where the drop zone is above the iceberg image. When I drag an item onto the iceberg, the water level changes according to the nb_items
variable. The main issue I’m encountering is that when I remove an item from the iceberg, I’m unable to subtract 1 from the variable to adjust the water level. One positive aspect is that the items are positioned at the top of the drop zone and return to their original location when removed.
Test #2 (Rectangles)
Here’s a version without the drag-and-drop functionality. The drop zones are rectangles with no background. In this example, the calculations work correctly. However, when items are dropped, they center within the respective rectangles, and the texts become unreadable because they overlap.
Do you have any solutions to resolve these issues and help me successfully complete my project?
Thank you very much for your help.
https://360.articulate.com/review/content/5f458ed2-24c9-462e-aef6-3eb248148db6/review