Search found 32 matches

by deströyer
Sat May 13, 2023 3:27 pm
Forum: General
Topic: Memory leak..... Help....
Replies: 3
Views: 869

Re: Memory leak..... Help....

some maybe obvious questions, but: - are you remembering to remove entries from your notes table when they move offscreen? - are you creating duplicates of the sprite (eg. every frame as opposed to just when you initialize)? without any code, we can't really do anything except guess at what the caus...
by deströyer
Sat Feb 18, 2023 7:40 pm
Forum: Support and Development
Topic: LOVE should stop ignoring serious developers
Replies: 8
Views: 1562

Re: LOVE should stop ignoring serious developers

@be-thomas Sounds like you would rather program in C, maybe you should look into SDL rather than complaining that a framework based on Lua does not support C features https://www.libsdl.org
by deströyer
Sat Feb 18, 2023 7:19 pm
Forum: General
Topic: Best way to store data as tables
Replies: 8
Views: 2715

Re: Best way to store data as tables

Depends a bit on the type of data (eg. is it information about GUI layouts, a tilemap, etc.) but for a bunch of different game elements with varying abouts of stats/properties I usually use just a big list of tab separated values in the form index - stat - value - comment (if any) eg. my gamedata.tx...
by deströyer
Fri Jul 09, 2021 6:20 pm
Forum: Support and Development
Topic: getting started with love mac os, how to execute the love binary nside the application bundle directly
Replies: 3
Views: 6075

Re: getting started with love mac os, how to execute the love binary nside the application bundle directly

here's the contents of the shell script that I use to execute a game. I use this so that I can print to the terminal. The file is called "run.sh" and is in the It is a plaintext file, which I then right-clicked, chose Open With > Other..., and then picked "Terminal" and checked t...
by deströyer
Fri Jul 09, 2021 6:00 pm
Forum: Support and Development
Topic: Advice on making tiled strat games?
Replies: 4
Views: 5822

Re: Advice on making tiled strat games?

You mean art or data? Someone else can fill you in on art, but for tiles and map data: - for the individual tiles, you should decide what properties they need to have. do they block line of sight, what type or movement do you permit across them (flight, swimming, walking), do you want to represent t...
by deströyer
Sat Aug 31, 2019 7:38 am
Forum: Games and Creations
Topic: Possession (formerly Possession 2) - Release Date: July 18th!
Replies: 90
Views: 128123

Re: Possession (formerly Possession 2) - Release Date: July 18th!

@Rickton Congratulations! To see you stick with it and work consistently at it has been super inspiring!
by deströyer
Sat Aug 31, 2019 7:26 am
Forum: Support and Development
Topic: Highly-nested table is causing weird errors...
Replies: 11
Views: 7356

Re: Highly-nested table is causing weird errors...

You cannot access [3][1][1][1] if [3][1][1] doesn't exist yet - I had this problem a lot when I was starting out with tables. This might mean that you are not building/nesting your tables correctly, and you end up missing some layers. You can add something like assert( [3], "missing layer 1&quo...
by deströyer
Sat Aug 31, 2019 7:11 am
Forum: General
Topic: Joke/pun thread
Replies: 40
Views: 33311

Re: Joke/pun thread

Random stuff I've pulled off Twitter and added to Bugzilla: ·When StackOverflow goes down, how do they figure out what's going wrong? ·Debugging is like being the detective in a crime movie where you are also the murderer. ·I've been using Vim for about 2 years now, mostly because I can't figure out...
by deströyer
Tue Nov 06, 2018 1:32 pm
Forum: Support and Development
Topic: What was the reasoning for changing setColor from RGB 0-255 to 0-1 interval?
Replies: 39
Views: 27701

Re: What was the reasoning for changing setColor from RGB 0-255 to 0-1 interval?

A suggestion which has worked for me: 97% of my game is in pure lua, it never calls the Love API. Everything goes through a 'framework'-module that handles the actual API calls to things like reading/writing data, controller input, drawing stuff, etc. So when eg. love.graphics.drawq was removed I on...
by deströyer
Tue Oct 24, 2017 10:21 am
Forum: Support and Development
Topic: love - supporting multiple directories
Replies: 8
Views: 6131

Re: love - supporting multiple directories

You can specify multiple 'read files from this location'-paths by extending the package.path string with more read-locations. So if I wanted to add a path which contains a bunch of shared libraries I've written for string parsing and math, I could do something like: package.path = package.path .. &q...