alastair's Recent Forum Activity

  • I can't get that to work for me? At least when the layer is 30% parallax, here is the equation I used:

    X: (fore.x + (OriginalViewportWidth*0.5) ) *0.3

    Y: (fore.Y + (OriginalViewportHeight*0.5) ) *0.3

  • Asmodean that works great! I couldn't figure out why the OriginalViewport was divided by 4 though? I understand that halving it would get to the center of the viewport, but when I tried to use other parallax values (e.g. 30%) I couldn't figure out an equation that would work in that section.

    dop2000 Ah that seems to work, a great simple solution, appreciate the assistance! 💖

  • dop2000 Thanks for reply.

    I don't want them to always be aligned. In my original post, I tried to explain that I only want the created objects to align perfectly when the player/camera is right on top of them.

    My 2 objects are not aligned when the're the player is in center of the screen

  • Thanks eberyone!

    dop2000 I forgot about that expression! But I can't figure out how to get it to work for me.

    It's not even on the screen any more.

    drive.google.com/file/d/1v9a1p3ylHrEfc0vhmqbMYPPLLK8PG2GF/view

  • Does anyboby have any ideas for what the maths would be to align 2 objects that are created on layers with different parallax?

    Here is an example project and a screenshot to illustrate the problem:

    capx drive.google.com/file/d/1dDEQJZhRHAB-9DqWdzLSLSFWF8SQxabX/view

    My 2 objects are not aligned when the're the player is in center of the screen!

    I made an old topic here on parallax maths, but I don't know if that helps me here or not: construct.net/en/forum/construct-3/how-do-i-8/parrallax-maths-142131

    Thank you for your help 😍

  • What's the fastest way for me to access the topics I've created, or replies I've made, on the forum?

    The profiles don't seem to allow this any more, am I missing something?

    (ironically, the fastest way was for me to make this topic, now I can acess them below my profile here! But making a post every time to quickly access this stuff seems a bit weird.)

  • dop2000 thank you very much for your help! ❤️ I'll report it immediately!

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • I realized yesterday that my "player on landed" code is being applied to my enemy sprites.

    When the player lands on a platform, it creates some particles, but this same code is being used for the enemies too!

    They're 2 different sprites.

    When I disable this event it stops the enemy sprite from creating sprites when it lands on platforms.

    What is going on here?

    It even positions the created objects correctly at the enemy.

    They're part of a family, but I'm not using any family code there.

    I tried recreating this in a fresh project, but the bug doesn't happen: the enemy sprite isn't triggering the "player on landed" code when it lands on the platform after jumping like in my real project.

    Here is the file if you're interested.

    I was going to post it to C3 bugs, but because I can't figure out what's going on, I can't replicate the issue, I'm probably not allowed to post this bug there.

    Thanks for looking! If anyone has any ideas what might be happening in my game, let me know 😊

  • Found this info from Eren on how to revert to older desktop releases:

    Open "package.json" and edit "main" line

  • I have a project folder, but my desktop editor is using from the latest stable release, but I need to go back to older beta releases open instead.

    I know you can go to old releases like this: editor.construct.net/r165

    But the browser editor doesn't accept project folders, only c3p files.

    How do I use an old release?

  • How do I revert to old C3 releases within the Desktop build?

    I was using just stable releases, but the latest stable release broke my game so I need to go back through old the Beta releases to see where it started to go wrong.

    (I use a project folder and that can't be opened in the browser editors.)

    Thank you 🙂

  • Is the memory system used much different than Construct's? e.g., layout by layout loading. I mostly use a single layout for my game for my custom levels, but I have a lot of "storage" layouts, so I use the system action "load layout X images into memory" to load the ones I need all at once.

alastair's avatar

alastair

Early Adopter

Member since 14 Jul, 2007

Twitter
alastair has 5 followers

Connect with alastair

Trophy Case

  • 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
  • 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
  • RTFM Read the fabulous manual
  • x2
    Quick Draw First 5 people to up-vote a new Construct 3 release
  • x7
    Great Comment One of your comments gets 3 upvotes
  • Email Verified

Progress

26/44
How to earn trophies