dop2000's Recent Forum Activity

  • And that's why I keep telling that the current votes system is stupid. I also need this feature, but I can't vote because I've ran out of votes a long time ago.

  • (CanvasToLayerY("ruler", LayerToCanvasX("river",race_flag.X,race_flag.Y), LayerToCanvasY("river",race_flag.X,race_flag.Y))

    This expression is correct. It will convert flag Y-coordinate from layer "river" to layer "ruler". Make sure that the objects are on the right layers.

    If it still doesn't work, please post a screenshot of your events.

  • You need to convert touch coordinates to canvas snapshot coordinates:

    Set snapshotX to round((Touch.X-DrawingCanvas.BBoxLeft)/DrawingCanvas.PixelScale)

    Set snapshotY to round((Touch.Y-DrawingCanvas.BBoxTop)/DrawingCanvas.PixelScale)

    And then use these variables to get the colors.

  • It is possible if you combine all sprites to a family. Then you can use this condition to pick family member by name:

    System Pick EnemiesFamily By Evaluate: EnemiesFamily.objectTypeName="enemy"&number

    But if you are going to use a family, I suggest defining an instance variable "EnemyType" on the family to make picking easier.

    You should still be able to open the project in C3. But you need the entire project folder, not just the .caproj file

    Use "Open Project Folder" option in the menu.

  • One step I perform for every animation after import is 'crop transparent edges'. Can this be another flag in the settings .json?

    You can import all animations first, and then crop edges for all animations with a single click.

    DiegoM Is it possible to add a search of filter feature to the list of animations? I have sprites with hundreds of animations and it takes a lot of time to find anything there.

    Even a very simple implementation will be quite useful - like in Windows folders when you press letter "B" on keyboard, the focus jumps to the first file which name starts with "B".

  • AnD4D

    Compare Two Values: layerIndex("name")>=0

    :)

  • Copies of the same sprite are called instances in Construct. Events like "Mouse On Object Clicked" will pick the clicked instance. And any actions inside this event will only apply to the picked instance.

    In your project you need to move events 17-21 inside the event 16 (make them sub-events).

    Also, I suppose your couleur variable should be an instance variable on the Spot sprite. This way each instance of the Spot sprite will store its own couleur value

  • You need to set the correct scaling mode and maybe use Anchor behavior for UI objects. Check out this tutorial:

    construct.net/en/tutorials/supporting-multiple-screen-17

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Like I said, you can't save to the same txt file in the project.

    A common solution is to save to Local Storage.

    When your app starts - first you check if there is a value in Local Storage. If there is, load it. If there isn't, load the default values from the txt.

  • Use this expression:

    Set myVariable to Browser.QueryParam("name")

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