Skip navigation.
Home
That which cannot be rendered in binary is by definition a delusion
 

Elements

 

I wanted to start out with a flexible behavior system. That is, I wanted the beings in the system to act with intelligence and situational responsiveness. For instance, when they're hungry they eat; however if attacked, they stop eating and run; if they get far enough ahead, they hide until they are safe, and so on.

It became clear early on that loading behavior into the being's base class would get ugly fast so I decided to load actions to manage tasks; each action would have an update method to adjust for conditions and a stop method to exit cleanly out of an activity.

Actions should be able to call other actions and to be chained to accomplish a complex action.I expect to see a lot of refactoring here.

The other element is a background forest -- a collection of triangle trees and ellipse-rendered brown hills. This is a direct derivitive of the stock JavaFX graphics nodes with no interactivity at this point. If I ever decide to track the blades of grass that bunnies eat, this may change...

Post new comment

  • Allowed HTML tags: <a> <p> <span><small> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <embed> <object> <param> <strike> <caption>
  • Lines and paragraphs break automatically.
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options