I made the color sliders, kinda lame, but functional.
I could not create the save file system, don't know exactly how to do it or even if it's possible with love 0.7.2.
EDIT: Is it possible to save files outside the .love file? I think this will probably stop the development of this project.
Lövely Character Creator
Re: Lövely Character Creator
- Attachments
-
- LCC-0.2.love
- (10.15 KiB) Downloaded 127 times
Re: Lövely Character Creator
Sure, but remember to set the identity.xeol wrote:I made the color sliders, kinda lame, but functional.
I could not create the save file system, don't know exactly how to do it or even if it's possible with love 0.7.2.
EDIT: Is it possible to save files outside the .love file? I think this will probably stop the development of this project.
My lovely code lives at GitHub: http://github.com/miko/Love2d-samples
Re: Lövely Character Creator
If you just save files with love.filesystem, without setting any Identity or anything, the files usually just appear in ~/.local/share/love/loveapp.love/ on Linux. I guess it's similar on Windows and OSX. It's kind of weird to have a folder with a dot in its name but it works.
My game called Hat Cat and the Obvious Crimes Against the Fundamental Laws of Physics is out now!
Re: Lövely Character Creator
Yes, also in osx ending ".love" folders turns too in a directly running love app without have it to zip it. Sometimes it's very handy but I always have to make sure that that love file isn't indeed a folder and that is zip packed for distribution.T-Bone wrote:If you just save files with love.filesystem, without setting any Identity or anything, the files usually just appear in ~/.local/share/love/loveapp.love/ on Linux. I guess it's similar on Windows and OSX. It's kind of weird to have a folder with a dot in its name but it works.
Re: Lövely Character Creator
So it will always be on the users directory?Note that you can only set the name of the folder to store your files in, not the location.
Btw, I really can't think of a way to save the image. Apparently there is no function to read a part of the screen into imagedata, or even to read a specific pixel on the screen. If anyone knows a way to do it, tell me or feel free to add it to the code.
Also, I posted in the charas-project forum and way of the pixel yesterday, but got no replies so far ):
- Robin
- The Omniscient
- Posts: 6506
- Joined: Fri Feb 20, 2009 4:29 pm
- Location: The Netherlands
- Contact:
Re: Lövely Character Creator
If you draw to a Framebuffer, rather than directly to screen, you can use Framebuffer:getImageData.
Help us help you: attach a .love.
Re: Lövely Character Creator
Robin wrote:If you draw to a Framebuffer, rather than directly to screen, you can use Framebuffer:getImageData.
It worked, but somehow the resulting image is upside down. Do anyone know why is that?
Here goes the current version:
- Attachments
-
- LCC-0.3.love
- added save feature
- (12.79 KiB) Downloaded 119 times
- TechnoCat
- Inner party member
- Posts: 1611
- Joined: Thu Jul 30, 2009 12:31 am
- Location: Milwaukee, WI
- Contact:
Re: Lövely Character Creator
Bug fixed in 0.8.0: https://bitbucket.org/rude/love/issue/1 ... oader-failxeol wrote:It worked, but somehow the resulting image is upside down. Do anyone know why is that?
Who is online
Users browsing this forum: Amazon [Bot] and 2 guests