RPG Maker Forums

I just made a plugin that will turn camera selfies into a face set for the game. :kaoswt2:(yes, you read it right)

Forgive me, that this plugin is a little bizarre. :beard

The angle here is: a game that stars the game player, as the game player's actual self.
Think Neverending story or something, where the reader becomes the read-ed.

:guffaw: It's fun; it's got novelty value. :mrsatan:





To use this plugin, you're gonna need three things.

Thing number one: Call this function by event script call. (not plugin command)
PHP:
SelfieFace.getSelfies({
    filename:"CustomSelfPhoto"
});
You don't need to specify the filename parameter, but then it will just make a random filename and you won't be able to use it later on in the game. For instance you can use...

thing number two: This default faceset; (save this one or make your own)

CustomSelfPhoto.png

You can make your player's role talking messages with this dummy faceset and when the player takes selfies, it will overwrite this dummy file in their game play. (so it will use all their selfies in their premade dialogue)

Thing number three: You can make more than one faceset, and you can define your own facial expressions (selfie directions) with this other event script call parameter.
PHP:
SelfieFace.getSelfies({
    filename:"CustomSelfPhoto",
    expressions:[
        "a normal face",
        "a happy face",
        "a laughing face",
        "a sad face",
        "a angry face",
        "a shocked face",
        "dramatic look-away",
        "dramatic eye contact"]
});
I recommend only doing groups of 8. More than 8 will break it, and less than 8 is a waste of negative space and I didn't test it much.

And that's all that's to it.

This plugin is vicariously the idea of @shinichi999 because I discovered how to use camera and microphone in HTML5, while I was researching how to take on his request for a similar plugin in this thread. I'm just a little more certain that I can make it now. I just did this extra plugin for practice and for fun.

And all functional credit goes to this HTML5 tutorial I found. I really wouldn't know how to do it, if it weren't for this. https://davidwalsh.name/browser-camera

You're free to use this in commercial games or dissect it to make other kinds of camera apps or whatever too. I don't mind.

Version 0.1
EDIT: I had a flaw where the file path couldn't handle Unicode characters, but luckily shinichi caught it and I fixed it before the plugin had any downloads (because the thread wasn't even live yet). I also had a flaw where I didn't shut the stream off, but it's now fixed thanks to Microsnitch discovering it.

EDIT: Version 0.2: I've never been so dumb... :( @shinichi999 caught another big flaw. I didn't position my video and canvas elements for different resolutions so everything was out of whack in fullscreen, but it's now fixed! :D

Latest Threads

Latest Profile Posts

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.
Can someone recommend some fun story-heavy RPGs to me? Coming up with good gameplay is a nightmare! I was thinking of making some gameplay platforming-based, but that doesn't work well in RPG form*. I also was thinking of removing battles, but that would be too much like OneShot. I don't even know how to make good puzzles!
one bad plugin combo later and one of my followers is moonwalking off the screen on his own... I didn't even more yet on the new map lol.

Forum statistics

Threads
106,033
Messages
1,018,441
Members
137,820
Latest member
georg09byron
Top