mojofltr's blog

mojofltr's picture

Yet another text scrolling demo

This text scroller is based on others before it, except the text is encoded in another program beforehand - making it much less tedious to set a message to display. I put this together tonight after I came home from work, so I didn't bother with any text effects. I would explain how the scroller works here, but I think it will be easier to understand if you watch it play through once and then take a look at the code. It's incredibly simple.

For time, I wrote my encoder in MMF2 because I can move more quickly with the interface. However, the encoder is incredibly simplistic, so I may put together another one in KNP and post it here for kicks... or further clarification if it is needed.

mojofltr's picture

Text Snake

text snake.gif

I've been trying to find tricks to manipulate text in KNP.

Here is a small demo that aims to make a selection of text follow the mouse cursor or an active object. KNP doesn't seem to account for how many text objects are being used, so I might not be deleting them nearly enough... there is quite a bit of slowdown - especially when using an active object with a movement attached to it.

In the first frame, the text follows an invisible active object... In the second frame, the text will follow the mouse. This runs a bit more smoothly than before, but it's still jerky.

In both frames, there is a point when KNP seems to give up until all of the text is destroyed and then it begins again. I don't know if this is my bug or if KNP is just struggling to keep up... probably the former.

I suck at KNP, so there is probably an easier/better way to do this... if you know of one, let me know. :)

mojofltr's picture

Actionpoint 2009

Here's another quick demo for Actionpoint 2009.

mojofltr's picture

KNP Lemmings?

knplem.gif

I decided to whip up a quick prototype.

Can you rearrange the playfield to help the blue octogons reach the green square?

Controls: click to select a playfield object.... move it to the desired position... and click again to release it.

I think more than 3 alterable values per active object would be necessary to implement a full lemmings style game... especially KNP doesn't allow you to negate events and you don't have flags to play with. For me these seem to be the biggest challenge when using KNP over one of the newer Klik tools.

mojofltr's picture

kuru tsuchinoto

kuru tsuchinoto title.gif

Guide the spinning serpent to the portal. Control = spacebar. There are only 4 levels, but I may add more one day... or, if you like it, you could too since KNP is pretty much open source! :D

kbye

//edit//

I hadn't actually finished the game myself until tonight. :) Score: 2650. Maybe I'll make some more levels tomorrow.

mojofltr's picture

KNP Demoscene

demo.gif

I don't know if this really qualifies as a demo, but here is my submission for the KNP Demoscene.

The first frame has an important event that is time based and sometimes gets messed up. So if the demo appears to stall, hit F2 to restart.

...

I have a hard time organizing anything in KNP... I'm spoiled by MMF2. :D This demo is based on a marquee scroller that I wrote in MMF2... of course, it is much faster and allows for some pretty neat effects, but I digress.

mojofltr's picture

ADHD

Gravity Star Man.gif

How long will it take you to collect all of the stars? Actually, I only added in the stars to test the movement engine. I actually had thought about making this a shooter like Ancipital... or maybe some kind of of shooter/platformer hybrid... with gravity issues.

I have no attention span. Anyway... I'm done playing with it today, so here is my WIP. (Is it still called WIP if you don't know if you'll ever return to it?)

Controls
left - move left
right - move right
ctrl - jump

tap up/down/left/right during jump to change gravity direction.

mojofltr's picture

Intergalactic Bumblebee

intergalactic bumblebee.gif

This is my KOTM entry. I wasn't sure where to put it, so I'm uploading here.

I asked whether or not it was allowed, but got no answer... so I'll just let you know here that I used some code snippets from other programs I've made in the past... like the fireworks and the zzzzzzzzzzz that follows the bee. :)

Move the Intergalactic Bumblebee with your computer mouse
Collect Pollen from Flowers and move it to the Hive
Avoid the Mutant Space Frogs and Severed Hand Raid Cans!

F2 restarts the game.

mojofltr's picture

PAC-IN-SPACE

pac-in-space.gif

I was going to use this idea for the KOTM tomorrow, but I was bored today... so meh.

F2 to start a new game
Spacebar to jump.

mojofltr's picture

Paint ((In Stereo))

Screen.png

Paint ((In Stereo))

This is my simple paint program that allows a user to make a 3D stereovision drawing. There are a few simple examples in the archive.

Implemented:

Load / Save / New Options
8 Colors! (Amazing, I know)
4 brush sizes
Undo / Redo Options
Depth Slidebar

If you try it out, let me know what you think. As always, criticism and suggestions are welcome.

Cheers!

//Edit//

I forgot to mention: The main toolbar will hide itself at the bottom/right of the window. Move the mouse there and it will appear. Similarly, the Depth Slidebar is on the right of the window. Depth can also be changed by pressing up/down cursors on your keyboard.

*Note*
A lot of people have trouble viewing stereovision pictures. Do not be surprised if you cannot get the affect to work for you.

//Edit 2//

New version with a bunch of new options and a readme.txt that should clarify some stuff.

//Edit 3//

Fragmented Tetrimino is a platform game experiment based on this same 3D idea:

Syndicate content