dop2000's Recent Forum Activity

  • You link doesn't work.

  • Do you have the same image point in all animations and in all frames?

    You can use Pin+ behavior to pin the weapon to imagepoint:

    Or you can do it without the Pin+.

    Remove Pin behavior.

    Add this event:

    System-> On every tick
       Weapon -> Set position to (Character.ImagepointX(1), Character.ImagepointY(1))
    [/code:3oj2deri]
    
    You might also want to update weapon angle depending on current animation playing or with something like this:
    [code:3oj2deri]   Weapon -> Set angle to (Character.ImagepointX(0), Character.ImagepointY(0), Character.ImagepointX(1), Character.ImagepointY(1))
    [/code:3oj2deri]
  • brunopalermo

    Wow, a real stress-test for my laptop!

    <1 fps and 99% CPU on highest settings!

  • I believe this is now resolved:

  • kellehk

    And... one more improvement <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    Dots can now fall many at once, they don't wait for other dots to stop moving.

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

    Pretty cool game by the way!

    You can improve controls a bit (especially if you are planning to publish it for mobile).

    Add another invisible sprite DotTouch, make it about 4 times bigger than the dot. Create a container with Dot and DotTouch for easier management, and pin DotTouch to each Dot on start of layout.

    Change your touch events:

    Touch -> On touched DotTouch

    Touch -> Is touching DotTouch

    You don't need to pick Dot inside the event, as it is in the same container, it will be picked automatically.

    And DotTouch will be destroyed automatically too.

  • Here is the file saved with version 244:

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

    Hint - CAPX is actually a zip archive. You can extract it to an empty folder, open .caproj file in a Notepad or other editor and change version in this line:

    <saved-with-version>24600</saved-with-version>[/code:1noq4x2f]
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • It works for me.

    All events ("On touched", "On tap gesture" and "On double-tap") work with the list on my Android phone.

    The list looks different though, not the same as it is on PC.

  • (deleted)

    EDIT: Sorry, I misunderstood your issue.

  • RozekEnhance

    Is there an Enhance plugin for C2?

    If it's so great, why is it free, what's the catch?

  • Ok, I think I fixed it. Or at least made it slightly less broken <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    (link removed)

    I changed the way you select dots that should be moved (nearest dot which is above the cell) and I put the entire "For each cell" loop into a function, because I think it should not be executed on each tick.

    I call this function after a line has been completed or after all dots have stopped moving.

    It still uses pathfinding just to move dots, and not for its true purpose <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    You should probably replace it with MoveTo behavior or Custom Movement or something similar.

    Edit: Fixed a few more things, here is a new link:

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

  • I don't have much experience with Pathfinding plugin, but I believe it needs obstacles to find path around them. Otherwise there is no point in having it. As soon as I add solid behavior to your cell sprite, dots start falling to emptied slots.

    EDIT: sometimes they start falling, sometimes not.

    I still don't quite understand how the pathfinding behavior is supposed to work in your code.

    If you want your dots to move to a free cell, I think you need to fill occupied cells with transparent hexagonal solid blocks and then use pathfinding to find path between them.

  • I think you forgot to add solid behavior to your Cell.

    Or change pathfinding Obstacles property to Custom and add obstacles with events.

dop2000's avatar

dop2000

Member since 26 May, 2016

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