lionz's Forum Posts

  • Yeah use a for loop for 0-50. Then compare at xy, where x is 0 and y is loopindex. It'll run through all Y and check for whatever value you put in. Or just alter that functionality to do whatever values you want with a loop, I guess for yours you run the loopindex on x and compare against y=1 or y=2.

  • It wouldn't, I didn't realise you were filling it with numbers. You can probably limit it to the Y axis somehow, I'll take a look. There's a for each element check as well where you might be able to compare at Y only.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 'Contains value' is a check throughout the whole array that a specific item exists, is that what you want?

  • Did you try the dismissed method? Seems like it might work.

  • You mean you are looking for a team? There's a different section of the forums for that.

  • Link is broken. (yes with * removed lol)

  • Setting timescale to 0 does pause the game. Whatever your time variable is though, at the point where you want it to be stored set the time to a global variable something like CompleteTime so it is static and then display the global variable, that way time can continue but you have the completion time.

  • In general I think it's better to use an array for an inventory. I've had this issue before, I started off by using a physical style inventory where you compare animations and if slot is full by instance variables and the events begin to snowball. It is much easier to use an array and relate it to co-ords in an inventory. That way you can check what value is in the array 1,0 2,0 3,0 etc and match with the item you want. It also cuts down on events. If you want to use your current method I'll have a read of your essay in a bit

  • Yeah that post is good if you want to make your own from a sprite. There is also a built-in progress bar in C2 which you can try.

  • Well swapping will occur every time because you have no checks for if it would be swapped onto a wrong item space. The other issue is the same, there are no checks against is a sword trying to be put onto a helmet space. The latency, no idea seems fine to me.

  • Do you have any examples of what you mean?

  • Yes that was just how I would block out the collection of the star on load. You could also toggle a variable on the disc that the player starts on, many ways to avoid it.

  • Should be simple enough

  • What are you trying to do?