Search found 90 matches
- Sun Dec 18, 2016 4:31 am
- Forum: Support and Development
- Topic: Bit-based file loading?
- Replies: 14
- Views: 8226
Re: Bit-based file loading?
Wanted to see how close I could get to how the SNES does things. Also wanted to see how small I could get it.
- Sun Dec 18, 2016 4:27 am
- Forum: Support and Development
- Topic: Bit-based file loading?
- Replies: 14
- Views: 8226
Re: Bit-based file loading?
What do you mean by "raw image data"? Even BMP files have headers and so on. If it's "indexed color" then the header may contain the palette too. A while ago I wrote a pure Lua BMP loader, but I'm not sure if this is really the route you want to be going in. It's indexed color w...
- Sun Dec 18, 2016 4:21 am
- Forum: Support and Development
- Topic: Bit-based file loading?
- Replies: 14
- Views: 8226
Re: Bit-based file loading?
Yes, it's a grayscale raw image data file. (.gray) I was able to load it only half-correctly.
I'm guessing chunk is the entire file data?
I'm guessing chunk is the entire file data?
- Sun Dec 18, 2016 3:53 am
- Forum: Support and Development
- Topic: Bit-based file loading?
- Replies: 14
- Views: 8226
Bit-based file loading?
As opposed to: f = love.filesystem.newFile("data.bin"); f:open("r"); local data = f:read(); f:close(); which, as I understand it, is byte-based file loading because it returns 640 which is the length, in bytes, of the file I loaded. The only problem is each piece of data in the f...
- Sun Dec 18, 2016 3:00 am
- Forum: Support and Development
- Topic: How to load binary images?
- Replies: 6
- Views: 3252
Re: How to load binary images?
I've figured it out now, thanks guys.
- Sat Dec 17, 2016 10:03 pm
- Forum: Support and Development
- Topic: How to load binary images?
- Replies: 6
- Views: 3252
Re: How to load binary images?
The images are 1-bit bitmaps that I made in photoshop, so I don't see why (how) the file format could make a difference if it's raw binary? Though I didn't know PNG supported 1-bit images. EDIT: Tried exporting as a PNG, gave me a 154 byte file instead of the 8 bytes it said when I set the image to ...
- Sat Dec 17, 2016 9:40 pm
- Forum: Support and Development
- Topic: How to load binary images?
- Replies: 6
- Views: 3252
How to load binary images?
Say I have an "image" stored without color, a binary image. I already know how to apply palettes with shaders, but I'd like to know if it's possible to load very small binary images in Love2D (basically black and white images, but much smaller than your average image, where 0 is transparen...
- Sat Dec 17, 2016 9:06 pm
- Forum: Support and Development
- Topic: Sound "time control" (set what part of the sound is playing?? how??)
- Replies: 9
- Views: 4668
Re: Sound "time control" (set what part of the sound is playing?? how??)
Thanks, everyone.
- Fri Dec 16, 2016 11:24 pm
- Forum: Support and Development
- Topic: Sound "time control" (set what part of the sound is playing?? how??)
- Replies: 9
- Views: 4668
Sound "time control" (set what part of the sound is playing?? how??)
Think you have a music file, just one music file, and you want to set the loop point to further in. In things like Game Maker, If I recall correctly that'd be super easy. But I can't find any sort of functions to do so; the names for the "sound positioning" functions was almost completely ...
- Thu Dec 15, 2016 5:35 pm
- Forum: Games and Creations
- Topic: [redacted]
- Replies: 14
- Views: 16569
Re: Mega Man X++
I'm now working on charging: https://gfycat.com/DeficientPlayfulBluejay
And also on a very simple animation editor to make my life 10x easier:
And also on a very simple animation editor to make my life 10x easier: