Scripts of Awesome

So, I'm a bit curious about scripts or snippets that people made for their projects, specifically the codes that are not posted in the RGSS/JS topics or codes that you might be thinking to release. Again, this is not a RGSS/JS topic, so you do not need to post the script. We're just here to talk/brag about our scripts that others don't have.

===

From a Halloween project I'm working on now, I currently have two things that interest me. The first is an animated title screen, but unlike my previous work, a (stand-in) slime jiggles when you move your cursor. I use about three set of variables per pair of arrow keys so that it jiggles up and down like jello. I also learned the difference between Input.trigger and Input.repeat...I think.

Next, I got the motivation from Miitopia and I just learned about Sprite class's update and viewport. That's right, I put random faces on enemies! I can assign a default face or exclude the enemy from having random faces, in addition to adjustments on face placement and portions. I might release this one if it interests people, but first, I should add a notetag so that some enemies can spawn a different set of faces (ie, if you want bandits to have random tattoos instead).

facestuff..png
Hmm, I don't really make legitimate scripts a whole lot 'cause I don't need to (eventer here). But there are a couple I've made as temporary scripts before I redo them with events.

- Horizontal title menu: Makes the commands display in a row instead of in a column. Also makes the command window transparent.
- Simple menu: Has only a command window with a background and has more system options than player-related.
I'm not sure exactly where this should go, so I will have to check this out. Be prepared for a move.
Man, I'd almost feel bad slaughtering some of those slimes there. Do they start to beg for their lives when they reach health<50% and begin to show you photos of their wives and children at health<25%?
That would be crushing.

Anyway, I made quite some custom scripts over the years.
There are many reasons I didn't share the code, though foremost because when I look back, the code is a mess and its way too integrated in my main project and therefore not standalone:

Spoiler
Town Building inspired by ecconomic simulations:
Town1_Backdrops_Ingame.png


A space shooter inspired by Star Fox among others:
space_battle.png


A card/board game inspired by Pokemon/MtG among others:
ConquestBattleCardSelection.png


Field Skills inspired by Golden Sun:
FieldSkills0.png


A bar brawl minigame in the style of Guitar Hero/Dance Dance Revolution:
BarBrawl.png


A warfare system inspired by some historic battle channels on youtube:
Warfare_System.png


A Harvest Moon style animal care and greenhouse:
Barn.png

GreenhouseNew.png


And a pretty generic crafting system:
Pan_Dimensional_Gargle_Blaster_2.png


Plus some other stuff like animated title screen, custom battlesystem and menu with questlog, equipment/skill management and so on.

If you want to see the stuff in action, there is a playlist HERE.


I hope I am forgiven for posting such a long list, even when put into spoilers.
(Last time I posted in a screenthread should have been around 2014. The last "advertisement" I made was in goals and progress March if I remember right, so since this thread was meant to talk/brag, I thought I'd double, triple and quadruple down. (^_^) )
Kes: Yeah, I wasn't sure where this kind of topic goes either. I only know that despite talking about scripts, this topic is not intended to request or publicize a script, nor a need to flesh it out. I Kinda figured that the RPG Maker focus might narrow it down to General or Game Mechanics, though Game Mechanics felt more like fleshing ideas out.

HexMozart88: Quite simple, though haven't tried that before. If the opportunity comes up, might be worth looking into.

Linhinel: Face script is static now, so not compatible with a HP status script yet. Might be worth looking into at a later point. And DAMN, I feel really inadequate. Good stuff, good stuff.

===

Let's see, I'm party proud of my Altered Movement Script and State Character scripts, especially how they work together. Partly, because both are edits from other scripts.

The State Character changes a character's sprite when a state is inflicted and was created from Hime's State Faces, mainly because she didn't have the character equivalent. That I made from replacing face with character, and I edited a method so that the change happens instantly (the Face changes in the menu but not on the map). No credit from me for this one.

The Altered Movement pretty much uses states to make a player hop, stay stuck, or cannot stop, and that is a mess. A jumping script from Galv, a restriction script from Hime or someone else, and some editing to remove a switch requirement and to make wall collisions with jumping normal. Then I put in CP?'s confusion walk, though that helped me use arrays instead of multiple states to simplify movement. Also a snippet so that hopping isn't restricted by hidden events, and not counting other snippets that affect movements on tiles.

I can pretty much say that the Stuck and Gotta Go states weren't in other movement scripts I've seen and thus gives me part credit, though the chimera of authors makes it iffy to share this script. I'm just glad that the states can work with each other and that it has no issues with Hime's Progressive State. Again, a semi-proud mess.

Original thread: https://forums.rpgmakerweb.com/threads/scripts-of-awesome.83122/