Homebrew RELEASE LoveStory - A VisualNovel Library for LovePotion

Shrike

Well-Known Member
OP
Member
Joined
Mar 10, 2018
Messages
120
Trophies
0
Age
34
XP
832
Country
Germany
LoveStoryLogo.jpg



LoveStory - A VisualNovel Library for LovePotion (v1.2)

LoveStory is a VisualNovel library for LovePotion on the Nintendo Switch.
LoveStory’s purpose is to simplify the creation of VisualNovels as well as the integration of a simple to use DialogueSystem for story driven games for Nintendo Switch.
To write your own VisualNovels I reccomend to download the demo-game and edit novel.lua to your needs.
You can find a full documentation of how to use LoveStory in the LoveStory_Documentation.pdf attached to this thread.
If you have questions or need support, don't hesitate to write me a pm or ask directly here.

Download Here:

Features of LoveStory:
  • Easy to use dialogue implementation for the creation of VisualNovels or other story-driven games
  • No fancy programming skills needed to create VisualNovels with the help of this library
  • Changeable character pictures for emotions and clothing-sets
  • Decision making for complex story-lines and multiple endings
  • Two characters can be shown the same time
  • Complete touch-support for easy game control
  • Dialogue boxes can be hidden with touch-swipe or joycon-input
  • Sound and music support: You are able to create full dubbed versions of your in-game conversations
  • Easy managing of multiple characters thanks to character-classes
  • Special character-screen when holding the switch in portrait-mode, with a big picture and more character information shown (Currently not working: Use R-Button)
  • You are able to show a background image with or without your characters in front and easily change it anytime
  • Skip all the current dialogue with only holding down the LZ-key (shoulder-button)
  • Future Updates: If the community has wishes for future improvements or features I will try to implement them in one of the next versions
CHANGE LOGS:
CHANGE LOG Version 1.2:
- Error messages warn you if pictures you want to load can not be found
- You can now add multiple Description_Texts with the new DescriptionTextImageIndex parameter
- If == -1 its the OLDWAY (Legacy: Your old code will still work.)
- Second Character Image is now Mirrored on the y axis.
- A soundmanager is added, that will keep track of aktivated/deaktivated sound and music before playing
- Small Bugfix (Removed Debugsound "WUFF")
- CharacterDescriptionScreen has now a "Landscape" TV-MODE (Activate/Deactivate: In lovestory.lua set variable tvMode = true/false)
- New Function: Character:clearCache()
-> Deletes all loaded Sounds/Images and forces the game to reload them when needed
-> This frees RAM (depending on your amount of loaded pictures/sounds)

Video:


Screenshots:
LS1.jpg



LS3.jpg

Thanks:
Thanks to all the people who helped me making this.

Thanks to the whole “Tiny Turtle Industries” Discord Server:
Thank you so much guys! You are just awesome! A great community, and not only the LovePotion talk is great with you

Thanks @TurtleP for porting Love2D to the Switch, and for making this project possible!

Thank you! Thanks for reading this. Thanks for your attention. And maybe even thanks for using this library. ^_^

...

PS: I heard there are bikini pictures inside... :ph34r:
 

Attachments

  • LoveStory_Documentation.pdf
    990.4 KB · Views: 327
Last edited by Shrike,

Shrike

Well-Known Member
OP
Member
Joined
Mar 10, 2018
Messages
120
Trophies
0
Age
34
XP
832
Country
Germany
Please also give me feedback of what you liked, and what you disliked..
Are you thinking of using it ?
What is your opinion towards VisualNovels in general?

I also want to emphasize again, that you can also use this in other games, too! (Use it in RPGs for writing NPC-Dialogues for example..)
So it is more than just VisualNovels..

I really appreciate the likes :wub:, but I would love to have some detailed feedback, too! :creep:
 

hausa51

Well-Known Member
Newcomer
Joined
Jan 18, 2016
Messages
83
Trophies
0
Age
41
XP
514
Country
Thanks!
But can't test (FW 4.0.1), LoveStory breaks with "Lua Error! main.lua:17:bad argument #1 to 'setRandomSeed' (number expected, got nil)". :(
 
Last edited by hausa51,

Shrike

Well-Known Member
OP
Member
Joined
Mar 10, 2018
Messages
120
Trophies
0
Age
34
XP
832
Country
Germany
Thanks!
But can't test (FW 4.0.1), LoveStory breaks with "Lua Error! main.lua:17:bad argument #1 to 'setRandomSeed' (number expected, got nil)".

Okay .. strange ..

This is just a random generator I implement in every LovePotion game, but it is actually not needed for LoveStory, I guess..

Can you try to delete line 17 of main.lua ??

Or replace your main.lua with the file inside this zip-file, please :)

Oh and would be great, if you could tell me if it works now.. (I will publish a fix then)
 

Attachments

  • main.zip
    1.2 KB · Views: 208
Last edited by Shrike,

hausa51

Well-Known Member
Newcomer
Joined
Jan 18, 2016
Messages
83
Trophies
0
Age
41
XP
514
Country
main.lua replaced - that fixed it. B-)
Thank You!
--------------
Edit: "Touch support - YOU PERVERT!" Ha, ha. :P
 
Last edited by hausa51,
  • Like
Reactions: Shrike

Shrike

Well-Known Member
OP
Member
Joined
Mar 10, 2018
Messages
120
Trophies
0
Age
34
XP
832
Country
Germany
Updated to Version 1.2

Here is the ChangeLog:
- Error messages warn you if pictures you want to load can not be found
- You can now add multiple Description_Texts with the new DescriptionTextImageIndex parameter
- If == -1 its the OLDWAY (Legacy: Your old code will still work.)
- Second Character Image is now Mirrored on the y axis.
- A soundmanager is added, that will keep track of activated/deactivated sound and music before playing
- Small Bugfix (Removed Debugsound "WUFF")
- CharacterDescriptionScreen has now a "Landscape" TV-MODE (Activate/Deactivate: In lovestory.lua set variable tvMode = true/false)
- New Function: Character:clearCache()
-> Deletes all loaded Sounds/Images and forces the game to reload them when needed
-> This frees RAM (depending on your amount of loaded pictures/sounds)
 
  • Like
Reactions: hausa51

k7ra

Well-Known Member
Member
Joined
Dec 11, 2016
Messages
804
Trophies
0
Age
31
XP
1,900
Country
Russia
Great work!
Maybe we would see renpy/nscripter converter to LoveStory-Writer.
This engines use same coding in most their engines.
It would be cool to play Tsukihime and Saya no Uta on switch again :)

I still don't hack switch, is there main menu?
Does it support multi save feature? Can we load save? xD
Is there option to add album to view cg after complete game?
Pls continuer your work on it, it would make switch a great option for reading vn's in portable mode :D
 

Shrike

Well-Known Member
OP
Member
Joined
Mar 10, 2018
Messages
120
Trophies
0
Age
34
XP
832
Country
Germany
Does it support multi save feature? Can we load save? xD

The current version has not really a save feature, but I have one working in the game I'm making right now.
It is quite easy to implement one manually. You can group your dialogues in "Sections" (it's actually lua-functions).
So when you are done with a section you could save that section-name (or index) inside a textfile.
Maybe the number of the section you finished playing.
At the start of your game you could read that text file and see witch section you need to load.

Is there option to add album to view cg after complete game?

Interesting idea.. I may add this in the future. Shouldn't be too hard.
For now you would need to program this manually.
 
  • Like
Reactions: k7ra

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • No one is chatting at the moment.
    K3Nv2 @ K3Nv2: https://youtube.com/shorts/WOppJ92RgGU?si=KE79L6A_3jESsGQM