dop2000's Recent Forum Activity

  • R0J0hound will probably have the correct answer for you.

    My dumb idea is first to calculate the total curve length and segment length. Then run the loop again for the same curve, calculating distance from the starting point along the way. Once the distance exceeds segment length, draw a dot and reset the distance counter.

  • Here is a library which can parse and solve math expressions:

    mathjs.org/docs/expressions/parsing.html

  • You need to upload it to any file sharing service - Google Drive, Dropbox etc. Then generate a download link and post it here.

  • To add to my previous comment - the reason why other character were tripping was probably some minor differences in their animations. If one frame is just 1px bigger or smaller, or the origin point is misplaced, this could cause such problems.

    When using animated sprites, make sure that origin points and collision polygons are identical in all frames. Or create a separate (invisible) sprite, with just one frame, which will act as a character base with Physics behavior, and pin your animated sprite to it.

  • You should mention that you are using Construct 2, because the solution may be quite different from C3.

    For some reason you have rectangular collision mask for the bird, and circular for crates. Shouldn't it be the other way around?

    After I changed the collision masks, the bird slides fine for me. It bounces up a little bit sometimes, but its horizontal velocity remains constant.

  • It's difficult to speculate what could be wrong without seeing the actual project. You can try helping the object to slide better by applying a small force to the front of it, directed upward.

    Also, enable "Show collision polygons" in layout properties, and check "Collision mask" property for physics objects.

  • Have you tried enabling "Prevent rotation" in physics properties for that object?

  • Creating another family is the easiest solution.

    You can make your code shorter:

    For each Objects2
    Objects2 Pick Own children Objects
     For each Objects 
     	Set variable children to (children=""?"":children & ",") & objects.object_id 
    
  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I assume I can use the same tilemap for multiple layouts

    Yes, you definitely can. Are you by any chance destroying and re-creating the tilemap object in events? This would explain why the tilemap doesn't show the edits from the second layout.

    If this is not the case, please post your project file.

  • That being said, I did notice a huge difference in the snappiness of the javascript code as opposed to events. It felt like a completely different engine and I had never felt that kind of responsiveness from this engine before.

    I tested two templates for Ghost Shooter (event-based and JS-based), and noticed no difference. As others have mentioned, events in C3 are interpreted to JS, so for most of them there shouldn't be any difference whatsoever.

    In other words, re-creating functionality of C3 standard plugins and behaviors with JS would be a waste of time, because the engine already does this for you.

    I only use JS when I need features that don't exist in C3, or when processing huge arrays, for example image data of a large drawing canvas.

  • No, not the entire app. If you want to offer your game on Google Store, then there it should be.

    I meant your game can download some assets like level maps or graphics from your server. Like I said, it's not going to be an easy task, and for some games this may not work at all.

    I don't know if any such tutorials exist, sorry.

dop2000's avatar

dop2000

Online Now

Member since 26 May, 2016
Last online 18 Oct, 2026

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