Random posts

Danni's picture

Tips and Kliks #02: Anatomy of an Event

We will start off by jumping straight into the Event Editor, as that is the heart of Klik's true power, the place where you will spend most of your time designing your game's behaviors. For these next few articles, we will cover the basics you need to know to get the most out of the Event Editor.

In order to become a Klik Ace, you need ACE: Actions, Conditions, and Events. In the Event Editor, these are the building blocks that you use to describe your object behaviors. Understanding the role of each is key to understanding the Event Editor.

Actions are simply things that you can do in your game. Some examples of actions:

- Stop
- Destroy
- Create a new object
- Change animation sequence
- Add to the player's score
- Jump to the next level/frame

Conditions are bits of criteria. Some examples of conditions:

- Start of frame/start of level
- Player pressed Fire 1
- Two objects are overlapping each other
- An object is below a certain Y coordinate
- An animation has finished

Events are units that contain a set of Actions and Conditions. If the conditions for a given event are satisfied, the actions are performed.

Pictured: An event that causes the player to fire a bullet when pressing button 1, as long as there are less than three bullets in play.

Note that conditions actually have two functions. First, a condition may either be true or false. For example, if the player is holding button 1, then the condition "Repeat while Player pressed Fire 1" would be true. If the player's score is only 1000, then the condition "Player's score is greater than 2000" would be false.

An event's actions are only run if all of its conditions are true!

Second, a condition may limit which object(s) an action is applied to. Let's say you have an event with one condition: "Player pressed Fire 1". If we give this event a "Destroy Monster" action, it will destroy every single Monster in the level when you press button 1.

What if we replace that condition with "Collision between Bullet and Monster"? We will keep the "Destroy Monster" action. This time, when the condition is true, only the Monsters that have collided with any Bullets will be destroyed.

Typically, conditions serve to eliminate possible objects. That is, you use conditions to only apply actions to certain objects, and each additional limiting condition further reduces which objects targeted by the actions. There are exceptions, of course. Take the "Pick an object at random" condition. Its first use will eliminate all objects of a given type except for one that has been chosen at random. What happens if you add multiple copies of this condition? Now the actions apply to more objects! If you have "Pick an object at random" three times in an event, three objects will be picked (assuming there are three - if there are less than three, only that many will be picked).

Feel free to play around with different conditions and actions! Next, we will be covering the use of a few specific basic but important conditions.

jonbro's picture

options

Screen Shot 2013-04-20 at 10.31.03 PM.png
Game File: 

Used twine to create an idea for an installation game that I want to build. This feels nice and self contained though.

Event Created For: 
Made For: 
An event
mkapolk's picture

Diner Date

dinerdatess.png
Game File: 

You have asked a hot girl out on a date at denny's. you order a bottomless coffee and infinite pancakes, but little do you know that your endless food is matched only by your endless lonliness as your date does not appear. play as the subconscious and hand of this trapped soul as you explore the deep and complex richness of a tormented artist's mind.

featuring proto-ironic hi-fi retro soundtrack by synthetic semisonic surrogate B

Author: 
Marek Kapolka
Made For: 
An event
quasiotter's picture

hot shark for our friend drambique very nice

4drambique.jpg
Game File (Linux): 
Game File (Mac): 
Game File: 

hi drambique :) and other human sapiens :D :D

goal is to find the collision box at top lol . follow the cookies and higher notes!!

note: there is invisible sloped plane to get you to the starting gun lol

here's the requests:
- guns!
> i dunno how to make a fps, and i don't do killing in my games, so i did this instead :P
- good movement
> i used johnny's firstperson controller!
- piano jazz
> i wanted to make my own soundtrack and i don't know how to play music, so... um... lol.
- neon signs
> i love neon! my dream job when i was a kid was to become a neon artist
- sugar cookies
> i used to make sugar cookies with family and decorate them. these are cookies from probably 2013 & 2014?

credits:
unity 5.whatever is newest
blender
photoshop
logic pro x i only used stock instruments lol
protohm first-person controller
some free unity assets guns:
https://assetstore.unity.com/packages/3d/props/weapons/firefireword-light-machine-gun-95750
https://assetstore.unity.com/packages/3d/props/guns/scifi-gun-collection-56350
https://assetstore.unity.com/packages/3d/props/guns/hand-painted-low-poly-guns-pack-26292

Event Created For: 
Made For: 
An event
Techokami's picture

Kangaroo Dollars

kangaroo.png
Game File: 

As per a request, you must fight the kangaroos to get dollars! You can then use those dollars to upgrade your guns. Try to get a lot of dollars, and all the upgrades, before you get killed!

Made For: 
An event

murderous murderer

title1.png
Game File: 

This is a four player game. One of the player is the murderer (they must kill half of the citizens), and the rest are cops (they must hunt down the murderer). Press a button to know if you're the murderer! Press another button to kill people!

Mostly made over a coffee high at 2 am. Some things are still a bit choppy (killing people is imprecise as fuck). Also my first game!

Author: 
jose carlos
Made For: 
An event
the_muteKi's picture

Dracula X

mneh.png

I didn't finish so there's nothing to do (there would also be medusa heads and things flying in the air to make jumping more difficult). However, since I can in theory update the web files at any time it might suddenly start becoming playable a few weeks from now. If it is, though, I'll make note of it.

It is called Dracula X as it is intended to be a sequel of sorts to VectorX.

Event Created For: 
Made For: 
An event
Healy's picture

You are a Blob! (a SoftSoft Twine game)

Game File: 

This year I decided to enter Ectocomp, a yearly Halloween competition hosted by someone in the IF community (yes, I know this overlaps with the IF Comp, I dunno either). You can read more about it here. I downloaded Twine and everything just for it too.

You are a Blob actually wasn't my first game idea (a choice-based adaption of "Jacked Up Jack-o-Lantern" from the Regular Show Trilogy of Terror 3), but an eight-year-old was getting cold feet about entering, so I vowed to make a game so crappy it would make everyone else's game shine like gold! Which turned out to be no small feat, because everyone and their mother entered a game (or two) this year, for a grand total of 24 entries. But I think I gave it a good run.

If you like this game, please consider downloading (and judging!) the whole set. You can play most of these games through an interpreter like Gargoyle.

Event Created For: 
Made For: 
An event
FirecatFG's picture

Battle Cheese In Spookyland PLUS

battlecheese.png

For some reason i was inspired to make the other 15 stages i never made for this level. Please note that this is a Kyntt Stories Plus exclusive so i can better take advantage of State-of-the-art Spooking Mechanics. Also i'd like to warn you the level might be Too Spooky this time.

Made For: 
An event
herotwin's picture

Chick Sexing

title.jpg
Game File: 

Realistic chick sexing game program. Determine a chick's gender through subtle visual cues. Almost as exciting as the real thing! Yes.

If you are having trouble, try watching the short documentary video about real life chick sexing. you can learn the technique from there.
hint: technique is at 3:14

Author: 
Ben Esposito
Made For: 
An event
Syndicate content
pensive-mosquitoes