ronm's Recent Forum Activity

  • Hello Minor:

    Thanks very much for that file! I've learned a lot from it, still need to dissect it a bit more.

    A few more questions if you don't mind. I need to have the user drag about 8 text labels to 'hot spots'. Is it better to create 8 text sprites and 8 hotspot sprites, or would it make sense to do what you have done and create one sprite in the editor that contains 8 frames, and put a different text label on each?

    Also when the tag is properly dropped the text feedback that is given - is there some way I can randomize that feedback... ie 'good', 'right', 'correct', etc? Is there any way to use a list or array in C2?

    Thanks again

    RonM

  • I'm new to Construct 2, I'm trying to implement a fairly simple drag and drop. On the left of the screen, there are 8 text sprites. On the right of the screen is a product label - the user must drag the correct text sprites to the correct position on the product label. If they release the text sprite in the wrong position, it should snap back to the left of the screen. If its in the correct position, it should get them positive feedback.

    I have the text sprite loaded and draggable. but I don't know how to evaluate a condition when the mouse is released. I am planning to put a full screen sprite on the lowest layer - if the text label is dropped there it should snap back to the left of the screen. On one layer above that I'll put 'target' sprites for each of the text labels, and if they are 'overlapping' when the mouse is released I would like to set the text X/Y to position it properly on the label.

    At this point I'm stuck on evaluating whether the user has dropped the text label over the correct sprite. Can anyone tell me what I should be using to evaluate that condition? I'm thinking something like this: "IF textLabel1 is overlapping TextLabel1Target THEN "good work!" ELSE snap it back to the labels start position"

    Any tips appreciated. Thanks

    Ronm

  • Try Construct 3

    Develop games in your browser. Powerful, performant & highly capable.

    Try Now Construct 3 users don't see these ads
  • I was just testing on a desktop computer, the game was running inside (embedded) in an HTML5 elearning app page. Everything is normally fast on this machine.

    RonM

  • Hello - I'm new and just evaluating Construct 2, I'm not a gamer (sorry to say that here!!) but really interested in building other types of interactions for training purposes with this tool.

    So far I'm very impressed with Construct 2 and motivated to do more. I've just completed the 'Beginners Guide to Construct 2' tutorial 'Ghoster Shooter' by Ashley (well written, Ashley!) and have run the game embedded within another html5 application.

    It bogged down however, and seized up, which I might have expected from Flash but not html5. I'm wondering if the system 'ticks' at 60 per second is doing this... I don't see a way to reduce the ticks but I might be missing how. I'm a bit concerned that this is a very simple game with no sound being used and it seems to be starving the memory. Is there anything I can do to try to reduce the memory issues?

    Thanks

    ronm

ronm's avatar

ronm

Member since 5 Jun, 2014

None one is following ronm yet!

Trophy Case

  • 10-Year Club
  • RTFM Read the fabulous manual
  • Email Verified

Progress

12/44
How to earn trophies