lionz's Recent Forum Activity

  • Music is loaded as you play it. For the sound effects you can disable the 'preload sounds' project property so they are not all loaded at the start of the game, then you can use the preload action to load the audio content you want. Later you can also unload it if for example you switch to that different environment and you no longer need that audio.

  • If you are referring to sprite creation why have you blurred out the important events? When you create an instance yes you need to wait until next tick for it to be available.

  • It's always difficult picking with the same object however if you change it to 1 when touching the green it does mean it's different. A second variable might also be useful to differentiate it from the others to work out what's happening.

    One way is to use system pick nth instance 0 and 1 in the overlap of red and red. You might be able to compare 0th instance where variable changed and then pick 1th instance and change that variable.

    Another way that is to put red sprite in a family. Then when you change the red sprite that is touching green to 1. You can say if family where var=1 (the red sprite) is overlapping red, then change red. This successfully picks the other red sprite as the first one was picked as family.

    They are the two ways I know of to do this.

  • Do you mean all red sprites or only red sprites that are touching the one that was touched by the green sprite?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Yes it's called an 'array file' on the side bar and looks like an excel sheet with rows and columns. You can fill it out there and load this file into the array on start of layout using AJAX, request file then load into array ajax.lastdata

  • It's about conditions and picking of instances. Depends how you structured your events. If for example you add a condition that one overlapping the player dies then only this one will be destroyed.

  • Well you are almost there because you are using random for the x, it's create object at y = random(100,300)

  • I'm not sure if by polygons on animation you meant collision but check the collision box and make it a box shape. Note this can change per frame of an animation so apply to all frames/animations.

  • The best way could be to use an array and store the answers. If it's always going to be numbers then you don't need to store the numbers and instead use the row number of the array as the number with the answer stored. If the question is going to be eventually something other than a number then yes store question and answer using two columns.

    To pick the random number you would generate using something like floor(random(100)) which picks a random number from 1 - 100, then grab the expected answer from array position - array.at(num) where num is the number you just generated. So if the number is 18, array.at(18) picks the answer from row 18. If you stored both the question and answer then you'll need to also pick the column so array.at(num,0) is question and array.at(num,1) is the answer.

  • Your post is so big but still doesn't really say what you want help with. Do you mean you want to check if a user speaks correct Spanish?

  • You need to destroy the object when you pick it up, and create it when you drop it.

  • I guess this event wasn't true when you were testing it? Did the above suggestion fix it?

lionz's avatar

lionz

Member since 5 Aug, 2013

Twitter
lionz has 75 followers

Trophy Case

  • 11-Year Club
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • Forum Contributor Made 100 posts in the forums
  • Forum Patron Made 500 posts in the forums
  • Forum Hero Made 1,000 posts in the forums
  • Forum Wizard Made 5,000 posts in the forums
  • Regular Visitor Visited Construct.net 7 days in a row
  • Steady Visitor Visited Construct.net 30 days in a row
  • Enduring Visitor Visited Construct.net 90 days in a row
  • Unrelenting Visitor Visited Construct.net 180 days in a row
  • Continuous Visitor Visited Construct.net 365 days in a row
  • RTFM Read the fabulous manual
  • Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

24/44
How to earn trophies