based on a true story
Yeah putzed around with unity a bit. call it an art game!
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.
Update: Twine 1.4 has a reworked transition engine, so this script code is no longer applicable.
If you want more types of transitions, see also this code for an alternative transition engine for Sugarcane (more versatile but not compatible with this script).
Previously I was experimenting with alternatives to Twine's default fade-in animation. Now, I've figured out how to make such alterations with a single block of JavaScript insertion that you can drop into your story.
Here's a block of code that, when inserted into a Sugarcane formatted Twine game, changes the passage transition to a dissolve, where the previous passage fades out at the same time as the next passage fades in.
[Note: This will not work with the one-page Jonah format.]
addStyle(".passage { position:absolute !important; } ");History.prototype.display=function(d,b,a){var c=tale.get(d);this.history.unshift({passage:c,variables:clone(this.history[0].variables)});this.history[0].hash=this.save();var e=c.render();if(a!="offscreen"){var f=document.getElementById("passages").firstChild;if(f){fade(f,{fade:"out",onComplete:function(){document.getElementById("passages").removeChild(document.getElementById("passages").firstChild);}});}document.getElementById("passages").appendChild(e);if(a!="quietly"){fade(e,{fade:"in"});}}if((a=="quietly")||(a=="offscreen")){e.style.visibility="visible";}if(a!="offscreen"){document.title=tale.title;this.hash=this.save();document.title+=": "+c.title;window.location.hash=this.hash;window.scroll(0,0);}return e;};History.prototype.watchHash=function(){if(window.location.hash!=this.hash){if((window.location.hash!="")&&(window.location.hash!="#")){this.history=[{passage:null,variables:{}}];document.getElementById("passages").style.visibility="hidden";if(!this.restore()){alert("The passage you had previously visited could not be found.");}document.getElementById("passages").style.visibility="visible";}else{window.location.reload();}this.hash=window.location.hash;}};
Just put this in a vacant passage tagged with "script".
Note that in order to do this, it will set the passage divs to use the style "position: absolute", so keep that in mind if you're using CSS that requires a different positioning.
What this actually does is replace the Twine engine's History.prototype.display function with an alternative version that sets the previous passage to fade out and then be removed, instead of just immediately removing it. Since the passage divs are set to absolute positioning, they're drawn one top of the other while they simultaneously exist, instead of being vertically arranged.
This also replaces History.prototype.watchHash, which controls the Back button behaviour. Again, this is simply to keep the previous passage(s) from being removed immediately, and instead letting History.prototype.display do it. (If you're using a hack that modifies History.prototype.watchHash, you will probably have to do some tweaking to this or the other to get this to work.)
See attachment for an example (applied to "Town" by Anna Anthropy).)||(a==
Attachment | Size |
---|---|
town_dissolve.html | 47.79 KB |
First game except for some messing around with a disk copy of Game Maker I found when I was like, 9. Could definitely be called a trainwreck.
Made in Klik and Play, and I probably messed some things up with saving/uploading whatever so I'd be happy to change anything needed!
Bungalo likes to create games. Only problem is that he sucks at creating them and gets sidetracked with other game ideas a lot. He has many games on the back-burner, and continues to make more crappy games.
my first flickgame. made in the middle of the night. proper.
inspired by Highlights, the magazine for Children's recurring column/morality tale Goofus and Gallant.
I've adapted it into a choose your own adventure version.
2 possible endings!
With literally 4 minutes left of GDC Play, here it is, my 25th and (I think) last submission to the Pirate Kart.
This is a sequel to my previous game, The Adventures of Bulb Boy, and this game might make more immediate sense if you've played that one. Instead of clearing levels, in this one, you're killing as many enemies as you can before you die yourself.
ARROWS: Move
X: Jump
Z: Raise wand to attract electricy
C: Switch on and off coils
A game made in VBScript. About fatalism. Go figure.
A followup to my Batari Basic game Pest Control in Space. This time there's more bees, and the action is in 360 degrees! (Oops I rhymed)
Move the mouse left and right to move your ship along the perimeter. Hold the mouse button to fire. Destroy the hive and any remaining bees to progress to the next level. Hitting a bee with your ship will kill you. As you progress, the hive becomes larger, the bees spawn more frequently, and they descend more rapidly!
Important:
Press C to insert a credit, and S to start the game.
Also, if you stay on the title you can watch a little demonstration.
Update: Made a couple fixes. Redownload if you've already downloaded.