I remember making an image editor in Visual Basic once that loaded effects as VBScript files. You could try something like that, so that people can write their own effects. Just load all dlls in an /effects/ directory or something.
[QUOTE=Darwin226;28685518]So before adding a potential path you check if the next node is in the set, right?[/QUOTE]
Sort of. It starts out with the whole thing marked as visited, then it does a set at one half the resolution of the maze. The coordinates are doubled, and a 3x3 square is marked as unvisited where the set is. I don't know why I didn't think of what you said. It seems like that would be a much simpler way to do it.
[QUOTE=Overv;28688665]I remember making an image editor in Visual Basic once that loaded effects as VBScript files. You could try something like that, so that people can write their own effects. Just load all dlls in an /effects/ directory or something.[/QUOTE]That does sound pretty good. This is mainly to replace the ugly default image viewer; however I may try something like that..
[b]Edited: [/b]
Woo! I got my first effect working!
Before:
[img]http://gyazo.com/0c7ac585ca0372f21f2ce66a3e99d551.png[/img]
After:
[img]http://gyazo.com/4478e5db475897c3c7773433fd0a81cc.png[/img]
[QUOTE=Xeon06;28677736]I'm gonna have to investigate why it's not working in Firefox...[/QUOTE]
While you're at it...the sand can only move left or right if it's on a solid block. So you get: If can move down, move down, if can move left or right, move left or right, if not, stay.
Switched to LuaJIT, much faster. Added health to the zombies, you can now kill 'em and they can attack you.
[img]http://img814.imageshack.us/img814/858/51ddd7426885415094afba7.png[/img]
[url]http://dl.dropbox.com/u/8617556/Distro.rar[/url]
What was that about you harvesting passwords again?
I made a few simple 3D models for the game I was working on, which was all fine and so until I realized I could use textures.
[img_thumb]http://ace.haxalot.com/pictures/random/zscreen/SS-2011-03-19_20.23.23.png[/img_thumb]
This is why I'm a programmer and not a modeller, I can't even get a proper UV map done
Hey, even Tumblr use else if else if else if!
[url]http://www.neowin.net/news/mistyped-tag-leads-to-exposure-of-tumblr-db-passwords-and-api-keys[/url]
Does anyone here not have Portal? I still have a spare copy and can't find anyone, so I thought someone in WAYWO might like it :3:
[QUOTE=NovembrDobby;28693504]Does anyone here not have Portal? I still have a spare copy and can't find anyone, so I thought someone in WAYWO might like it :3:[/QUOTE]
Hey, I don't have Portal! Or any other Steam game. I'm poor :smith:
Has anyone else ever read up about pixel art scaling algorithms? They can turn this...
[img]http://upload.wikimedia.org/wikipedia/commons/c/cb/Test_nn.png[/img]
Into this...
[img]http://upload.wikimedia.org/wikipedia/commons/f/f5/Test_hq3x.png[/img]
Pretty awesome right? See [url]http://en.wikipedia.org/wiki/Pixel_art_scaling_algorithms[/url]. Someone should try to integrate an algorithm like this into an image editing application... I know that a SNES emulator had this build-in but I'd like to specify my own images to be scaled :v:
[editline]19th March 2011[/editline]
Another example:
[img]http://upload.wikimedia.org/wikipedia/commons/e/e9/2xsai_example.png[/img]
[QUOTE=I]Some time ago I had a nice idea of how to express sets of values as probability density functions with peaks around the possible values. I chose Haskell because it's perfect for this kind of stuff. ANDing two sets would be equivalent to multiplying their functions, and ORing them could be done with addition (and on both instances they'd also be scaled so that their integrals from negative to positive infinity would equal 1 again). I assume fuzzy logic might work something like this but I've never bothered to read up on it. Negating however was a bit problematic because a negated probability density function should still have an integral of 1 despite extending to negative and positive infinities as a nonzero, equally high probability. Until I had some sudden revelation of truth and I started making changes to the code everywhere. That just ruined it and I abandoned the project.[/QUOTE]
Inspired by my previous failure I redesigned and rewrote it all and it seems to be working pretty well. I'm still working on trying to make it easily accessible and neatly presentable, but the basic functions are there.
For example, it's simple enough to create a probability density function that basically means "our desired value is somewhere in the vicinity of 3 or perhaps 5". If you then create another function that you give the value of "approximately 3.2", and then you AND these two functions, you're given another function that, when analyzed, reports that the global maximum is about 3.1 with a confidence of 30% that it lies in the immediate vicinity or something.
I'll still have to come up with a way to create (continuous) plateau functions to represent ranges of values. I was thinking of fourier series but they have two problems: they're periodic and the gibbs phenomenon might throw the probability density function below zero, which is undesirable.
NovembrDobby is, by far, the nicest person I've seen in this forum so far :love:
[QUOTE=DeadKiller987;28693870]Hey, I don't have Portal! Or any other Steam game. I'm poor :smith:[/QUOTE]
Enjoy
[QUOTE=Dlaor-guy;28694101]Has anyone else ever read up about pixel art scaling algorithms? They can turn this...
[img_thumb]http://upload.wikimedia.org/wikipedia/commons/c/cb/Test_nn.png[/img_thumb]
Into this...
[img_thumb]http://upload.wikimedia.org/wikipedia/commons/f/f5/Test_hq3x.png[/img_thumb]
Pretty awesome right? See [url]http://en.wikipedia.org/wiki/Pixel_art_scaling_algorithms[/url]. Someone should try to integrate an algorithm like this into an image editing application... I know that a SNES emulator had this build-in but I'd like to specify my own images to be scaled :v:
[editline]19th March 2011[/editline]
Another example:
[img_thumb]http://upload.wikimedia.org/wikipedia/commons/e/e9/2xsai_example.png[/img_thumb][/QUOTE]
[url]http://code.google.com/p/hqx/[/url]
OK then try this on for size, but be warned, this will make nullsquered code look like, well deserving of a programming king.
[QUOTE=Richy19;28694866]Mess[/QUOTE]Oh god, what is that mess? I can't even tell what it does.
[QUOTE=Richy19;28694866]...[/QUOTE]
There are no words that express how horrible that code is
[QUOTE=Vbits;28694548][url]http://code.google.com/p/hqx/[/url]
OK then try this on for size, but be warned, this will make nullsquered code look like, well deserving of a programming king.[/QUOTE]
:wtc:
Well, at least it produces decent results :v:
[img]http://i.imgur.com/HkVCO.png[/img]
[img]http://i.imgur.com/YBfSo.png[/img]
I uploaded some others too but then the page 500'd and I lost all the URL's :sigh:
[QUOTE=Vbits;28694548][url]http://code.google.com/p/hqx/[/url]
OK then try this on for size, but be warned, this will make nullsquered code look like, well deserving of a programming king.[/QUOTE]
Is there a C# version available anywhere?
It would be nice to be able to do simple pixel art sprites annd then have this turn them into beautiful game sprites
BTW it really doesnt like transparent images
[QUOTE=Dlaor-guy;28695188]:wtc:
Well, at least it produces decent results :v:
[img_thumb]http://i.imgur.com/HkVCO.png[/img_thumb]
[img_thumb]http://i.imgur.com/YBfSo.png[/img_thumb]
I uploaded some others too but then the page 500'd and I lost all the URL's :sigh:[/QUOTE]
Enlarge some NES game sprites or something :3:
[img]http://images.overvprojects.nl/SS-2011-03-19_23.31.10.png[/img]
I still haven't given mine to anyone either. Anyone else who wants Portal? :buddy:
I also got 2 off them!
[QUOTE=esalaka;28695830]Enlarge some NES game sprites or something :3:[/QUOTE]
SNES, but close enough.
Before
[media]http://i.imgur.com/GoMFb.png[/media]
[media]http://i.imgur.com/gJqqi.png[/media]
After
[media]http://i.imgur.com/jejwV.png[/media]
[QUOTE=BlkDucky;28696607]SNES, but close enough.
Before
[media]http://i.imgur.com/GoMFb.png[/media]
[media]http://i.imgur.com/gJqqi.png[/media]
After
[media]http://i.imgur.com/jejwV.png[/media][/QUOTE]
Try this?
[img]http://2.bp.blogspot.com/_9A-CPJHZyPM/TN-cAuBduoI/AAAAAAAAADk/9X2a8pXf2dY/s1600/-cancelled--20070321014127735.jpg[/img]
Blast, everyone's giving away games I have. :(
That reminds me, I still need to preorder Portal 2, but I'm piss broke.
Maybe we should get back on topic though..