dop2000's Recent Forum Activity

  • You can use Dictionary.CurrentKey and Dictionary.CurrentValue inside the "For each key" loop.

    If this doesn't help, please post a screenshot of your code.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Have you tried dragging and re-docking all bars in the window? Grab a bar, drag and drop it into a blue square. You can do the same with the main area, where event sheets and layouts are shown.

  • The easiest method I know is to replace line breaks with some tag or a character, for example:

    The quick brown fox^jumps over the lazy dog

    When you are loading strings into the array, or when you need to display the text on the screen, replace "^" with newline:

    Dialog Set Text to replace(RextFromArray, "^", newline)

  • Are you using Construct 2? You posted in a wrong forum.

    From my experience, Paster plugin works fine on Android.

  • Deleting all nwjs data didn't help.

    So I ended up changing my password, and this fixed the issue with crashing!

  • System action Set Global Variable MyVar to int(random(1, 10))

  • tarek2 Yeah, this happened after I tried running the latest beta in Desktop app. Now both stable and beta versions are crashing...

  • Please help! After I login, the editor immediately crashes (closes). nwjs process keeps running in Task Manager. This started happening today..

    I updated NWJS to latest version, tried Storage Cleanup, but it didn't help.

    How can perform a "deep clean" of NWJS cache and other saved data? Is it safe to delete everything here?

  • Set the sprite invisible by default (in the editor). When the variable=1, set it visible.

  • how do I put in a an if or else function

    "if" is just a pseudocode. Use "System Compare variable" condition. And to add "Else" step, select that condition and press X on keyboard.

    when I run it like this it just displays a 1 when I click the button

    Maybe the text is too small? Also, the formula should be int(random(1, variable1+1))

  • aliiwhiite Don't use round() with random, it produces uneven results. To get a number from 1 to 1000 use int(random(1,1001))

    So the code should be something like this:

    Variable R=1000
    
    On button pressed
    ...Set R to int(random(1, R+1))
    
    .....Compare variable R=1 : Text set text to "You lost!"
    .....Else : Text set text to "Random value=" & R
    
    
  • I don't think it's possible without some manual editing of the project files.

    Note, that on export the folder structure will be flattened - all files will be moved to the root folder. So if you need to preserve folders in exported game, you probably shouldn't import them into the project.

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 279 followers

Connect with dop2000

Trophy Case

  • 10-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
  • x5
    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
  • x14
    Great Comment One of your comments gets 3 upvotes
  • Delicious Comment One of your comments gets 10 upvotes
  • Email Verified

Progress

30/44
How to earn trophies