Random posts

Porpentine's picture

Wonderful Swamp Crab

stf51_Swamp1.jpg

A text adventure about a wonderful swamp crab. You choose the destiny of this gentle crab.

Coded in Inform 7, you can play online or by downloading the .zblorb file and opening in Gargoyle.

Made For: 
An event

Piggy Game

piggygame.PNG
Game file: 

You are a piggy. You really want to eat carrots for lunch. Uh oh! There is wolves running around! Good thing they are stupid! However, sometimes they catch your scent and come running! Look out! Get as many carrots as you can before your inevitable death!

Made For: 
Pirate Kart 2
SasMaster147's picture

Random Generation Maze

screenshot.png

Alright this game is mostly pointless. Just try to get to the top with a combination of shooting the walls and exploiting glitches in Multimedia Fusion's platforming engine.

CONTROLS: arrow keys to move, shift to jump, ctrl to shoot, crashing into a wall while on the descending part of a jump while holding shift and then probably pressing the arrow key in the opposite direction of the wall immediately after collision/during collision to wall jump, which can be repeated as many times as you want if you figure it out

MUSIC: Made by Safety-Based Rope. He lives on soundcloud.com

SOUND EFFECTS: The sound of the gun shooting is some guy pronouncing a click, the kind that are found mainly in African languages. The sound of a block being destroyed is a voiceless velar fricative, which is a German ch or a Russian x or a Chinese h or an Arabic kh probably or whatever transliteration is being used at the time or Scottish ch. Yeah.

Okay have fun.

Author: 
SasMaster147
Made For: 
An event

Twine: visited(), a function to find how often a passage was visited

I've noticed that a good deal of variable usage in Twine is simply employed to track whether or not you've visited a certain passage previously, or done so a number of times. This script code provides you with a function that can give this value straight, without needing to use the <<set>> macro.

window.visited = function(e) {
	var ret,c;
  	for(ret=c=0; c<state.history.length; c++) {
		if(state.history[c].passage && state.history[c].passage.title == e) {
			ret++;
		}
	}
	return ret;
}

To use it, use "visited("Passage")" as a value in a <<set>>, <<if>> or <<print>> macro. It will equal the number of times you've visited the passage whose name is between the quotes and parentheses. For instance:

  1. <<if visited("Store")>>You've been to the store.<<endif>>
  2. <<if not visited("Firepit") and not visited("Maggotpit")>>You've not yet been to the fire pit or maggot pit.<<endif>>
  3. <<if visited("Trap Floor") gt 2>>Your repeated stomping is making the floor weaken.<<endif>>
  4. You've visited the chasm <<print visited("Dark Chasm")>> times.<<endif>>
  5. <<set $count = visited("Jewelers")>>You've visited the Jeweler's <<print $count>> times.<<endif>>

Also, instead of a passage name, you can put a variable.
  1. <<if visited($bossPassage)>>If only you'd had this when you'd fought the boss!<<endif>>
  2. <<set $beenToMyHome = visited($myHome)>>

In addition, here is a function called "visitedbefore" which can be used to tell you if a passage has ever, in the course of the game, been visited before another passage.

window.visitedbefore = function(e,f) {
	var h,c,ret;
  	for(ret=c=0; c<state.history.length; c++) {
		h = state.history[c].passage;
		if(h && h.title == e) {
			return true;
		} else if (h && h.title == f) {
			return false;
		}
	}
	return false;
}

This only returns true or false. Use it like so:
  1. <<if visitedbefore("Firepit", "Maggotpit")>>First the fire pit, then the maggot pit, now this?!<<endif>>
  2. <<if visited("Armory") and visitedbefore("Firepit", "Maggotpit")>>First the fire pit, then the maggot pit, now this?!<<endif>>

Again, variables can be substituted for passage name strings:
  1. <<if visitedbefore("Dragon Hoard", $myHome)>>You must've left it at home after meeting the dragon.<<endif>>

The two passage names must be separated by a comma.

Some notes:

  1. This doesn't count use of the <<display>> macro as a visit.
  2. If neither passage has been visited, visitedbefore() will return false.

Feel free to report any bugs to @webbedspace.

PurpleChair's picture

Zombie Pack

zombpack.png
Game file: 

ZOMBIE PACK

Two nights ago, I had a dream about going on holiday with my family. At the end of the week, they all packed their bags and left, while I arrogantly sat in the empty cottage surrounded by dirty clothes and books and stuff. I thought I would have plenty of time to pack my stuff up, but little did I know that the owner of the cottage had arranged for a horde of zombies to swarm in at 7pm and devour anyone who hadn't left yet! I guess this was to discourage lazy bums like me from hanging around after check-out time. The remainder of the dream involved picking up all my junk from around the cottage and its garden, while evading or fighting off zombies.

This is the game of that dream, created in Game Maker 7. Your goal is to pick up your five remaining t-shirts and stuff them into the bag before the zombies get you. There is no sound because I wasted far too much time drawing zombies. The game maker file for the game is included in the zip, in case anyone is interested in checking it out for some reason.

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

You Have to Put the Blocks in the Well

blockwell_screen.png
Game file: 

I was going to make this for this weeks Themed Trainwreck Thursday but oh well. It's the latest game by SoftSoft.

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

Gretel's Grotto

gretel.jpg
Game file: 

My first level! Originally it was full of ghosts, but that didn't work out. So Gretel it is!

It is a boss fight level, but an optional one. You can just run past her and finish the level, but you'll have to kill her if you want 100% treasure!

Made For: 
An event
jan_strach's picture

Nomemoriman

nomemoriman.jpg
Game file: 

Nomemoriman explores the land. Unfortunately he forgets every location as soon as he leaves it. Help nomemoriman gather 6 coins for his brain medicine.

Made For: 
Pirate Kart 2
Crash's picture

Sgt Pepper's Lonely R-Type Band

sgtpeppers.gif
Game file: 

It's an r-type clone

Made For: 
Pirate Kart 2

ZX-82 - Skeletons in the closet

skeleton001.png
Game file: 

Find all bottles to move onto next stage. Avoid skeletons.

Use arrows to move, space to jump.

A tribute to Sinclair ZX Spectrum games.

Author: 
JF Roco
Made For: 
An event
Syndicate content