WilliamJames's Recent Forum Activity

  • I am making a game with a large amount of audio files.

    While I'm aware that if ran through a browser the game will only download audio as and when needed, I really need to run it as an app meaning all files in the main build will have to be downloaded in the install, meaning a lot of space used up on users phones.

    I am looking for a way of letting the user download the audio files for the missions they need, as and when. ie code that makes a call for data over the internet, a bit like the ajax or WebSocket but for audio files rather than text strings. I understand that this can't be done in vanilla construct 2. However can anyone recommend an existing plugin that could be used to this end?

    Any help or guidance would be truly appreciated.

  • I think I may have confused myself and looked at the problem the wrong way.

    I can technically do what I've said above, by creating an assay family. But obviously it is easier still to just have the one assay and then load in the values for the mission required. Too much inside the box thinking makes you forget you can save things outside the box as well :p

  • I am trying to minimise my workflow and event length by having one event that pulls from an array. For example it pulls the first value from an array, that define the value of a variable and then after a wait the event repeats but on the next line down in the array. And I think I can do this with UID variables and basic array events.

    eg Set DataValue to array.At(value+1)

    However my game is going to have an array for every mission. And the limited knowledge approach would be to copy and paste the same event for each individual array.

    Is there a way to make an array the "active array" and then in the above event, refer every time to that "active array" while still using array events?

    ie get construct2 to place whatever array you want to use in front of the ".At" function.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • An event is just the name of the slot where logic code is placed. It is made up of the conditions on the left and the actions on the right. The conditions test whether the actions are executed or not. Therefore if there are multiple conditions in the same event all conditions must be true in order to execute the actions. So placing conditions in the same event is like placing "AND" between them.

    If you want your conditions to be "OR", so that any one condition being true (while the rest are false) executes an event, you will need to either place them in separate events or create an "OR" condition between conditions.

    https://www.scirra.com/manual/76/conditions

  • Haven't made a game like this before. However in the free e book: level 0 for C2 it goes over a jigsaw game. In it it confines the pieces within a box and gives each piece random angles and shoots it as a bullet to mix them up.

    My thoughts are that you could create the puzzle assembled and then randomly change the angles about 90 deg while making them all bullets. If done for a long enough time it could jumble up the puzzle, but only in a way that is repeatable to get back to where you started.

WilliamJames's avatar

WilliamJames

Member since 12 Jan, 2016

None one is following WilliamJames yet!

Trophy Case

  • 8-Year Club
  • Email Verified

Progress

9/44
How to earn trophies