Page 1 of 2

My First Game: Town

Posted: Fri Aug 18, 2017 3:50 pm
by LudvickToba
So this is the first playable thing I made after months of coding in lua. It's more than a milestone than it is a game though. I was aiming for a rpg like town like in final fantasy or dragon quest. Any criticism or tips on how to improve the design and coding of this is greatly appreciated!

Controls:
Arrow Keys: Movement
Z: Interact

Music used:
Ys 1 (PC 88) - Feena
Final Fantasy 3 (NES) - Village of the Ancients

Re: My First Game: Town

Posted: Fri Aug 18, 2017 6:35 pm
by ivan
Good job, I like the mood of the game, it's very nostalgic.
However, you don't want to save your audio assets as WAVs.
Please convert these to a sensible format - preferably lossless
in fact, even midi might work well for this sort of game.
A prototype like this shouldn't be larger than 1-2 MB.

Re: My First Game: Town

Posted: Fri Aug 18, 2017 7:45 pm
by LudvickToba
ivan wrote: Fri Aug 18, 2017 6:35 pm Please convert these to a sensible format - preferably lossless
in fact, even midi might work well for this sort of game.

A prototype like this shouldn't be larger than 1-2 MB.
I'll remember to use a different audio format for next time. :)

Also, how would you recommend decreasing the file size?

Re: My First Game: Town

Posted: Fri Aug 18, 2017 7:58 pm
by Nixola
A good start would be to convert wav files to .ogg; doing that (although, admittedly, with little regards to quality; I used ffmpeg default settings and I can't hear the result) shrank the .love file to 3.2 MB. It would probably be a bit higher for a better quality, but I'd guess about 5MB at most.

Re: My First Game: Town

Posted: Fri Aug 18, 2017 8:23 pm
by zorg
Alternatively, although it's more work and it's not yet relevant since 0.11 is not out yet, when that hits, people will be able to actually generate their music realtime from tracker modules, or in other words, notational and instrument data, instead of stream-format files like mp3, wav or ogg. How that'll be possible is, of course, up to the coders, or those that may write lua libs for this purpose...

Re: My First Game: Town

Posted: Thu Aug 24, 2017 1:01 pm
by Hikitsune-Red
zorg wrote: Fri Aug 18, 2017 8:23 pm Alternatively, although it's more work and it's not yet relevant since 0.11 is not out yet, when that hits, people will be able to actually generate their music realtime from tracker modules...
Is this not already a thing? I've used .it and .mod files in several personal projects.

Re: My First Game: Town

Posted: Thu Aug 24, 2017 6:12 pm
by zorg
Hikitsune-Red wrote: Thu Aug 24, 2017 1:01 pm
zorg wrote: Fri Aug 18, 2017 8:23 pm Alternatively, although it's more work and it's not yet relevant since 0.11 is not out yet, when that hits, people will be able to actually generate their music realtime from tracker modules...
Is this not already a thing? I've used .it and .mod files in several personal projects.
Currently, you can open and play those files back, but you have as much control over them as you have over stream formats like wav/ogg/mp3.

What i meant was that if anyone bothers (and i do, for one), we can have libs to load such files into memory, and have a greater control both in terms of playback (change playback speed/tempo as it is defined for the formats themselves, without pitch shifting that is; mute/solo specific channels; jump around the orders/timeline of patterns; etc.) and getting information out of them (getting the currently playing note/effect/instrument/etc. per-track and maybe incorporating that into games in some way).

Re: My First Game: Town

Posted: Fri Aug 25, 2017 10:50 am
by Mutos
Hi LudvickToba,


Very nice work, I appreciate, it reminds me of so many games I loved ^-^ How do you intend to do to expand the game world ? I've seen it was hard-coded in Lua, which allows for more complex data. Wouldn't be a level editor a good thing on such a game ?

I also like the way you organized your folders structure, clean and neat, I'll pick inspiration from you when refactoring my own prototype ^-^

Re: My First Game: Town

Posted: Fri Aug 25, 2017 12:27 pm
by Sir_Silver
Excellent job, keep working on it. =)

Re: My First Game: Town

Posted: Fri Aug 25, 2017 9:22 pm
by BlackDiamondPL
Downloaded, Played, Amazed.
Nothing more to say!