Is it possible to make part of the sprite impassable, if it has a red color for example? That is, one sprite, there is a red bar and if a player collides with it, he can not pass
How do I check if the sprite is in the neighborhood, and if not, create another copy of the sprite there?
Please help me understand how to make a smooth U-turn when using 8Dir behavior.
If you go to the right, and then I press left, the sprite turns sharply, but I need to smoothly, like a turret.
Maybe there is some kind of plugin?
Can you please tell me how to save a dictionary with all records in the local storage and then load it into a clean dictionary?
To answer my own question.
Made through the behavior of 8dir
The player stands still, and all objects move relative to him. It worked fine, but I would like to know how else to do
Final Solution with a Turn and Pursuit
drive.google.com/file/d/1nq1lWyIEVVMfYg7dDDlfEtyvP4q7vZQJ/view
https://drive.google.com/file/d/1nq1lWyIEVVMfYg7dDDlfEtyvP4q7vZQJ/view?usp=sharing
Perhaps the turrets fire event is what you want? When it fires have it move toward the target and not create a bullet for it? yours winkr7
Perhaps the turrets fire event is what you want? When it fires have it move toward the target and not create a bullet for it?
yours
winkr7
I made the start of the movement exactly when the shot is fired
Develop games in your browser. Powerful, performant & highly capable.
How do I catch the end of sprite rotation event with Turrell's behavior toward the target?
I need the sprite to turn towards the target first and then start moving
Ofc you need to rethink this
And how then to make the movement of objects that will appear outside the map in the direction of the player?
Hi! How do you make the mobs run away from the player in different directions?
For example the player is a hunter, and the mobs hares. And when the hunter approaches the hares, they run away from the player.
If you are using 8direction or Platform behavior, set a vector: Sprite set vector X to cos(Bullet.angle)*100 Sprite set vector Y to sin(Bullet.angle)*100 You might need to temporarily reduce deceleration value in the behavior and disable player controls.
If you are using 8direction or Platform behavior, set a vector:
Sprite set vector X to cos(Bullet.angle)*100
Sprite set vector Y to sin(Bullet.angle)*100
You might need to temporarily reduce deceleration value in the behavior and disable player controls.
What if another sprite gets into the sprite without behavior? How do you "discard" it then?
Please give me an example of how to make an infinite scrolling background for the car. The car has a top view, 8 directions of movement
Hi folks!
How can I make a sprite bullet to throw the body in the opposite direction to where the bullet came from?
How to make the effect as if the camera is underwater and captures the bottom. We need weak waves and bubbles
Hi. Please show me an example of how to implement drag and drop of the screen with mouse button or touchpad on smartphone for example we have a map on the layout and I want to press the mouse button to scroll it in any direction