Random posts

snapman's picture

Weekly Updating 3: Turn, Turn, Turn.

I have an incredibly good excuse to not update this week, but I'm going to go through with an update anyway. It's going to be short.

Last week I got a comment linking me to the KnP tips & tricks thread here on Glorious Trainwrecks. One of the last posts in that thread was about making an object turn towards another object or direction. I remembered asking that very question of the KliK Kommunity a long time ago, and receiving almost the exact same answer: later Clickteam products have the direction calculator, which solves the problem entirely.

Not content with this, I decided to finally solve that problem in KnP. I got out some paper, sketched out the problem, and found a simple solution. I knew there were 4 situations. The first two were obvious: If the target angle is greater than the current angle, add to current angle (and vice versa). The second two were difficult. Under what situation should you subtract to get a larger number, or add to get a smaller number? What was the difference between moving from 12 to 20, and 4 to 28? The difference was, unsurprisingly, the difference. Once the absolute value of the distance between current and target grew greater than half the circle, it made more sense to loop around 0 instead. A bit of figuring, and voila! Turn Towards accomplished in KnP.

Note that this technique alone only works for one object, not a swarm of objects, because direction retrieval doesn't know which object pair to select from and give to. But that's a whole 'nother article. "Object selection" is one of the most confusing aspects of KnP event writing. Sometime I'll talk about that in greater detail. But for now, here is an example of a basic turn towards effect. Enjoy!

rotate.zip31.41 KB
vampirkat's picture

yay more klikkin funtimes

I updated my computer again cos i'm terrible with laptops and tend to break them after a year. I upgraded to Windows 7 and was sad that none of my programs worked cos it was 64 bit, so I downgraded to 32 bit windows and yay back to making fun games.

But windows being the ultimate hater, i had to get windows xp mode to get anything to work. Still using TGF yo.

Then I found out about Clickteam Fusion Free. YAY

Guess who's back to making trainwrecks? ME

I bought AGK a few years ago but coding by hand is annoying, Construct2 is faster to mess with and similar to Clickteam in certain aspects.

everythingstaken's picture

psychologist salary

psychologist salary cover.png

Press CTRL!
This game is the Bee's Knees!

Made For: 
An event
Sprocket's picture

The Wall (a game in therapy)

Game File: 

Breakout as a metaphor for therapy.

Play through over *5* different therapy sessions with unique clients and their medically fascinating problems. Uncover their traumas from breaking down the "wall" of repression, but make sure to listen to what they have to say, unless you dig a little too deep...

Based on a parodic therapy site I made in high school which was hacked and taken over by a minor religious fundamentalist and the times I feel fed up with therapy. The satirical aim is diffuse and muddled.

Event Created For: 
Made For: 
An event

Mah Jong Is Longer Than Any Dong : Hyper Graphic Future Edition

mah jong.PNG

A sequel to Mah Jong Is Longer Than Ur Dong. Recommend playing the original first. Actually, recommend just playing the original and avoiding this altogether. Graphics are a minter-esque chaos of incomprehensible blurring.

Made For: 
Pirate Kart 2
everythingstaken's picture

spooky, sugar, zip, zippy

Game File: 

Fruit-flavored platformer game.

Edit: Changed the screen size for more exciting suspenseful gameplay!

Made For: 
An event
KristopherWindsor's picture


Game File: 

draw string (100, 100), "Jumps! A game with 7 levels", &HFFFFFFFF
draw string (100, 120), "Left and right arrow keys move", &HFFFFFFFF
draw string (100, 132), "When you move, you will teleport to a random tile of equal value", &HFFFFFFFF
draw string (100, 144), "Get to the smiley with as few moves as possible", &HFFFFFFFF
draw string (100, 156), "Press key to start...", &HFFFFFFFF

In summary:
-Press the right arrow key to randomly go to one of the red tiles
-Press the left arrow key to randomly go to one of the blue tiles
-Get to the smiley in as few moves as possible
-Final score is shown after all 7 levels are played; it is 1000 - number of moves

Made For: 
Klik of the Month Klub #33 (Mar 2010)
ExciteMike's picture

Jogger Collector a Computer Video Game for Two Players


Jogger Collector a Computer Video Game for Two Players

Event Created For: 
Made For: 
An event

Black as Midnight


Goddamn this game turned out to be difficult.

A radioactive MP3 file causes you to get sucked into your music player where a bunch of crazy kajiggers are trying to bum you out! Show them what's up by jumping and sliding your way past them. If you survive until the end of the song, that should shut them up don't you think?

The game was created with XNA Game Studio and requires the following redistributables:

Programmer++: Christian Grahn
Choreographer++: Magnus Andersson

Played more than a minute for some reason? How about you tweet me your best time! Jesus would do it...
@chrigrah baby.

Check out Magora Games at www.magoragames.com

Magora Games
Made For: 
An event
Syndicate content