WordPress database error: [Expression #1 of ORDER BY clause is not in GROUP BY clause and contains nonaggregated column 'vertel_blog.wp_posts.post_date' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by]
SELECT DISTINCT YEAR(post_date) AS `year`, MONTH(post_date) AS `month`, count(ID) as posts FROM wp_posts WHERE post_date < '2021-01-20 16:24:54' AND post_date != '0000-00-00 00:00:00' AND post_status = 'publish' GROUP BY YEAR(post_date), MONTH(post_date) ORDER BY post_date DESC

Behaviours are clustering

Posted by Michael on June 10th, 2008, in Development

Applying the Drama Princess system to The Path is revealing yet another issue.

Most behaviours in the game can be executed with one of three “meta-behaviours”:

  • Do Now
    just play an animation
  • Do With Object
    play an animation that involves an object
  • Do With Actor
    play an animation synchronized with another actor

I’m re-using these three behaviours over and over and simply adding parameters for different Goals, Actors and Objects. So these behaviours start looking like large collections of switches. Which is not very elegant.

On top of that, there is not even such an extreme difference between these three. I’m starting to think that perhaps it may be better to only have a single script and a whole set of parameters per Behaviour, rather than a complete script for every Behaviour (which often contain overlapping systems).

The advantage of the current system is that it keeps things clear and open. A Behaviour currently can do anything. It has access to the entire game. This is very powerful and useful. This way Behaviours can control entire cut scenes and even the game flow. Even the control of the avatar is defined as a behaviour (one that is certainly too complex to fit in any of the above meta-behaviours).

No comments yet.

Leave a comment

You must be logged in to post a comment.