The demoscene sourcecode thread

category: code [glöplog]
added on the 2012-04-19 19:15:29 by magic magic
added on the 2012-04-19 20:18:42 by Adok Adok
And there still is holon's sumo (sources)!
added on the 2012-04-20 00:21:10 by Y0Gi Y0Gi
ah, nice. there's a "binary" avail for sumo to play with? :)
added on the 2012-04-20 09:33:55 by Maali Maali
added on the 2012-04-20 10:22:07 by v3nom v3nom

Since the sourcecode sharing started to become really cluttered, here are the ones I quickly scraped together:

And you took it upon yourself to set things straight!
added on the 2012-04-20 19:19:00 by superplek superplek
Yet the pouet board's design doesnt allow easy sorting of posts by category...
added on the 2012-04-20 19:58:52 by mudlord mudlord
Seeing how all these sources provide a great reference for anyone interested in learning new stuff Loady & I decided to release the complete sources for Timur Lenk and Fistpig

So for a bit of 100% AMIGA asm straight outta 2003 check out: https://github.com/kusma/Spb-Eph-Amiga-4k
sources of Conspiracy intros and tools. Unfortunately, they did not release their modern tool (a.D.D.i.c.t. 3 I suppose?).
added on the 2012-04-23 20:43:26 by Manwe Manwe
Manwe: it's actually listed in the first post.
added on the 2012-04-23 22:19:52 by gloom gloom
Well, add Plasticator then.
Demotool with open source. Products:
Write me please 64k by f0x
The war is over 64k by Quite
Synthesized World 2 music disk by SandS
and many more
added on the 2012-04-24 12:50:08 by Manwe Manwe
manwe: addict3 has a slight problem being a tool we use for work projects, so that'd have to wait :/ (in fact it's hardly a demotool anymore, most of demo-specific stuff are deprecated in it.)
added on the 2012-04-24 12:54:08 by Gargaj Gargaj
Garg: for what work projects? is it gamedev or something else?
added on the 2012-04-24 18:18:07 by ton ton
Gargaj: so what does it actually DO these days?
Gargaj: yeah, tells us what a tool that's not a demotool is used for - now!
added on the 2012-04-24 18:34:46 by gloom gloom
I had no idea gargaj was so good with political speeches.
added on the 2012-04-24 18:40:19 by xernobyl xernobyl
oh look, a shiny object.
BB Image

Looking forward to more code drops from more groups.
added on the 2012-04-24 18:43:38 by metoikos metoikos
All my demotools have always been open source (i dont see them on pouet prod source page thats why i add them here):

Polydraw 1.0 (deprecated, but sources are somewhat easier to read)

Polydraw 2.0 (contains both win32 interface and script compiler (EVAL library) sources)
added on the 2012-04-26 10:46:41 by Tigrou Tigrou
Komposter is my demotool for creating music for OSX/Linux/BSD 4k/64k intros using modular "virtual analog" synths.

It's 100% C and uses POSIX threads, OpenGL/GLUT, OpenAL and Freetype so it should be relatively easy to compile for other platforms as well. Example playback code in x86 assembly is also included.
added on the 2012-04-26 14:51:23 by firehawk firehawk

Tracker and music synth by Arvid & Jonas Norberg (aka Hydris & Spruce / Linefeed), built in 2001 for the BeOS (so, you'll likely not find many uses for it...). I'm currently updating it for the Haiku operating system (so it'll still be of limited use).

I also have the source for their \n demo (and other bonus stuff :)) somewhere in http://pulkomandy.tk/drop/beos_sources.zip.

All of this is under the MIT licence. Feel free to do anything useful (or useless) with it.
It might be useful for anyone: http://web.ist.utl.pt/tcf/rand/GaussianBlur.py
It's a script to calculate weights and offsets for gaussian blur on linearly interpolated textures based on http://rastergrid.com/blog/2010/09/efficient-gaussian-blur-with-linear-sampling/
added on the 2012-04-29 19:59:20 by xernobyl xernobyl

[in the vain hope this will magically generate more conversation like this, and sourcecode dumps]
added on the 2012-04-30 16:03:57 by metoikos metoikos
Ate Bit, Cosine and Orb stuff by me for c64/vic-20 download
added on the 2012-05-08 21:25:34 by 4mat 4mat
I just pushed glrez's sources on github :)
added on the 2012-05-11 10:57:38 by rez rez
rez: i remember you did a mac port at some point, but the sound never worked on my macbookpro, can you put up the compile/toolchain of the mac port on github aswell? would be nice to have that fixed.
added on the 2012-05-11 11:29:46 by psenough psenough