Joao Daniel 2022's Forum Posts

  • If you are controlling the character with keyboard keys, then 8direction will be the best choice. Otherwise you can use MoveTo or Pathfinding (if there are obstacles and units should walk around them).

    Check out this example:

    https://editor.construct.net/#open=pathfinding-groups

    All these behaviors have MovingAngle expression, which you can use to set the correct animation. See these tutorials:

    https://www.construct.net/en/tutorials/animation-management-8-712

    https://www.construct.net/en/tutorials/direction-based-sprite-251

    Hey! I'm trying to make the movement fit the pathfinding angle but it's very confusing to understand, here's my project mega.nz/file/vIgiFBYS

  • Try Construct 3

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

    Try Now Construct 3 users don't see these ads
  • Hey! I'm developing an age of empires survival style game, and my unit sprites will have animations in 8 directions, do I need that when I select these animations to move on the map, the animations match the angle that the units are moving? what is the best behavior for this, MoveTo or 8direções?

    and I would also like to know how I would make the units, when selected, move all together like in age of empires?

    Tagged:

  • You can significantly improve the performance if you change the tile size to 2x2 or even 4x4

    thank you so much, see👏👏👏 God bless you 🙏🏼 I will follow everything you taught me

  • No, I have a mid-range laptop with integrated video, definitely not gaming.

    Can you share your latest project? Because when I set tile size to 4x4 it runs very smoothly.

    Hi sorry for the delay, here is the updated project with the same slowness when I delete tiles from the tilemap mega.nz/file/iV4R3RyA

  • It runs at 50-60 fps on my laptop after that change.

    If it's slow on your machine, you can increase tile size, this should definitely help.

    your pc must be pc gamer? it's really still slow here only when i delete the blocks from the tilemap, i just would like to understand which is the method that this guy used in his game that runs smoothly without crashing when deleting the blocks

  • Use Debug Mode (Shift+F4) to troubleshoot issues. You will see that too many Erase objects are created. That's because you have "Create object Erase" action inside the For loop. And it's repeated 160 times!

    Change the event like this

    I did it the way you told me and it's still slow, the error is not associated with the creation of the erase, but when erasing the blocks in the tilemap this is what causes the slowness, any alternative to work around this problem?

  • If the tilemap has only one tile type and is invisible, then even with 1x1 px tiles the performance shouldn't be that bad. You can make 4x4 tiles.

    Use a separate object for the visible ground, and erase it by spawning round sprites above it with Destination Out blend mode.

    hi it's me again, that was really nice but now i have one more problem, when i click on the ground to dig the optimization is slow, i will send my capx

    mega.nz/file/rMB1VJyJ

  • thank you very much, your method helped many

  • thanks, but instead of being a pixel, it can be a destructive terrain in HD

  • hey guys! I need to create a game like this link but I don't know where to start

    Tagged:

  • You do not have permission to view this post

  • You do not have permission to view this post

  • Hi thanks for the answer, I have questions about this plugin, in SQL would I have access to the customer's information like the items he has so I can add extra things to them in an event, in firebase would I have access to the customer's registration?

  • Good evening, I need to make a game with login systems that the person will register by putting EMAIL, PASSWORD, COUNTRY and invitation code of another user already registered to receive rewards, and my doubt is the following where I could store the data of user, I heard that a good way is SQL because it works with a table that would be great to store all the user's data including the items he has in the account... but I don't know how to work with SQL since the code doesn't there is nasa javer with construct 3, i need to know where i would start and go down that path and if construct 3 supports making this connection between c3 and SQL server and what i need to learn to put it into practice.

    another option I heard is that the google account itself serves to store people's data, including items already purchased etc... it will be a game with many users and very complex, can you give me some light on this, thank you in advance .

  • > Hi, thank you very much, it will be very helpful, I tested it and had a little fun, I think creating a snake like the one I mentioned in the image with different dimensions from the head to the tail must be very complex.

    I made an App doing that https://play.google.com/store/apps/details?id=com.sizzgames.snakeinthegrass

    Subscribe to Construct videos now

    If I remember rightly, it wasn't that complicated.

    Incredible, it turned out really nice! for the success and creativity I will find a way to make my game all in God's time, thank you.