Page 2 of 2

Re: Simple Sprite Generator

Posted: Mon May 05, 2014 11:58 pm
by OttoRobba
This is so cool, what a great way to get good ideas and patterns!

The results are so awesome

Re: Simple Sprite Generator

Posted: Tue May 06, 2014 3:23 am
by DaedalusYoung
Very fun to play with :) I found one I liked, made a screenshot, and then found some more on that same page, that I just accidentally captured.

I was wondering though, this of course only creates symmetrical images. So any faces/monsters/characters you get are looking directly at you. Have you tried creating non-symmetrical sprites with it? Do you still get usable things with that or are they all too random then?

Re: Simple Sprite Generator

Posted: Tue May 06, 2014 7:49 am
by SiENcE
I have seen this before on LudumDare.
http://www.ludumdare.com/compo/2012/09/ ... generator/
http://www.ludumdare.com/compo/2013/04/ ... rator-1-0/

I find this algorithms very interesting esp. for Rougelikes, Tetris or 3 Match games :awesome: .

I'm looking forward to see a game made out of these algorithms!

Re: Simple Sprite Generator

Posted: Tue May 06, 2014 7:18 pm
by PriorBlue
SiENcE wrote:I have seen this before on LudumDare.
Yes, this was exactly my source of inspiration and the guy put animations and multiple colors in it, too! But i want to code it in love by myself, so i can maybe use the algorithm in future projects.
DaedalusYoung wrote:Have you tried creating non-symmetrical sprites with it? Do you still get usable things with that or are they all too random then?
These were my first tries, but the results where a little bit to chaotic, so i removed the possibility. Maybe i can put it back again with an additional option.

Here is another site with great results (and with colors!):
http://img.uninhabitant.com/spritegen.html

I don't know how they are doing there generation, but i think i'm pretty close to there quality. :)

Re: Simple Sprite Generator

Posted: Tue May 06, 2014 9:15 pm
by Jasoco
PriorBlue wrote:
Davidobot wrote:This is great! I'm going to use this to generate player icons for my game, if you don't mind of course. Would you like me to credit you?
You can do what ever you want with the code/icons and you don't need to credit me. When you find a cool icon, give credit to the god of randomness :), but i think it's even cooler, if everybody think, you are a great pixel artist ;)

@kikito: oh, thanks. I will fix this.

And at least, my best founds for now (recolored):
(Bear Costume, Wolf emblem, Gas mask, Panda skull, Flying whatever)
Image
Those are so amazing I am actually jealous.

The gas mask looks like the mask the Pork Army enemies wore in Mother 3.

Re: Simple Sprite Generator

Posted: Sun Sep 22, 2024 2:09 am
by Active Diamond
Sorry to necro but I just stumbled upon this and found it really interesting, so I spent a few minutes porting it over to Love 11.5 from 0.9.1. It mostly trivial, just changing some constants and what not.

As it stands, the Blur shader doesn't work as trying to use it just crashes. It has something to do with canvases not being swapped back-and-forth before drawing to them but I ran out of time to fix it. If someone else can get to it, that'd be great!

Re: Simple Sprite Generator

Posted: Mon Sep 23, 2024 8:56 pm
by dusoft
Also the colors don't seem to be working well, but otherwise nice redo!

Re: Simple Sprite Generator

Posted: Tue Sep 24, 2024 8:25 am
by darkfrei
Active Diamond wrote: Sun Sep 22, 2024 2:09 am Sorry to necro but I just stumbled upon this and found it really interesting, so I spent a few minutes porting it over to Love 11.5 from 0.9.1. It mostly trivial, just changing some constants and what not.

As it stands, the Blur shader doesn't work as trying to use it just crashes. It has something to do with canvases not being swapped back-and-forth before drawing to them but I ran out of time to fix it. If someone else can get to it, that'd be great!
Changed Bloom:

Code: Select all

Error

lib/postshader.lua:82: Cannot render a Canvas to itself!


Traceback

[love "callbacks.lua"]:228: in function 'handler'
[C]: in function 'draw'
lib/postshader.lua:82: in function 'addEffect'
main.lua:205: in function 'draw'
[love "callbacks.lua"]:168: in function <[love "callbacks.lua"]:144>
[C]: in function 'xpcall'

Re: Simple Sprite Generator

Posted: Thu Sep 26, 2024 6:57 am
by pgimeno
Repaired everything. Now it works exactly the same as the 0.9.1 version as far as I can tell (compared side-by-side).