dop2000's Recent Forum Activity

  • You can't store loopindex or any expressions in JSON. Here's what I would do:

    JSON:
    {"line": "Hello to you in this example [offsetY=%] wavy text [/offsetY]."}
    
    
    Action: 
    Text Set text to replace(JSON.get("line"), "%", str(sin(time * 300 + loopindex * 90) * 8))
    
  • Construct still needs to load a lot of stuff before it can show your loading layout.

    You can add (or replace) images in Icons folder in your project, which will be used as a loading logo or app splash screen - click the file and change its purpose on the left properties panel.

  • Put it in quotes. And you value track is called "Value Track 1"

    TimelineController.Value("derptimeline", "Value Track 1")

    Or just spend 20 minutes reading about C3 arrays. Copy all values from global variables into the array. Sort it. Display on the screen, or copy back to global variables.

  • Are you saying that BBcode tags don't work when you store them in JSON? Can you show your code and JSON contents?

    You don't want to use instance variables and you don't want to use arrays. I don't have other suggestions for you..

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads

    I suggest using instance variables. See this example.

    Or copy all results to an array and sort it. Array -> Sort action

  • 4.7GB used by images is quite a lot! Definitely something that needs to be optimized.

  • I had a project that was over 8GB.

    yuiiella What happens when you click preview? If there is a black screen, press F12 and check for error messages in console.

    You can also open Task Manager and check how much memory the browser is using.

    Put them into an array and use Array Sort action.

    Or if these values are stored in instance variables (for example, Position instance variable on Car sprite) - you can do:

    For Each Car order by Car.Position descending
    .. Text append Car.Name & " " & Car.Position 
    
  • - set value at (0,0) to Food //name of the item 2

    Did you mean set value at (1,0) ?

    To list all items from the array you can do this:

    Repeat array.width times
     Append text: "-" &array.At(loopindex, 0)& " " & array.At(loopindex, 1) & " " & array.At(loopindex, 2) & "$ " & array.At(loopindex, 3) & "kg" & newline
    
    
dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 248 followers

Connect with dop2000

Trophy Case

  • 8-Year Club
  • Entrepreneur Sold something in the asset store
  • Jupiter Mission Supports Gordon's mission to Jupiter
  • 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
  • Forum Wizard Made 5,000 posts in the forums
  • Forum Unicorn Made 10,000 posts in the forums
  • x4
    Popular Game One of your games has over 1,000 players
  • x2
    Coach One of your tutorials has over 1,000 readers
  • Educator One of your tutorials has over 10,000 readers
  • 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
  • x3
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x13
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

28/44
How to earn trophies