Spare Code ? Dump It here.
Socks
London, UK.Member Posts: 12,822
I was thinking, there's a thread for 'Free Art and Graphics', but there is also probably quite a lot of interesting little bits of code that gets generated by people but doesn't end up being used for anything, various dead-ends and experiments that end up just sat in some folder gathering dust.
It might be a custom font engine that you ended up rejecting or a clever proximity detector that didn't quite fit in with your game . . . . . so maybe there is scope for a thread where people can post interesting ideas and experiments that they didn't end up using - but might be useful for others ? They may even be just useful little demos you've made for other people.
I don't know about anyone else but I have tons of this crap ! Here's my first donation:
A kind of furry worm thing, with a fresnel effect, that just wonders around the screen, it wasn't quite what I wanted to do but I thought it looked quite interesting so it was spared 'death-by-bin™':
http://www.mediafire.com/?f381s5rw79zj3p8
It might be a custom font engine that you ended up rejecting or a clever proximity detector that didn't quite fit in with your game . . . . . so maybe there is scope for a thread where people can post interesting ideas and experiments that they didn't end up using - but might be useful for others ? They may even be just useful little demos you've made for other people.
I don't know about anyone else but I have tons of this crap ! Here's my first donation:
A kind of furry worm thing, with a fresnel effect, that just wonders around the screen, it wasn't quite what I wanted to do but I thought it looked quite interesting so it was spared 'death-by-bin™':
http://www.mediafire.com/?f381s5rw79zj3p8
Comments
http://www.mediafire.com/?y836v844vhv943d
All the values are drive by 'self.time', but you can drive them by anything you want, like rotation or actor position or a slider (for colour selection) etc etc.
http://www.mediafire.com/?gucb7w3phmcjbb8
http://www.mediafire.com/?q6t7df0ua3dd1xd
Version 2:
http://www.mediafire.com/?fz8xild8x7ccv1n
(Pick up the ring and throw it at the word magic).
http://www.mediafire.com/?rsjpo66jgzqrwr2
Ditto; excellent stuff, @Socks :-)
""You are in a maze of twisty passages, all alike." - Zork temp domain http://spidergriffin.wix.com/alphaghostapps
Have fun.
Lump Apps and My Assets
I should have something that I used for myself or as an example for others that I could share. Let me see...
Found them:
https://dl.dropbox.com/u/8244920/AccelerometerSimple.zip
https://dl.dropbox.com/u/8244920/CoverFlow.zip
https://dl.dropbox.com/u/8244920/OnOff_Button.zip
https://dl.dropbox.com/u/8244920/Windshield.zip
https://dl.dropbox.com/u/8244920/ActorColors.zip
https://dl.dropbox.com/u/8244920/LineRotation.zip
https://dl.dropbox.com/u/8244920/OrbitRotation.zip
https://dl.dropbox.com/u/8244920/SceneRotation.zip
Also I collected some demos I made in the past here:
http://markontheiron.com/gs_demos_templates.html
Believe it or not, but @Socks actually positioned 1x1 actors to form the word "magic" ! That would be a cool splash screen, but it would take forever to position 1x1 actors in the particular color and position for one, but it's also very performance heavy, so I wouldn't recommend it.
Thread looks nice.
Chakku
[EDIT . . . some really useful stuff in there, it's interesting to see others use a completely different way to do something]
Constrain self.position.X - 200*sin( game.Time *100)+512
Constrain self.position.Y - 200*cos( game.Time *100)+384
This is the path of the circle.
Constrain self.position.X - AAA*sin( game.Time *BBB)+CCC
AAA = radius of the circle
BBB = speed of movement
CCC = centre point of the circle
Change BBB to a larger value, but bear in mind that you will then need to reduce the amount of time the spawner is working for.
So if you double the speed - from 100 to 200 - then you would need to change the timed spawning from For 3.6 seconds to For 1.8 seconds.
http://www.mediafire.com/download.php?1919ausbfo0s82k
http://www.mediafire.com/?7e7ui697zwv4704
http://www.mediafire.com/?j93zerqyx7ccjaf
Wobbly circle thing:
http://www.mediafire.com/?ykk9gc2owc18vxk
Nice find, cheers.