WORKS IN FIREFOX AND CHROME

TO EDIT AND CREATE YOUR OWN PROJECT: 

https://editor.p5js.org/supersmexyhentai/sketches/yFlLoRUEm

p5vn is a prototype rudimentary visual novel engine coded in p5js. I emphasize the word prototype, as some functionality used in the demo (like music and the title screen) are hard coded and not made easily accessible outside of modifying the engine source code.

This was my final project for Creative Coding and primarily an exercise in programming. I wrote the scripting language and parser for this engine from scratch, and it's completely free for you to use!  

Please view the documentation linked below to learn how to write a script! Enjoy!




Special thanks to https://github.com/generative-light/p5.scribble.js/ for the library used for creating the textboxes, as well as Dreamworks for The Bee Movie Script and images.

Download

Download
https://github.com/mlg583/p5VN#documentation
External

Development log

Comments

Log in with itch.io to leave a comment.

(1 edit)

No -- downloaded demo doesn't work, local web server doesn't work.

"..may come back to this at some point in the future.." . This baby isn't getting any tender loving care then. Sounds more like it's being abandoned.

(1 edit)

That's very odd... the online demo runs for me on every computer I've tried. I'll take a look at this over the weekend and see if I can get it functional for others. From what I've read, a web server is ABSOLUTELY mandatory as if it tries to load image files locally the browser blocks it for security. I'll try and figure out what's broken tho.


EDIT: After asking a few people to test for me I've been told it works completely fine on their ends using Python to host a local web server. Make sure you've downloaded the complete zip of the Github repo and kept the file structure absolutely intact after extracting. I've added instructions to the Github page on how to quickly launch the project using Python as a webhost. It's been tested on Windows 10 with both Chrome and Firefox, unfortunately I don't have access to any older operating systems like 8.1 but I'd expect it to work.


I'll go ahead and try uploading the project to an actual p5 account and put a link to the sketch on the page , that should handle any client side issues and let it be completely editable within a web browser.

Downloaded. Clicked on index.html. Didn't work. Loaded index.html into Brackets. Didn't work. I guess this engine still needs some tender loving care.

(Windows 8.1, Chrome browser)

I personally have had no luck getting it to run locally via launching it in a web browser... but it was coded in in Visual Studio and that uses IIS to run the site and that works fine. I am looking into figuring out why it cannot run completely offline, however in the meantime it *should* work correctly if hosted on a local web server. The issue is that for some reason it cannot locate the character sprites when run offline and locks up. If the demo loads on your end it's getting that code directly from the Github repo which means it should work! If not... oh boy. This is something I should have mentioned in the documentation and didn't, so I'll go ahead and rectify that.

Keep in mind this is very much a janky prototype and was mostly made for my final class presentation, and not as a finished tool to be used by the average person. It was primarily published to document some of my coding work and is still really finicky especially with how it's loading images asychronously (everything else works pretty much completely fine once it's running). Hopefully someone can get some use out of it, the script parser works perfectly so if someone took that and rewrote the image loading better that'd be great.

Currently I'm preoccupied with other projects, particularly some visual novel development, however I may come back to this at some point in the future and try to improve it some. Thanks for checking it out :)