Visual Novel using Corona

I am confused about that too, technically a database is what should be used for game data needs but I searched all over forums and docs and corona sqlite doesnt have encryption or auth and thus can be lingered with. Storing data in a json is a alternative but you need to do some encryption as even json can be edited.

Gotta see if data can be stored in memory or how other people are doing it.

wow, didn’t ever thought that this kind of idea is popping up here. I thought that I am the only one thinking of the opportunity of using Corona to build a visual-novel like game.

short question to anyone who can answer this: i’ve been wondering for a while after tinkering with Corona, but how can I create a text box that will show those conversations? i haven’t get the slightest idea of how to create that though.

I created a prototype for that and the way I did was, create the textbox’s background as a image and then create a rect of text (texbox) of same size or lesser size acc to the image and place the text on it

The text ofc you will have to load from a table or script like advised above

yes, I get the gist of it. but Corona isn’t specialized in animating text, while that thing is pretty common when you’re playing a visual novel. a kind of animation where the texts appear as they were being typed in and out. get it?

I actually have an open source project that I’m working on. I’ve kinda had to put it off to the side for a bit because I’m working on an MMORPG as well. But, you are free to use the source code as much or as little as you want. Just, if you can, please put me in the credits I would really appreciate it. I have dialogue boxes displaying correctly and backgrounds, as well as a timer for dates and a script reader.

https://github.com/MikeyUchiha/visual-novel-engine

Gonna check that out, I will push a few of my own custom codes which I wanted to add in my VN to make full use of mobile technology like using mini-games or events making use of swipe or gesture recognizer.

By the way, have you added the background music/sfx part or does it need to be added ?

PS: Some kind of basic readme would have helped on how your script can be used (dialogues and scenes)

I know shubhank, I just haven’t had time to go back and fix up the Read Me file, which I actually explained in the Read Me. lol

Honestly, I wasn’t even planning on showing people this until I had it in a more completed state but since someone brought it up I figured I’d post it so that you’re not starting from scratch.

I’ve been very busy with the MMORPG I’m working on and I also just finished up my finals so I’ll have more time to go through and document the code a bit better. Also, I will try to redo the Read Me over the next couple of days. If you want to help and push in some custom code feel free to add me on Skype and we can see what we can come up with. The background music/sfx still has to be done, but honestly, that’s the last thing on my last to focus on. Since automatic fowarding of scripts based on input is a high priority as well as remembering player variables/events(thinking of using SQL for this).

Skype Username: MikeyUchiha

Do not use sql for anything like player variables or save state, atleast not remote sql. The file cannot be encrypted or protected and thus a user can edit the database to linger with variables and game state. I myself did quite a lot of research and found it better to sync the data to a remote sql server in realtime or something like parse.

I will try to push up some code once I resume my VN project again since we are still on character sprites stage and am researching and testing backend code.

Added you on skype :slight_smile:

Thanks for the advice. Most MMORPG’s use SQL for their character database though and they have to be secure. So that’s why I figured that SQL itself was secure. What do you think about using JSON?

I got your Skype add and I look forward to working with you. I actually have character sprites pretty much functioning if you want to take a look at my code.

cool, thanks for sharing mikey0. I will definitely take a look at it. Though it is quite a lot to check, and the read me file doesn’t seem to explain much. :slight_smile:

I am confused about that too, technically a database is what should be used for game data needs but I searched all over forums and docs and corona sqlite doesnt have encryption or auth and thus can be lingered with. Storing data in a json is a alternative but you need to do some encryption as even json can be edited.

Gotta see if data can be stored in memory or how other people are doing it.