dop2000's Recent Forum Activity

  • There are several ways you can do this, for example:

    Object Compare instance variable Value not equal 1 -> (no actions here)

    Else -> Do something

    Another method:

    Object Compare instance variable Value=1

    ....Object.PickedCount=Object.Count -> Do something

  • I'm available for more work!

    Email me: doperst2006 (at) gmail.com

  • Dictionary in C2/C3 is "one-dimensional", it can only hold a simple list of keys and values.

    If you open your file in Firefox or any other program that can view JSON files, you'll see that it has a complex structure - there are 4 or 5 nested levels. You can't simply import this into a single dictionary, you will get a mess. You will need to develop some sort of a "database" structure with multiple dictionaries/arrays and the way to link records between them. This is not an easy task.

    There are a couple of plugins for C2 that allow to load and parse complex JSON files like this, but I don't know if any of those plugins were ported for C3.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • There must be an error in your code. Please post your capx file or a screenshot of your events.

  • MPPlantOfficial

    To open my capx saved in a later version, upzip it to a folder, open .caproj file in Notepad and edit this line:

    <saved-with-version>25703</saved-with-version>

    For example, if you have version 255, change it to:

    <saved-with-version>25500</saved-with-version>

  • What if there are two or more walls? How do you choose the closest route? This could be a very difficult task.

    Why don't you use the Pathfinding behavior? I understand you want to show the path in real time, but pathfinding works fast.

    See this example:

    https://www.dropbox.com/s/jocoq56vsfkg3 ... .capx?dl=0

  • Run your game in debug mode, check Array content, check SoalGambar sprites, variables etc.

    If this doesn't help, add debug output to your events (Browser->Log), to see which events are triggered and when.

    This is standard troubleshooting, you should learn to do it. I can't fix your entire game for you.

  • First condition:

    Keyboard-> On any key pressed

    Second condition:

    System-> Compare two values -> (Keyboard.LastKeyCode=49 | Keyboard.LastKeyCode=50 | Keyboard.LastKeyCode=51) =1

  • It should work.

    You'll need to install a plugin, there are a few available:

  • I haven't tried this, but it seems fairly straightforward to me.

    Pick the player with the lowest X

    Pick the player with the highest X

    Pick the player with the lowest Y

    Pick the player with the highest Y

    scrollTo X=(highestX-lowestX)/2

    scrollTo Y=(highestY-lowestY)/2

    To determine zoom level, use something like this:

    scale = min ( screenWidth/(highestX-lowestX), screenHeight/(highestY-lowestY) )

  • Try installing the latest version of C2. There were recent changes on how the audio is played in Chrome and old C2 versions may no longer work.

    Set preview browser in project properties (on the left panel), not in the program preferences.

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 257 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
  • 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
  • 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