oosyrag's Recent Forum Activity

  • On Next - > Set Sprite Animation to str("a"&int(right(Sprite.AnimationName,len(Sprite.AnimationName-1)+1))

    On Previous - > Set Sprite Animation to str("a"&int(right(Sprite.AnimationName,len(Sprite.AnimationName-1)-1))

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • 1 - Create app with 7 languages

    2 - Allow user to select language - save the selected language to a global variable

    3 - Display menu based on whatever language the global variable specifies

    4 - Save global variable to localstorage "languageSelection" key

    5 - On start of layout, if "languageSelection" key exists in localstorage, set global variable to "languageSelection"

  • This is a chrome issue I think, where it tries to be more efficient by not running things that are tabbed out.

    Last I heard this does not apply to tabs with audio playing, so that was the workaround. You can use a short silent loop.

  • Don't worry about the doorevents sheet, there are literally only 2 events of interest to you per layout - On start of layout, play music, and on exit stop music. That is all there is to it.

  • https://www.dropbox.com/s/9xiagn43k8po3 ... .capx?dl=0

    Are you sure your layouts are linked to the correct event sheets? Also try removing/disabling the second condition "Is not playing" and see if it makes a difference. Also make sure the "stop music" action happens before you actually change layouts.

  • [quote:18m3avq6]Placing objects in a container has the following effects:

    If one object in a container is created, every other object in its container is also automatically created.

    If one object in a container is destroyed, every other associated object in its container is also destroyed.

    If a condition picks one object in a container, every other associated object in its container is also picked.

    Containers do not care about layout arrangement. You should place and pin each object when any single object in the container is created (which creates all the other object in the container. You just need to add two extra actions to set the position. Imagepoints on your background object are useful for this, or you can use a specific offset from origin. I've shown both ways below.

    So on trigger:

    Spawn BackgroundPanelObject

    Set TitleTextObject to BackgroundPanelObject Imagepoint1

    Set BodyTextObject to position BackgroundPanelObject.X+10, BackgroundPanelObject.Y+30

    Pin TitleTextObject to BackgroundPanelObject

    Pin BodyTextObject to Background PanelObject

    All the correct relevant objects will be picked already because of the container, so it won't affect other tooltips if you have them on the layout.

  • Normally On AJAX completed, you store the lastdata into a variable. If your tag is unique to that button's data, just display that variable on button press.

    If you have multiple requests that may overwrite each other (same tag), you can push them into an array when completed instead, so that they are all stored in the order they are completed. Then when you click the button, you can read the last completed data from the last index of the array, or have some other way to choose the index to read from.

  • Not that I know of.

    Sometimes certain forum functions are disabled due to spam or other back end issues. Usually just temporary.

  • Set the x value in lerp(a, b, x) higher. Otherwise, there might be some other issue with the way you have it set up, which we can't know without seeing how you set up your events.

  • You can always use AJAX.LastData no matter how many requests you are making, as long as you are identifying each one with a tag. If you use the AJAX On Completed Trigger with the proper tag, AJAX.LastData within that event will have the correct data requested.

    You can save the entire lastdata/text contents into any variable, and how you want to break it up with tokenat after that is up to you.

  • We're definitely spoiled. I'm very familiar with the normal pace of software development, and even so I still got the feeling like it had been an abnormally long while since the last Construct update

  • No, although there are many techniques utilized to simulate 3d in a 2d engine, and there may be plugins developed to assist with psuedo 3d as well. Some of these plugins exist in construct 2 already.

oosyrag's avatar

oosyrag

Member since 20 Feb, 2013

Twitter
oosyrag has 39 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