How to Use Ai in 2D sprite Like Enemy follow player in 2D? - game-development

So I am working on something and in my project square is my player and circle and triangle are enemies So How can I move my enemy towards the my player I tried lot of things but I failed… Please help me🙂
https://i.stack.imgur.com/UbZJd.jpg
Give simple BP Solution

Related

Godot 3d About Velocity

I have 3d ball game. The ball continues to go forward.When the left or right rotation key is pressed, it moves in that direction as much as the pressed amount. Ball kinematicbody and using velocity. Everything works perfectly when the road is straight
I am confused what should I change about velocity when switching from straight to curve path.Any help is appreciated
Looking for help with vectors and velocity

Create scene in blender

How can one create a scene/terrain like clash royal's game scene in blender? The game scene seems like top view but is not exactly top view. At what angle should the camera be placed to get that effect?
You would be looking for isometric projection or maybe 2.5D, also called 3/4 perspective. You can find several isometric tutorials on youtube.
While I'm not sure if there are any strict rules to follow unless you are making graphics that must fit in an existing game, it is common to use an orthographic camera at about a 45 degree angle.
Clash Royale looks like it could be close to a 45 degree orthographic camera angle.

Cocos2d - Move sprite in curved path

I am creating a Catapult game in Cocos2d in which the catapult is at the bottom center of the screen and we throw stones on the objects falling from the top of the screen. I tried using Bezier curves for this purpose but problem is that I am not able to calculate control points for drawing bezier curve. I need to move sprite of the stone on a curved path when released from the catapult.
Can anyone please guide me how can I achieve it?
Thanks and Best Regards
why you don't use physics for that?
use box2D is integrate with cocos2D, config the world, gravity, and physics budies,so.. the effect of catapult is automatic when you shot a bullet.

How to make Scrolling background for the 2d game in unity?

i am trying to build a game in which the player moves along the terrain which has ups and downs. I also want the background to move in the opposite direction of the player movement. How to achieve this ?? Here the player is moving in Xaxis and Yaxis like Ski Safari game and camera is moving with the player. Please help.. Thank you in advance.
There are several ways you can do this, I would suggest this: http://answers.unity3d.com/questions/19848/making-textures-scroll-animate-textures.html
You could also use Fractal Textures, Unity3D provides an example of this in their procedural generation example on their website: http://u3d.as/content/unity-technologies/procedural-examples/3zu

binding camera to my game person with acceleration, deceleration, ect in libgdx project

So, how can I do this?
For example, my person goes right and camera starting to move to persons coordinates with acceleration, when he stoppes - camera moves to persons coordinates with deceleration. Of cource, I can make it by myself, but is there any library that can help me with it?
I'd suggest using Universal Tween Engine. You could add a short deleay and proper math equations to smooth out the camera transitions.
http://www.aurelienribon.com/blog/projects/universal-tween-engine/