Matthew de's Forum Posts

  • When I export to HTML5 the font style does not carryover. The game displays Ariel font instead of any font of my choosing.

  • Ah, yes, something else was wrong. I was having the global variable reset too early.

    Thank you

  • For some reason the system doesn't allow me to use a global variable in addition to the 2 ranges as shown above.

    When I try:

    set value at (SelectedPlayer,loopindex("Players"),loopindex("Stats")) to 0

    It does not work.

    When I try:

    set value at (8,loopindex("Players"),loopindex("Stats")) to 0

    It does work.

  • Excellent!

    Regarding two ranges at the same time is this correct?

    gif uploader

  • This is a good tutorial for arrays. It even shows an example of the insertion that you are trying to achieve.

    https://www.scirra.com/tutorials/307/ar ... ers/page-1

  • I am trying to zero out a specific range in my 3D array.

    example: array> set value at (1,5,0) to 0

    But instead of just the single Y5 location in the example, I want to set Y5 through Y20 to 0.

  • That worked perfectly. Thank you.

    It ended up looking something like this:

    text>append: ""&round(100*.3333333333)

    Resulting in: 33

    Multiplying *100 was needed to move the decimal over 2 places.

  • I am working on a Statistics page and I need a nice clean looking percentage value.

    I am able to get an exact percentage using the divide operator, but in the case of 30% of 100, I am looking for a non-decimal value of "33" not ".33333333333333...".

  • Also, it would be very convenient, after right clicking on the object, if a drop down menu would also give you a list of multiple event sheets that reference the object. You could then perform the search within the selected event sheet.

  • It would be convenient if when right-clicking on an object in the layout window, you could choose to search for all the occurrences of that object in the associated event sheet. High-lighting the object's text within the body of the event sheet would also be VERY helpful.

    It would essentially be a shortcut for the search event filter on the event sheet.

    Currently, if you have a lot of similarly named objects, you have to manually type in most of the name to find the needed object.

  • I think it adds to the confusion that the layers are named "layer 1", "layer 2", etc. But when you actually refer to a layer by number using 1,2,etc , you are referencing the level number, not the similarly NAMED layer.

  • That's exactly it! When I add the first quotation mark, the available layer names are automatically listed in a drop down selection.

    Thank you very much!

  • Thank you very much!

  • How do I make a variable boolean act like a system wait?

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I have names for all my layers, but when I try to specify which layer to spawn an object on, it only allows layer level numbers (the ones that number the bottom up, starting at 0).

    The parameter box is prompting me to enter "The layer name or number to create the instance on", but only level numbers are allowed.

    What am I missing?