Simple Sprite Generator

Showcase your libraries, tools and other projects that help your fellow love users.
User avatar
OttoRobba
Party member
Posts: 104
Joined: Mon Jan 06, 2014 5:02 am
Location: Sao Paulo, Brazil

Re: Simple Sprite Generator

Post by OttoRobba »

This is so cool, what a great way to get good ideas and patterns!

The results are so awesome
User avatar
DaedalusYoung
Party member
Posts: 413
Joined: Sun Jul 14, 2013 8:04 pm

Re: Simple Sprite Generator

Post 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?
Attachments
Screen Shot 2014-05-04 at 14.31.29.png
Screen Shot 2014-05-04 at 14.31.29.png (8.92 KiB) Viewed 16627 times
User avatar
SiENcE
Party member
Posts: 805
Joined: Thu Jul 24, 2008 2:25 pm
Location: Berlin/Germany
Contact:

Re: Simple Sprite Generator

Post 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!
User avatar
PriorBlue
Prole
Posts: 43
Joined: Fri Feb 28, 2014 3:46 am
Location: Munich, Germany

Re: Simple Sprite Generator

Post 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. :)
User avatar
Jasoco
Inner party member
Posts: 3726
Joined: Mon Jun 22, 2009 9:35 am
Location: Pennsylvania, USA
Contact:

Re: Simple Sprite Generator

Post 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.
Active Diamond
Prole
Posts: 1
Joined: Sun Sep 22, 2024 1:59 am

Re: Simple Sprite Generator

Post 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!
Attachments
ssg-love-v11.5.love
(16.29 KiB) Downloaded 2403 times
User avatar
dusoft
Party member
Posts: 635
Joined: Fri Nov 08, 2013 12:07 am
Location: Europe usually
Contact:

Re: Simple Sprite Generator

Post by dusoft »

Also the colors don't seem to be working well, but otherwise nice redo!
User avatar
darkfrei
Party member
Posts: 1197
Joined: Sat Feb 08, 2020 11:09 pm

Re: Simple Sprite Generator

Post 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'
:awesome: in Lua we Löve
:awesome: Platformer Guide
:awesome: freebies
User avatar
pgimeno
Party member
Posts: 3656
Joined: Sun Oct 18, 2015 2:58 pm

Re: Simple Sprite Generator

Post 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).
Attachments
ssg11.love
(16.76 KiB) Downloaded 2515 times
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 1 guest