pouët.net

The Secret of Mental Island by Desire [web]
screenshot added by homecoded on 2016-03-20 21:13:59
platform :
type :
release date : march 2016
release party : js1k 2016
compo : javascript 1k
ranked : n/a
  • 11
  • 2
  • 1
popularity : 53%
 53%
  • 0.71
alltime top: #13859
added on the 2016-03-20 21:13:59 by homecoded homecoded

popularity helper

increase the popularity of this prod by spreading this URL:

or via: facebook twitter pinterest tumblr

comments

I threw this entry together over-night. It represents parts of a work-in-progress project I am working on: I am trying to create a music notation format that can be used in JavaScript 1K entries. I achieved something, but there is still a long way to go.

I made this entry only to have an entry for this year's JS1K. While the demo is nothing spectacular but this time round I at least took the time to write a little post-mortem: https://github.com/homecoded/demo/blob/master/HC04-secret-of-mental-island-by-homecoded/readme.md

I added a wrong screenshot, too.The correct one is this:

BB Image
I already made a change request.
added on the 2016-03-20 21:30:58 by homecoded homecoded
u should add "Romanesco 2.0"
added on the 2016-03-21 01:21:34 by Salinga Salinga
music vote :)
rulez added on the 2016-03-21 06:02:55 by sensenstahl sensenstahl
Since the additional links are not added yet:

- online version

Additional note:
The visuals only works correctly on Chrome. The sea at the bottom is cut off on Firefox and Safari.
added on the 2016-03-21 08:39:44 by homecoded homecoded
Nice!
Couldn't resist doing:

THE SECRET OF MENTAL ISLAND with clouds and title screen
BB Image


Hope you don't mind.
Obviously this is less future proof but hey... it looks cool with the title and fluffy clouds.
rulez added on the 2016-03-21 16:24:32 by p01 p01
@p01 You did exactly what I originally wanted to do! Yet, I did not get it to fit. Man, you outclass me, once again! This is just awesome!

Now, I need to study your changes. Music sounds a little off now here and there. Of course, simplifying stuff does this.
added on the 2016-03-21 16:59:20 by homecoded homecoded
cute thingie =) has the charm of actual music instead of harmonic wave patterns (like, you know, in my own entries ^^)

also, nice p01 hack ;) now i'm quite tempted to make it even more look like the (wrong) screenshot
rulez added on the 2016-03-21 17:00:25 by HellMood HellMood
Nice theme with the music
rulez added on the 2016-03-21 19:54:20 by Serpent Serpent
Alright @p01, I improved the music generation in your update and while I was on it, animated the clouds. http://homecoded.com/prods/hc-04/after_party.html

Code is at Github (see links above). And I left plenty room for improvement.
added on the 2016-03-23 10:32:58 by homecoded homecoded
Nice! The Math.pow(..) was obvious, but I was too lazy/busy to fiddle with the song data at work :p

Glad to see it really paid off.
added on the 2016-03-23 10:50:30 by p01 p01
Uber quick shot with my daughter jumping around:
Code:<canvas id="a"></canvas><script> c=a.getContext('2d'); A=new AudioContext,C=A.createScriptProcessor(a.width=1024,1,1),s=0,C.connect(A.destination),C.onaudioprocess=function(l){for(b=l.outputBuffer.getChannelData(x=0),a.height=360,c.fillStyle="#214",c.fillRect(0,x,1024,360),c.fillStyle="#46f",c.globalAlpha=.1,c.fillRect(0,x,1024,x+=36),c.fillRect(0,x,1024,x+=36),c.fillRect(0,x,1024,x+=36),c.fillRect(0,x,1024,x+=36),c.fillRect(0,x,1024,x+=36),c.fillRect(0,x,1024,x+=36),c.fillRect(0,x,1024,x+=36),c.fillRect(0,x,1024,x+=36),c.fillRect(0,x,1024,x+=36),c.globalAlpha=1,c.font="62px serif",c.fillText("\u2601",4*s%1400-300,220),c.fillText("\u2601",6*s%1400-300,220),c.font="110px serif",c.fillText("\u2601",7*s%1400-300,220),c.font="220px serif",c.fillText("\u2601",9*s%1400-300,220),c.fillStyle="#002",x=0;x<1024;x++,s+=6.25/A.sampleRate)c.fillRect(x,330+Math.min(277*Math.sin(x/117)+4*Math.sin(x/11)),1,360),b[x]=(s*55*Math.pow(1.059463,parseInt(" qqqtsqooqqqqqqooomlommmmllllllqqqqqtsqooqqqqqqqsttttvvvvssstsqosttttssssqqqtsqosttttssssqqqtsqooqqqqqqqqqqqqomlommmmllllllllllllllllllllllllllooqqhhhhhhmljmoohhhhhhllhhmmooooovovtvttssqqllllllgghhrrrrrrrrrrrrrrrrxxttttttssttstqtttmmmmmmmmmmmmmmjjggggggeeggegcc"[0|s%264],36)+9)&1)+(s*55*Math.pow(1.059463,parseInt("bbnqbbnn99lljjvzeeqqeellggggsnnzbbnnbbnn99lljjvzeeqqeeqqggggllxxlllleeqqaamybbnn99lleeii66iibbnq99lo77jn77jj77jneeqqggssnnnnbbnqeennllllbbnueenn99lpjjjjjjjjjjjjjjeeiillllll77lu11449999bbbb6622222222bbccggjjjjjjjjjjoonniieeeeeeeeeeebeeiillllllllllqqppllggggggggggll"[0|s%264],36))&1)-1,c.fillRect(x,330+b[x],1,360);c.fillStyle="#B4B",c.font="16px serif",c.fillText("THE SECRET OF",480,98),c.font="62px serif",c.fillText("MENTAL",420,150),c.fillText("ISLAND",480,196)} </script>
compresses down to 978 bytes.

Off.
added on the 2016-03-23 11:11:11 by p01 p01
Just awesome! I knew I could count on you :D

Now, we may have space for a little fire on top of Melee Island. Or, I blow the music up a bit. Either a third voice or I bring the intro back. More music would be closer to my original intend.
added on the 2016-03-23 13:04:06 by homecoded homecoded
Nice rendition of the Monkey Island theme in 1k. Cool! :)
rulez added on the 2016-03-23 19:41:37 by StingRay StingRay
Nice :D
rulez added on the 2016-03-23 20:38:57 by Saga Musix Saga Musix
I DEMAND FIRE ON MELEE ISLAND OR MY THUMB BACK!!
rulez added on the 2016-03-24 00:29:19 by psenough psenough
Thumbs up for the name. xd
rulez added on the 2016-03-24 01:57:28 by elend elend
You guys rock! BB Image BB Image

I demand an official rerelease once the gap to 1024 is filled with even more content ^^
added on the 2016-03-24 10:47:53 by HellMood HellMood
Just check the bl.ocks to see my latest changes. It's down to 917 bytes at the moment.
added on the 2016-03-24 19:27:56 by p01 p01
@p01 If you keep that pace we'll have the complete first act of the game in 1K by summer. :-D
added on the 2016-03-24 19:34:20 by homecoded homecoded
Not my cup.
sucks added on the 2016-03-27 21:28:21 by Photon Photon
cool 'n funny
rulez added on the 2016-03-30 19:38:35 by guyfrost guyfrost
@psenough Check out the new after-party version. I lit up some fire. :)http://homecoded.com/prods/hc-04/after_party.html
added on the 2016-03-31 21:44:56 by homecoded homecoded
i'm still following your improvements from time to time (twitter & github, maybe i should get both?)

just a small suggestion to add "reverb", taking the latest github version
(works in chrome only so far)

Code:c.fillRect(0, d, 1024, d < 336 ? 1 - d / 336 : 1), c.fillRect(d, 336 + (b[d++] = (22 * s * Math.pow(1.059463, parseInt(

to
Code:c.fillRect(0, d, 1024, d < 336 ? 1 - d / 336 : 1),b[d]*=.6, c.fillRect(d, 336 + (b[d++] += (22 * s * Math.pow(1.059463, parseInt(


adds 10 bytes (raw) but sounds better =)

secret_island_reverb
added on the 2016-04-01 22:05:01 by HellMood HellMood
Yay! Helmoooood! This is great! Will give it a try. We still have some Bytes left. If all fails I can use p01's version of the fire to get more room. So reverb is a must have. :-)
added on the 2016-04-02 07:52:14 by homecoded homecoded
what elend said.
rulez added on the 2016-05-06 23:38:36 by iks iks
proper

submit changes

if this prod is a fake, some info is false or the download link is broken,

do not post about it in the comments, it will get lost.

instead, click here !

[previous edits]

add a comment