dop2000's Recent Forum Activity

  • See my screenshot above -

    A sprite object in C2 can have many animations. Each animation may have many frames.

    You can have just one sprite named "Letters". When you double click it, there will be a small window with the list of animations.

    Create separate animation inside this sprite for each letter.

    When you add a sprite instance to your layout, you can select (on the left panel) which animation and frame of the sprite will be displayed.

  • I don't know any of the Japanese alphabets and have no idea which letters to choose.

    What I can say after a quick look at your project is that it's very inefficient.

    Your letters sprites are HUGE - 1367x1368 pixels each! This greatly affects performance, memory usage and project size.

    Resize them and add all to just one sprite as different animations.

    Then you'll be able to remove about 70 events from your "Letters" group!

    And your project will likely reduce in size from 26Mb to 1-2Mb.

    (image clickable)

    Also, you should name your objects correctly. You have about 150 sprites named "SpriteXXX", and a dozen of tilemaps named "Tilemap". How can you possibly find the right object in this mess?

  • Hi!

    I have many years of programming experience and quite good at troubleshooting.

    I can help to debug, optimize and fix your code in Construct 2 or Construct 3 project, or provide an advice if you are stuck with a complex task.

    I am also available to work on small projects (up to several days).

    My email: doperst2006 (at) gmail.com

    EDIT: I am currently working on a large game and temporarily not taking on new projects.

    Stan.

    Check out my super awesome game Doptrix, available on Google Play!

    If I've helped you on this forum and you want to buy me a cup of coffee, you can do it here.

  • You need to provide more information - instructions on how to play (not all of us here know Japanese ), how the game is supposed to work, what exactly is the problem?

  • There was another post about C2 running really slow:

    Surprisingly, all people who reported this have really good computers (top i7 cpu, many Gb of RAM, fast SSD etc.)

    I run C2 on two fairly old laptops with much lower specs and don't have any such issues .

  • Sure, next time I'm in the US

    Glad it helped!

  • I guess you need a server with a database of registered users, then use AJAX to communicate with this server.

    There may be ready-to-use solutions/plugins for this.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • , red dot shares 1px with the Bloc, it's enough to be considered overlapping.

    Here is the final fixed version, still with only 6 events:

    CAPX

    EDIT 2 years later: If anyone stumbles upon this post, here is a much better version:

    dropbox.com/scl/fi/lb74xg7m8ifq9nmd0ycvd/WalkAroundWalls2.capx

  • ,

    You know what, scrap my previous comment. Scrap everything!

    Here is an extremely simple solution:

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

    Yes, the enemy face hits the wall in corners a little bit, but it's a small price to pay for the simplicity! <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

  • Yeah, like I said this method is not very "universal". One small change in your latest version and the enemy sprite gets stuck:

    I think this idea might work better (inspired by maze solving algorithm) -

    Create an invisible square block (green) under each tile, slightly bigger in size.

    Move Enemy sprite along the edge of this green block, from corner to corner (clockwise).

    When Enemy is overlapping next block - "jump" to the next block and continue moving in straight line.

    If Enemy is overlapping two other blocks, pick the block which is to the left from the current movement line, and jump to this next block.

    This can actually be done without the green blocks, it's just easier to explain with them.

    Don't ask me for a demo, I've spent too much time on this already

  • Yes, MoveTo is an external behavior by Rex.Rainbow, very simple yet very useful. I'm surprised why there is no standard behavior like that in C2.

    You over-complicated things again <img src="{SMILIES_PATH}/icon_e_smile.gif" alt=":)" title="Smile">

    Here is an improved version with Sprite sticking to walls and moving in straight lines.

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

    Of course this example is far from universal, as it may not work correctly if the level configuration is different or if walls are thicker etc.

dop2000's avatar

dop2000

Member since 26 May, 2016

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