From AgentCubes
Jump to navigation Jump to search

Welcome to AgentCubes wiki! The AgentCubes wiki was made to help you learn AgentCubes.

Tutorial Links


When creating a Agent you can choose many pre-made assets.
When creating a custom agent all these tools are available to you.

In AgentCubesonline you can make Agents. Agents are world assets, world assets are objects that you can put in your world. For example, tree, bugs, spaceships, monster and anything else you can think of creating is an Agent.


  • To start creating an Agent click the bottom left on AgentCubesOnline where it says "+ Agent"
  • Then name the agent on the top
  • Finally select a pre-made asset or select an "Inflatable Icon" asset to later customize your own

Custom Made Agent

  • When creating a new agent it needs to be a pre-made "Inflatable Icon" asset
  • If the agent is an "Inflatable Icon" asset you can double click the Agent and the custom Agent editor will pop up
  • You can make 2D Agents or 3D by clicking the more tools button in the agent editor




In this game a bird is flying through the world. The user has to control the bird and make sure the birddoes not hit brick walls. If the user hits a brick wall the user must restart. However, the longer the bird is alive the harder the game gets.
These are the tools you can use to make your world.

In AgentCubesonline you create/design your game or simulation. You can put your Agents in the world and then program them. Once your done programming and designing your world you can then play or run your simulations.

3D Worlds

In AgentCubesonline you have the ability to either create a 2D world or a 3D world. Creating a 3D world is easy, just click the "+" button on the right where it says "Layers". You can add as many layers as you want to your world. Once you added the layers you can program your Agents to move in between layers, creating a 3D game or a 3D simulation.



Programming Environment

The Programming Environment looks like this. All Conditions are on the left and all Actions are on the right. The Rule is in the middle in between the Conditions and Actions.
Empty rules look like this.
The rules has two Conditions on the left. One Condition is pressing the right key and the last Condition is seeing if grass is right. If both those Conditions are met than the rule will execute the Action on the right. The Action on the right says that the agent should move right once.

The Programming Environment for AgentCubesonline looks like the image on the right. In the Programming Environment you can program the agents that you have created. To program your agents you drag and drop Conditions and Actions into the rule sections. When all your Conditions are met the Programming Environment will then execute all your Actions.


A method is a segment of the agent's behavior that contains a set of rules. A trigger is at the head of every method and determines when the method will be called. The image on the right are using the "while-running" method.

Click here to view a list of all Methods


Rules contain Conditions on the left side and Actions on the right side. Users may drag the Conditions to the left side and users may drag Actions to the right side of the rule container. If all Conditions are met than all Actions will be executed.


Conditions are the requirements that need to be met for the actions to be executed. For example, a condition could be if an agent see something to the right. If a condition is met than the rule will execute the actions. A real world example of conditions is an if function in many programming languages. Condition(s) are the requirements that need to be met for the if functions body to get executed.

Click here to view a list of all Conditions and their parameters


In AgentCubes actions are the things you can make the agent(s) execute. For example, one of AgentCubes's actions, is the ability to make a agent move right. A real wold example of this in another programming language is the body of an if statement. If the conditions are met than everything in the if body will be executed.

Click here to view a list of all Actions and their parameters



Frogger Game Example

Future Video