Ambiera Forum

Discussions, Help and Support.

Ambiera Forum > CopperCube > CopperCube Open discussion
Can it work?

bigsmaug823
Registered User
Quote
2021-05-16 04:50:19

An array in a javascript action would store the possible routes that the ai would take, each route would be an animation state in the animated meshes editor, specify the frames needed for the specific route animation and hopefully this might with some ai questions that I read about on this forum...I'm not great with javascript syntax, so please help...


DouweDabbe
Guest
Quote
2021-05-16 09:46:26

Read wikipedia about AI and path finding & Nav meshes

Great explanations there

Sample codes at github codepen etc

Succes

then come back with more specific questions
You're scope is to wide now


just_in_case
Moderator
Quote
2021-05-18 03:41:37

That can be an easy task to store the route into array and then assign a specific animation to each route. As @ Douwedabbe mentioned in one of the post in the forums, my snake and ladder example uses something very similar to this to store the route for the pawns. There is also a ludo game demo lying in my hard disk somewhere which uses the array to store the route and then based on that array route the pawn moves.

It will be really easy to turn that into animation specific. just let me know and I will upload the Ludo demo to my website neophyte.cf to play with but that's not a full fledged demo. I created that demo years ago before the snake and ladders demo i think.

But if you guys want i can post that demo.


DouweDabbe
Guest
Quote
2021-05-19 09:52:54

Jah would be very useful to learn from

Thanks


For loops
Guest
Quote
2021-05-19 22:56:43

That would excellent...Thank you:)


Create reply:


Posted by: (you are not logged in)


Enter the missing letter in: "Inte?national" (you are not logged in)


Text:

 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


   






Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact