Navi - a message library (6/11 demo)
Posted: Mon May 21, 2012 1:48 am
Hi everyone! This is the latest version of Navi, a message library for LOVE. I've been working on this for a few weeks now and it has pretty much all the features I want. I initially planned to create an RPG construct ('arc') that included the message system here, but given my time commitments, that may have been an overly ambitious project likely to fail. I started with the message system, and thanks to the members of this board who pushed to make it as independent and self-contained as possible, I have at least something to release and contribute instead of a project that's larger but incomplete.
Navi is simple to use and well-contained, so it won't clutter your workspace. It creates two objects, 'arc', which stores resources used by Navi (and possibly shared by future libraries), and '_navi', the message class. It has a wide range of features, which can be used either by string formatters or a table of options. Here is a general overview of them (if you want a more detailed description, look at the manual.txt file included with the game):
Formatters:
- change text color
- insert a newline
- continue message in the next message box
- pause message until player presses a key
- pause message for a certain amount of time
Options:
- adjust width of message
- align message horizontally and vertically
- end message with either a keypress or a wait
- make message not skippable
- adjust message speed (can make message instant)
- have message box or no message box
- include name or face picture in message
- include an animated "blinker", which indicates to press a key
- make messages scroll
- includes choices at the end of the message
- fix the number of rows in the message
Again, look at the manual.txt file for more info and how to use these features. The demo shows some of them off, so you can look at the code there also.
No one else has tested this version so far, so there is a high chance there are still bugs, so if you find any, please let me know. I haven't set up a github yet (like I said I would 10 times by now) because I'm too lazy to learn how to use git. For now, just post any problems here or send me a PM - I may setup a github in the near future. Also let me know if you have any suggestions or requests for other features, and if they're not difficult to implement, I'll add them in.
Alright, enough talking. Here's the download. Thanks!
Navi is simple to use and well-contained, so it won't clutter your workspace. It creates two objects, 'arc', which stores resources used by Navi (and possibly shared by future libraries), and '_navi', the message class. It has a wide range of features, which can be used either by string formatters or a table of options. Here is a general overview of them (if you want a more detailed description, look at the manual.txt file included with the game):
Formatters:
- change text color
- insert a newline
- continue message in the next message box
- pause message until player presses a key
- pause message for a certain amount of time
Options:
- adjust width of message
- align message horizontally and vertically
- end message with either a keypress or a wait
- make message not skippable
- adjust message speed (can make message instant)
- have message box or no message box
- include name or face picture in message
- include an animated "blinker", which indicates to press a key
- make messages scroll
- includes choices at the end of the message
- fix the number of rows in the message
Again, look at the manual.txt file for more info and how to use these features. The demo shows some of them off, so you can look at the code there also.
No one else has tested this version so far, so there is a high chance there are still bugs, so if you find any, please let me know. I haven't set up a github yet (like I said I would 10 times by now) because I'm too lazy to learn how to use git. For now, just post any problems here or send me a PM - I may setup a github in the near future. Also let me know if you have any suggestions or requests for other features, and if they're not difficult to implement, I'll add them in.
Alright, enough talking. Here's the download. Thanks!