oosyrag's Recent Forum Activity

  • https://www.scirra.com/contact

    [quote:3ukraxbp]Problems with Issued Licenses

    Please send a copy of your license and a description of the problem to support@scirra.com.

  • Then set the current light layer with the same parallax as the background layer? Your problem is that you can't get the light on the light layer to match up with the moon's position right? It should work fine.

    An example capx may help.

  • Add a second light layer with the same parallax as the background layer.

  • Where are you loading from? AJAX?

    How are you changing the array? Are you sure that the array is not blank via the debugger before hitting download the second time?

    If you can provide a capx example of what you have done, it would be much easier to help you with your problem.

  • It is viewed unfavorably for you to bump your own topic within 24 hours.

    If your project is secret/complicated, at least you could make a new project isolating the issue you are having trouble with. You would be able to get help quicker and more accurate assistance.

    But from what I can see, the problem is:

    every 1 second - set value at (array.curx , 1) to array.curvalue - 1

    This should be array.at(array.curx, 1). See if that works?

  • You can download or save an array as JSON (basically represent your entire array as a single string), and then load hat later.

    Otherwise, if you are using a spreadsheet program to compose your data you can save to a format like .csv, include it as a project file, and parse it into an array with AJAX and the tokenat expression.

  • Ashley maybe it could be worth considering changing the layer field default for the System-Create Object action (and others?) to be the name "Layer 0" rather than 0?

    It would help in the situation where a user does significant work on their project, then decides to add a background or other layer beneath the initial one. Currently they would have to go back through all their events that created objects and update the layer field for each.

    The second benefit would be for those who don't realize you can use layer names to reference the layer at all, as it really isn't immediately obvious.

    I can't currently think of any situation where using the layer index would be preferable to the layer name.

  • For AJAX, recommend using dictionary object to store LastData, as you can use the AJAX.tag as your key. This allows you to create a single catch all event for any number of requests and tags, rather than having to create a specific event and condition for each tag/request.

    If you need history or logs, you can add a for each key event (with an incrementing counter) to push to an array. An additional step would be to add a comparison to check if the current key actually updated from the last pushed data in the array before pushing whatever is in the dictionary to the array (prevent duplicates/unecessary update).

    Sorry again for not having any ideas for websocket, I've never touched it and not familiar with the mechanics.

  • AJAX can support multiple simultaneous requests via tags, but no ideas for WebSocket.

  • This is addressed in the manual. https://www.scirra.com/manual/42/layers-bar

    [quote:1fffye9k]A number to the right. This is a zero based index of the layer (the first layer is number 0, not 1). If you need to enter a layer number in the event system, this is the corresponding number. (You can also enter layer names in the event system which might be more convenient if you regularly reorder layers.)

    Some quick experimentation reveals that to refer to a layer by name, you would use quotation marks, while a variable or other expression with the same name can be referenced without quotation marks.

  • There might a way to simulate it... just had an idea, didn't try it myself.

    Your list box can have a blank item. Have an event, when you select the blank item, to set focused a text box (invisible, or maybe overlapping the list). Upon finishing, add the textbox.text to a new list item.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It will be difficult for anyone to assist you without a capx to diagnose.

oosyrag's avatar

oosyrag

Member since 20 Feb, 2013

Twitter
oosyrag has 38 followers

Trophy Case

  • 11-Year Club
  • 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
  • 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
  • Email Verified

Progress

21/44
How to earn trophies