A downloadable Extension

Buy Now$15.00 USD or more

A CopperCube behavior for 2D games to create AI (NPC). Packed with lots of AI features that will help you create AI for your 2D games in no time without coding.

Below are some features of the behavior:-

  • Tag system:- Use tags for the AI and Players (helpful when creating teams and different groups of NPC's).
  • Automatic Health/Damage calculation (Requires 2D weapons extension)
  • The activation system (Activates the AI when the enemy comes in range)
  • Chase system (start and stop chasing the enemy when in and out of radius).
  • Random Patroling system (Define area to roam/patrol randomly)
  • Death detection (automatically remove the ai after death)
  • Automatic collision detection and obstacle avoidance when roaming/patrolling.
  • Various actions to execute in various situations.
  • Automatic shooting (Requires 2D Weapons Extension)
  • Go back to the initial position if idle
  • Go back to patrolling/roaming if not chasing the enemy
  • Automatic enemy detecting
  • Waiting when roaming/patrolling
  • So many toggles for various features
  • and many more, watch the video tutorial 

Here is the list of actions that you can execute for AI:-

  • Action on Move (do something if AI is moving)
  • Action on Wait ( do something while waiting when roaming)
  • Action on Activate (Do something when AI gets activated)
  • Action on DeActivate (Do something when stop chasing)
  • Action on Shoot (Do something when AI is attacking/shooting)
  • Action on Reload (Do something when AI is reloading weapon) 
  • Action on Idle (do something if AI is idle)
  • Action on Hit (do something when AI receives damage)
  • Action on Death (do something when AI is dead)
  • Action on Collision (do something when collided with something  while roaming)
  • Action on Enemy Collision (do something when colliding with the enemy)

It also allows us to use some special CopperCube variables:-

nodename.hit ("true"/"false") - execute the action on hit.
nodename.health (number) - health of the provided AI

The above variables allow you to have a health/damage system to work even if you don't have a 2D Weapons script.

NOTE:- This extension is developed for the Windows platform, I don't know if it will work on other platforms or not.

Watch the usage video below to get an idea of how to use this extension in your 2D games.



 Glitched Velocity Discord    Glitched Velocity YouTube    Glitched Velocity Twitter   Support Me

Purchase

Buy Now$15.00 USD or more

In order to download this Extension you must purchase it at or above the minimum price of $15 USD. You will get access to the following files:

Coppercube 2D AI 1.0.zip 528 kB

Development log

Leave a comment

Log in with itch.io to leave a comment.