Search found 35 matches

by Rhinoceros
Fri Nov 04, 2016 2:17 am
Forum: General
Topic: LÖVE Splash Screens
Replies: 4
Views: 1680

Re: LÖVE Splash Screens

I put it in the LÖVE category, it doesn't really fit any of the others

I also added the language bar.
by Rhinoceros
Fri Nov 04, 2016 12:41 am
Forum: General
Topic: LÖVE Splash Screens
Replies: 4
Views: 1680

LÖVE Splash Screens

Hello! I'm just wondering if anyone has any splash screen graphics for LÖVE. I couldn't find any on the wiki ( But I did find these logo graphics ). I'm just thinking that it would be cool to have a wiki page with a couple splash screens on it, so people can choose one for their game. Edit: Made a w...
by Rhinoceros
Sat Oct 22, 2016 9:15 pm
Forum: Support and Development
Topic: [Solved!] Resizing screenshots so that they don't make my save files 10MB
Replies: 11
Views: 2337

Re: Resizing screenshots so that they don't make my save files 10MB

you use bitser.dumps and bitser.loads to save/load tables into strings you can then store where/however you want. Ahh, ok. I got it to serialize the save data, but if I try to put filedata in the table, it throws an error. How should I go about writing filedata to a file as part of a table? - Get t...
by Rhinoceros
Sat Oct 22, 2016 8:50 pm
Forum: Support and Development
Topic: [Solved!] Resizing screenshots so that they don't make my save files 10MB
Replies: 11
Views: 2337

Re: Resizing screenshots so that they don't make my save files 10MB

s-ol wrote: you use bitser.dumps and bitser.loads to save/load tables into strings you can then store where/however you want.
Ahh, ok. I got it to serialize the save data, but if I try to put filedata in the table, it throws an error. How should I go about writing filedata to a file as part of a table?
by Rhinoceros
Sat Oct 22, 2016 8:00 pm
Forum: Support and Development
Topic: [Solved!] Resizing screenshots so that they don't make my save files 10MB
Replies: 11
Views: 2337

Re: Resizing screenshots so that they don't make my save files 10MB

Well, I'm not understanding bitser at all. do I use it in conjunction with Tserial, or can I put table in it? What functions do I use?
by Rhinoceros
Sat Oct 22, 2016 7:21 pm
Forum: Support and Development
Topic: [Solved!] Resizing screenshots so that they don't make my save files 10MB
Replies: 11
Views: 2337

Re: Resizing screenshots so that they don't make my save files 10MB

Does this look right? I've never used canvases for anything before. local scrn = love.graphics.newScreenshot() -- gets the image data for a screenshot local canvas = love.graphics.newCanvas(425,239) -- make a canvas that is the proper dimensions canvas:renderTo(function() love.graphics.setColor(255,...
by Rhinoceros
Sat Oct 22, 2016 7:00 pm
Forum: Support and Development
Topic: [Solved!] Resizing screenshots so that they don't make my save files 10MB
Replies: 11
Views: 2337

Re: Resizing screenshots so that they don't make my save files 10MB

Ok, yeah, they're compressed now to ~2000kb using :encode("png"). But for some reason, tserial doesn't like to load files with fileData in them. It doesn't return a table when I try to unpack it, and if I try to print the result tserial.unpack passes, it gives me invalid UTF-8 errors.
by Rhinoceros
Sat Oct 22, 2016 6:17 pm
Forum: Support and Development
Topic: [Solved!] Resizing screenshots so that they don't make my save files 10MB
Replies: 11
Views: 2337

[Solved!] Resizing screenshots so that they don't make my save files 10MB

Hello, I am in the process of making save files for my game, and I want to make preview images for each save on the load screen. Relevant snippets: save: local scrn = love.graphics.newScreenshot() -- gets the image data for a screenshot. This is unfortunate, because everything is drawn as 1080p and ...
by Rhinoceros
Fri Nov 06, 2015 8:05 pm
Forum: Support and Development
Topic: Returning a List of Variables (x, y, z, ...) From a Table
Replies: 2
Views: 489

Returning a List of Variables (x, y, z, ...) From a Table

Hello, I am currently trying to make enemy typing in a game I am making. I am using HardonCollider (HC) to construct polygons for enemy shapes, and for some reason it hates it when I try to pass a table as an argument, instead of a list of raw numbers (in the form func(1,2,3,4,5,6,etc.)). Is there a...
by Rhinoceros
Mon Jun 09, 2014 9:41 pm
Forum: Games and Creations
Topic: Golden Harvest
Replies: 40
Views: 10639

Re: Golden Harvest

Hello Kikito, thanks for you reply. A good friend of mine who is a fan of games like Dwarf Fortress and roguelikes, has told me the exact same thing, and after a long discussion we've came to the conclusion I'll add the capability of using texturepacks much like Minecraft does. The original texture...