ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > CopperCube > CopperCube Open discussion
forum topic indicator help with ai
person icon
chaceysgames sto
Guest
Quote
2024-10-28 12:57:58

so i was making a game but i need help with the ai

person icon
chaceysgames
Guest
Quote
2024-10-28 12:59:33

help
i need help with ai

person icon
guest_Robbo
Guest
Quote
2024-10-28 13:41:55

I find a good AI is one of the most difficult and yet most rewarding things in making a game.

It all depends on how complex you want it.

If you want to add a lot of things then create a fixed state machine with different functions to run depending on the situation.

See my Aliens Revenge game for more info if you like.
I intend on adding to this code and making a proper small game from it one day.

Already its very challenging and fun I think...
All that requires good javascript knowledge however.

Most are happy with some simple on distance do this type thingy though as lot easier.

One of the behaviours has basic attack, move and so forth already in it but its quite simple.

person icon
chaceysgames
Guest
Quote
2024-10-28 14:01:39

idk how to code in java script

person icon
guest_Robbo
Guest
Quote
2024-10-29 05:05:09

There are many posts on this forum about how to do that and also many older YouTube videos about that.

CopperCube used an older ES5 version of JavaScript not ES6 or later so be mindful of that...

Check the default API list also on the CopperCube website:
see Tutorial & Docs / JavaScript scripting reference also...

person icon
chaceysgames
Guest
Quote
2024-11-03 10:42:30

thank youemoji icon_happy


Create reply:










 

  

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


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






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