I managed to figure it with a lot of help from other people .
i got the result i want using this
Thanks for your help
somthing like this ?
If that's the case you can get the exemple , keep in mind there's should be a better to do this here
I hope i understood what you want but can either :
-You can either create an invisble object with the behaviour solid in them and duplacte to recreate your level design .
-you can also export your ground separately and import it, then add the solid .
I hope that what you wanted yo know .
Hello again everyone,
So i guess a got the general idea(Still strugling with the math aspect) not working
here what i went with but it still not working.
Thanks you
I think i understand , i will test it and see .
Thanks for your answers .
Thanks a lot for explications .
Still trying to wrap my head around , iam quite the dummy myself .
So i should the use distance(player.X,player.Y,ennemy.X,Ennemy.Y) to get the distance ?
Again thanks for the answers .
Thanks for your reply .
Sorry if this a dumb question , but can please you explain to me what do you mean by that ?
Develop games in your browser. Powerful, performant & highly capable.
That quite the blast from the past , i loved these types of games .
hello everyone ,
I am struggling a bit to create this behaviour , i am currenltly using the behaviour "move to" and "line of sight "to move both the player and the enemy away , but it does not work like i want .
i want the ennemy to move to the opposite of the player, plus if it touche the edge of the layout to move away from the edges.
Yeah that's exactly what i need , thank you so much!
Using the scroll to was kinda messy and shaky
Hello ,
I was wondering if there is a way to make the camera focus on area where there the highest count of sprites ( playing with simulated water ) ,i don't want to the camera to follow every lost drop of water .
Thanks
Member since 7 Jul, 2012