dop2000's Recent Forum Activity

  • You need to execute "DrawingCanvas Save snapshot" action, wait for it to complete, and then you can read pixels with expressions, for example:

    DrawingCanvas.SnapshotRedAt(10,20)

    DrawingCanvas.SnapshotGreenAt(10,20)

    DrawingCanvas.SnapshotBlueAt(10,20)

    DrawingCanvas.SnapshotAlphaAt(10,20)

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Move "Button on clicked" condition to event 2. Otherwise this event is running on every tick, sending data to the spreadsheet 60 times per second.

    .

    I don't know why there is an error, try to re-create the script again, following each step from the tutorial closely. It's important to publish the script when you make any changes in it, and select "version=New" every time you do it.

  • Here is my version, you can choose any number and the wheel will spin to it.

    dropbox.com/s/urehb4tsgeq816j/WheelOfFortune_Predictable.c3p

  • There are many things wrong on your screenshots.

    First, you don't need counters like animal_pos, use loopindex expression instead.

    Why do you have 2 delimiters in the text file - "|" and ";"? You can remove one. Also, I believe most of the issues with sorting and displaying data are caused by invisible characters - line breaks and spaces. You need to use trim() expression. So, if you remove "|" characters, your code should look like this:

    For "n" from 0 to tokencount(AJAX.LastData, ";")-1
     Array set value at loopindex to trim(tokenat(AJAX.LastData, loopindex, ";"))
    

    Finally, it would be easier to load a JSON file directly into the array. Right-click on Files, choose "Add -> Array". Then you will be able to load this file using a single "Array Set from JSON" action.

  • The addon "Event trigger" is using a deprecated feature, which has been removed from Construct. You can't use this addon and you will not be able to open the project unless you remove the addon from the project files.

    If you can open the project in Construct 2, remove the addon there.

  • May be an issue with your graphics card, try updating video drivers.

  • Did you set preview browser to NWjs in the project properties? Start the preview and if it shows black screen, press F12 and check if there are any errors in the console log.

  • Instance and global variables serve different purposes. Asking which one is better is like asking if dogs are better than horses.

    construct.net/en/make-games/manuals/construct-3/project-primitives/objects/instance-variables

    construct.net/en/make-games/manuals/construct-3/project-primitives/events/variables

  • Maybe it has nothing to do with your situation, but I had an issue in my game on iPhone when after playing a short sound, all other sounds stopped working.

  • Make sure you don't have very short sounds (0.1s or shorter). There is a bug in IOS, when audio stops working if you try to play such sound.

  • Here is a simple way to shuffle a deck of cards:

    Demo

    If you need to save the order in an instance variable, you can then do "For each Card order by Card.ZIndex -> Card set Order to loopindex"

  • Necroposting doesn't seem like a good idea to me. Most of those questions are not relevant anymore to people who asked them. And all these old posts will be littering the first page..

    I suggest making tutorials, it's a great way to help the Construct community!

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 280 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