Help on a custom slot system

Post here for help and support regarding LunaLua and SMBX2's libraries and features.

Moderator: Userbase Moderators

Marioman2007
2025 Egg Hunter
2025 Egg Hunter
Posts: 546
Joined: Tue Aug 25, 2020 3:19 am
Flair: Dr. Bones
Pronouns: He/Him

Help on a custom slot system

Postby Marioman2007 » Sun Feb 27, 2022 11:43 pm

I got some motivation to do a slot system, but I have a few doubts and I would be very grateful if someone could answer these

how complicated can this sytem be? is it something I should get into?
how can I read the progress on the slot?
is deleting a slot possible?
what can be the limitations?
is doing this system worth it?
what could be the conditions which I would have to keep in mind while making this?
what could be the most difficult part of this?

Emral
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9891
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Phoenix

Re: Help on a custom slot system

Postby Emral » Mon Feb 28, 2022 4:25 am

This all seems like stuff you'll have to answer for yourself when designing your system. But to humour the set of queries:
- However complicated you want it to be
- Depends on your implementation. You'll probably need a variable or table to store progress in. Then read from that.
- Depends on your implementation. I'd probably do it table-based and set contents to nil.
- Depends on your implementation. Probably few things.
- Worth it for what? If you need it for something, then probably
- I don't know
- I don't know

Marioman2007
2025 Egg Hunter
2025 Egg Hunter
Posts: 546
Joined: Tue Aug 25, 2020 3:19 am
Flair: Dr. Bones
Pronouns: He/Him

Re: Help on a custom slot system

Postby Marioman2007 » Mon Feb 28, 2022 9:39 am

well, my system will simply load a level when the current save slot is 1
and then there will be options to use / start a slot, do you think it would be possible to delete slots then?
I know os.remove(filename) exists but iirc it was removed in LunaLua (for obvious reasons) but not in Lua?

also by "worth it" I meant if it would be something that people would like to use


Return to “LunaLua Help”

Who is online

Users browsing this forum: No registered users and 4 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari