[Behavior] Event System

Forum Home Forum Home > Construct 2 Development > Plugins for Construct 2
 Post Reply Post Reply
Author
2,580 Rep
Post Options Post Options   Quote 00Rez Quote  Post ReplyReply Direct Link To This Post Topic: [Behavior] Event System
    Posted: 20 Jun 2012 at 1:19pm
Hi everyone,

Here is my new behavior EventList. This is a very simple behavior but allows complex events for any game type. The idea came about from Diablo 3 and various other sources. There are other probably better interpretations of this system but this is mine and I hope you enjoy.

There is a (very simple) example capx included in the zip.

And here is the downloads where you can get the zip. It's called "eventlist_1.02.zip".

Issues to be fixed:

- Remove the need for -1 durations should be 0.
- Make instant events actually instant.
- Time precision improvements.

Alternative plugins/behavior to check out with similar features:

Duration

EasyTween


Here is my repo post.

Let me know what you think and/or if any bugs occur!

Regards,

00Rez

Edited by 00Rez - 22 Jun 2012 at 12:13pm
Back to Top
4,440 Rep
Post Options Post Options   Quote vtrix Quote  Post ReplyReply Direct Link To This Post Posted: 20 Jun 2012 at 2:47pm
so its a kind of timed statemachine? interesting, must test it out more

just some questions about the example, i dont understand the timings
it takes like 4or5 seconds before the functions get started
i dont see where does seconds come from, if the timings are duration..
Back to Top
2,580 Rep
Post Options Post Options   Quote 00Rez Quote  Post ReplyReply Direct Link To This Post Posted: 20 Jun 2012 at 3:31pm
Originally posted by vtrix vtrix wrote:

so its a kind of timed statemachine? interesting, must test it out more

just some questions about the example, i dont understand the timings
it takes like 4or5 seconds before the functions get started
i dont see where does seconds come from, if the timings are duration..


Ah that's a bad bug I will need to rectify it fast! I'll fix and upload as soon as possible. Yeah you can use it to create health regeneration, time of day, gun fire, attacks, speech, the list is endless...
Back to Top
3,012 Rep
Post Options Post Options   Quote aridale Quote  Post ReplyReply Direct Link To This Post Posted: 21 Jun 2012 at 3:17pm
I could be very interested in this. I think Id prefer this one to Rexs because I dont have to use 2 other plugins just to use this one. Did you get the bug fixed you mentioned?
Back to Top
2,580 Rep
Post Options Post Options   Quote 00Rez Quote  Post ReplyReply Direct Link To This Post Posted: 21 Jun 2012 at 3:28pm
Originally posted by aridale aridale wrote:

I could be very interested in this. I think Id prefer this one to Rexs because I dont have to use 2 other plugins just to use this one. Did you get the bug fixed you mentioned?


Yes I did. Hopefully everything is working now. Let me know of any errors or bugs as you go. Various additions will be added over the next few updates. Any specific implementation ideas let me know. I've updated my download section with version 1.02. Check the example and try changing the three events to see how they work like concurrent, unique and stack. I know there is one issue whereby creating an event and setting the current stack higher than maximum stack ignores the maximum. I'll fix this in the next update!

Hope you have fun with it!

Rez
Back to Top
2,616 Rep
Post Options Post Options   Quote jwjb Quote  Post ReplyReply Direct Link To This Post Posted: 20 Aug 2012 at 5:57am
@00Rez, my interest was piqued when @vtrix mentioned this was kind of like a state machine and when I worked in Flash these were quite helpful, thanks for doing this.
Back to Top
2,580 Rep
Post Options Post Options   Quote 00Rez Quote  Post ReplyReply Direct Link To This Post Posted: 21 Aug 2012 at 2:22pm
Quite a fail with this one precision is difficult and I think the offerings from Rex and others will be far better...
Back to Top
925 Rep
Post Options Post Options   Quote xexeo Quote  Post ReplyReply Direct Link To This Post Posted: 26 Jan 2013 at 3:51pm
Hi,

Your link does not point to Event System, but points to pathfinder and autotile.

Cheers,

Jerry
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down