Malakyas's Recent Forum Activity

  • Hey everyone! Hope you can help me with this one again.

    Currently, I'm working on a hidden object prototype, similar to the game Hidden Folks. Something I wanted to be able to do would be to simulate an "infinite" zoom concept, just like seen in the video here

    Performance wise what would be the best way to achieve something like this? I imagine that when big sprites are scaled down they still take as much to render as if they were scaled up to 100%, right? So having that amount of sprites on canvas all at the same time might not work the best.

    Is there any way I can reduce the resolution of sprites (like reducing the LOD in a 3D game) based on their current scale value?

    Thanks for the help in advance.

  • The issue is unlikely to be with converting to a string because it's already a string. I would debug this by first trying it without removing and inserting rows every X seconds, a basic insert a value and see if the player changes animation. If that doesn't work then you probably have other events that overrule the setting of the player animation. If it does work with the above then likely the problem is when you pop the array and set the animation in the same tick then maybe the rows move so the animation is at row 8 instead. Think about adding the logic you have there into one event or function to minimize bugs.

    Thank you, your answer helped me find the issue! It was indeed working, my mistake was not checking if Player2 actually had the same animation so it could replicate it.

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey everyone!

    Currently, I'm trying to make a game where a bunch of sprites follow my player's position. I've created the events below by using the "Follow Player" project example on the start page as a reference.

    One of the issues I haven't been able to solve is converting my player's animation (recorded in the "animation" array) to a string, so the characters that follow him also replicate the animation.

    I've tried the solution below, but the following sprite (Player2) won't ever change its current animation. I've checked the debug mode and the animations are indeed being recorded to the "animation" array.

Malakyas's avatar

Malakyas

Member since 13 Apr, 2023

None one is following Malakyas yet!

Trophy Case

  • 1-Year Club
  • Regular Visitor Visited Construct.net 7 days in a row
  • RTFM Read the fabulous manual
  • Email Verified

Progress

4/44
How to earn trophies