good people help a newbie!!! I’m creating a project where the control is point click, so I decided to test the callisia, made it so that the character pushes off from the obstacle and he just goes through the wall, I’ve already tried to make a large obstacle, everything seems to be fine, but when you start quickly clicking on the mouse, the character stands still and the camera moves, this is like a no-clip. Then I made a teleportation if he is behind the wall, then he moves back, but if you quickly click the mouse again, then again no-clip, (yes, this looks stupid, but I’m a newbie). I looked, there was a similar problem here, but I didn’t understand anything. About some frames, something else there. Can you just show the code how this is done, I ask you. You can just call it “Wall”, “player”, well, you get the idea. I don’t know how else to ask you, I’ve had this project in mind for 2 years, I can’t do it, either the operating system crashes, or the project is deleted, or I’m just burned out that I can’t do anything. But over these two years I already know something, but (as funny as it sounds) I just can’t do this. I made the inventory myself, and I draw myself, but this is not stopping me from releasing the Alpha version. People, help me, I beg you
Hi, as mentioned in the previous topic you have made, you will get better help if you post the screenshots of your events. And: Are you using a separate collision object for your player?
For next time, instead of making a new post, please just update the old one, the edit will bump it to the top again.
I made a collision collision at the table and chose to separate the object from the object (there is a separate function there) and nothing helped
And how do you move your player? You also did not answer the other question I have asked you. If you want to get some suggestions you need to give more information.
Again, a screen-snip of your events in which you move the player and an answer to the question above would be very helpful.
Uploading: image.png…
this is the player’s control
To answer your previous question, no, only the table and player coliseum. Or am I just not understanding something?
Not sure what is going on, but your image is still uploading?
The reason why I asked about the collision is that if you are changing the collision boxes of your player (not of your table) when playing your animations, glitches may be possible. To avoid that you should use the same collision mask for all frames of your animation or you could use an invisible sprite as your player collision object.
If that’s the solution to your problem depends on a few other things. One of them is how you actually move your player. So that’s why it would be great if you could post your events.
here, I barely uploaded the photo, the site itself did not process the long photo, I had to split it.
.
Can you please show an example of how one sprite with collision works.
Okay, so you are tweening your sprite. I don’t see any collision-event. You are just separating the player and the table which is the reason for the weird behavior of your player (Btw I would suggest to give real names to your sprite objects - it makes everything much easier).
A good way to fix this is a method that a lot of point-and-click adventures use: pathfinding. It makes the movement of the characters around obstacles easier to manage.
There is a great example project in which you navigate a character with pathfinding around obstacles. Just give it a try in your project.
Thank you very much, kind person. The player walks around the table, just like a BOT. Thank you again