dop2000's Recent Forum Activity

  • I think the correct formulas for opposite direction are these:

    Self.X - round(cos(Samurai.AngleOfMovement) * TileSize)

    Self.Y - round(sin(Samurai.AngleOfMovement) * TileSize)

    You can also use another variable - OppositeAngle.

    Set OppositeAngle to (Samurai.AngleOfMovement=0 ? 180 : Samurai.AngleOfMovement=90 ? 270 : Samurai.AngleOfMovement=180 ? 0 : 90)
    

    OppositeAngle will contain the angle opposite to the AngleOfMovement

  • What about using a bunch of replaces?

    replace(replace(replace(text, ",", ""), ".", ""), "?", "") etc.

  • The "stop loop" action doesn't work for loops like "Dictionary For Each Key" or "Array for each XYZ". It only works for System loops.

    What it does in your case is actually stopping the parent loop - "System for each MapLayer".

    See this post:

    github.com/Scirra/Construct-bugs/issues/4823

    If you want to stop the "Tilesets For each key" loop, use a variable.

    TileSets For each key
    Compare varStopLoop=0
    
    .. TileSets current value<mapTileid : Set varStopLoop to 1
    
  • ThresholdGames It's probably not supported, because Construct will have to create all objects on the global layer.

    lionz C3 supports dynamic layers now, you can add/remove/move them in runtime.

  • Make a copy of your project file. Rename its extension to .ZIP, unpack it to an empty folder. Check if "In eCena De Luta.xml" file exists and try to open it with notepad. Maybe it's slightly corrupted or the filename is wrong and you will be able to fix it.

  • OP is referring to this issue:

    construct.net/en/forum/construct-3/general-discussion-7/pinning-issues-147318

    Danwood Yes, Pin has the same problems in C3. You can use hierarchy instead, it's better in every way.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Moonstone Island is now available on Steam!

    Subscribe to Construct videos now
  • I don't know. "Pick all children" condition will definitely be useful. But it may not be feasible in Construct, because normally you need to specify particular objects/families for picking.

  • Well, there are no other options. With a family you can optimize some of the code. For example, if you want to rotate only limbs, you can add an instance variable to the family and after picking all family children, pick all limbs among them.

    Body Pick all FamilyParts
    FamilyParts type="limb"
    .. FamilyParts rotate
    
  • If you pick family instances in a condition, you are supposed to use the same family in all actions and sub-events.

    Body Pick all FamilyParts
    .. FamilyParts rotate
    

    Here the LeftHand instances are not picked, so all LeftHands on the layout will rotate:

    Body Pick all FamilyParts
    .. LeftHand rotate
    
  • I believe what you are looking for is families. You can add all body parts to a family and use "Body pick all BodyPartsFamily".

  • You can import CSV files into the project, there are addons that can convert them to C3 array. You will need to re-import the file every time it's changed though. Or save your project as a folder, then you can open/save CSV file directly in project folder.

    Another option is to simply copy/paste data from Excel into C3 array editor. This may be the easiest solution.

dop2000's avatar

dop2000

Member since 26 May, 2016

Twitter
dop2000 has 269 followers

Connect with dop2000

Trophy Case

  • 9-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

29/44
How to earn trophies