Navi - a message library (6/11 demo)
- KingRecycle
- Prole
- Posts: 44
- Joined: Thu May 24, 2012 1:01 am
Re: A message system
I'd like to see more of this. I would love to use it in projects.
Re: A message system
@Roland_Yonaba: I'll add that in next.
@T-Bone: A face-pic option would work best if the message box is a certain size. Right now, that changes with the number of lines, but I'll add in an option where you specify the number of lines the message box holds and it handles the rest. Then it'll be easy to add face-pics.
@KingRecycle: As you wish! Just implemented "choices".
@T-Bone: A face-pic option would work best if the message box is a certain size. Right now, that changes with the number of lines, but I'll add in an option where you specify the number of lines the message box holds and it handles the rest. Then it'll be easy to add face-pics.
@KingRecycle: As you wish! Just implemented "choices".
- TechnoCat
- Inner party member
- Posts: 1611
- Joined: Thu Jul 30, 2009 12:31 am
- Location: Milwaukee, WI
- Contact:
Re: A message system
Hey, I like this quite a lot more than my Message in a Bottle library.
I love me some self-typing text dialogs.
Also, how did you do the colors?
I love me some self-typing text dialogs.
Also, how did you do the colors?
- Roland_Yonaba
- Inner party member
- Posts: 1563
- Joined: Tue Jun 21, 2011 6:08 pm
- Location: Ouagadougou (Burkina Faso)
- Contact:
Re: A message system
@TechnoCat: Thanks! This is geared more towards RPGs, so scrolling text is important. I really like the look of Message in a Bottle, though. I might have different window skin options and have one like that. The colored text and other features are parsed and processed when the message is created. The text is separated into "blocs", which are blocks of text of one color. Then, when the message plays, the text is displayed on a per bloc instead of a per character basis, which greatly reduces the processing demand. Hope that helps.
@Roland_Yonaba: I've never used github. Since this is a small project and only I'm working on it, I'm not sure of the use. The source code is available to you either way. The next release will be in a few weeks and like before, will have simple examples for all the features.
@Roland_Yonaba: I've never used github. Since this is a small project and only I'm working on it, I'm not sure of the use. The source code is available to you either way. The next release will be in a few weeks and like before, will have simple examples for all the features.
- TechnoCat
- Inner party member
- Posts: 1611
- Joined: Thu Jul 30, 2009 12:31 am
- Location: Milwaukee, WI
- Contact:
Re: A message system
If you think it will greatly slow you down, don't use it. (for now)litearc wrote:@Roland_Yonaba: I've never used github. Since this is a small project and only I'm working on it, I'm not sure of the use. The source code is available to you either way. The next release will be in a few weeks and like before, will have simple examples for all the features.
But, the use of it is so we can subscribe to it and see changes more easily by email or RSS reader. We also can fork it and submit pull requests along with bug reports with inline discussion. It really brings the community to your code. http://bitbucket.org is also a good one.
Hardon Collider is a pretty good example. https://github.com/vrld/HardonCollider
See all changes to the code: https://github.com/vrld/HardonCollider/commits/master
See specific changes to changeset: https://github.com/vrld/HardonCollider/ ... b2de00bb85
Someone helping out by suggesting new ideas: https://github.com/vrld/HardonCollider/issues/14
Code written by someone else is being pulled into the main repo: https://github.com/vrld/HardonCollider/pull/8
Issues are neatly organized into open and closed categories: https://github.com/vrld/HardonCollider/ ... state=open
Github has a lot more to offer too.
But still, the bottom line is if you think it will slow you down, go ahead and not do it.
Re: A message system
Very interesting project.
Afraid I'm not too good at explainations so just created a temporary 'LOVE' to show what I'm suggesting.
All changes are commented.
Just thought that the window location should be more easily modified and that it's size should reflect what is being displayed.
Got the width to work but I'm sure you can do a better job on height.
Great idea!
Afraid I'm not too good at explainations so just created a temporary 'LOVE' to show what I'm suggesting.
All changes are commented.
Just thought that the window location should be more easily modified and that it's size should reflect what is being displayed.
Got the width to work but I'm sure you can do a better job on height.
Great idea!
- Attachments
-
- gameVarient.love
- Slightly modified version of game.love
- (26.92 KiB) Downloaded 143 times
- Roland_Yonaba
- Inner party member
- Posts: 1563
- Joined: Tue Jun 21, 2011 6:08 pm
- Location: Ouagadougou (Burkina Faso)
- Contact:
Re: A message system
A couple of days ago, i would have said : "me too".litearc wrote: @Roland_Yonaba: I've never used github.
Anyway I tried it, and now I can't live without.
Well don't say that. It maybe small, but it stands for a purpose, and does it well. A *lot* of people use Löve without having a account on that board, and might be interested in this. Plus, Github let people monitor your progress, commit after commit. Experienced people could help, giving comments, tips on the source.litearc wrote: Since this is a small project and only I'm working on it, I'm not sure of the use.
But I'm not saying "do this now!"... but just "would you please consider that ? "
Great!litearc wrote: The next release will be in a few weeks and like before, will have simple examples for all the features.
Hey, how come i'm not in your list ? https://github.com/YonabaTechnoCat wrote: Hardon Collider is a pretty good example. https://github.com/vrld/HardonCollider
See all changes to the code: https://github.com/vrld/HardonCollider/commits/master
See specific changes to changeset: https://github.com/vrld/HardonCollider/ ... b2de00bb85
Someone helping out by suggesting new ideas: https://github.com/vrld/HardonCollider/issues/14
Code written by someone else is being pulled into the main repo: https://github.com/vrld/HardonCollider/pull/8
Issues are neatly organized into open and closed categories: https://github.com/vrld/HardonCollider/ ... state=open
Re: A message system
Github offers more options and features but there's one thing that could make a big point for Bitbucket. All project with free accounts in GIT must be open-source. That's fine for example keep public libraries but if eventually you need do some private repository (closed-source project, only for backup remotely a project or even something that you don't want yet to release now) you can do it for free in Bitbucket and so have public/private projects with same account.
BTW some (not-boring) git tutorials advised?Roland_Yonaba wrote: A couple of days ago, i would have said : "me too".
Anyway I tried it, and now I can't live without.
Re: A message system
Wow, ok, you guys convinced me! I'll try to put it up by the next release. I'm still new to lua and learning, so if people actually spend time looking through my code, it'd be really helpful.
@Ref: I hadn't implemented it the message box function in the first release. It's in there now and the dimensions are automatically set based on the width of the longest line and the number of lines. Thanks though.
@Ref: I hadn't implemented it the message box function in the first release. It's in there now and the dimensions are automatically set based on the width of the longest line and the number of lines. Thanks though.
Who is online
Users browsing this forum: No registered users and 2 guests