The idea of developing a simple engine for a Retro First Person Grid-Based RPG in my Sci-Fi context (FPGB for now on) was heavy on my head. Without hesitation, the second day free to work (more on the first day later) I started early in the morning how possible was to make the Grid-Based Movement in an easy way, compatible with the rest of gameplay.
Then I make my second stop at this compatriot youtube channel that have a series of three basic videos explaining how to do Retro RPG 3d-Dungeon movement. His Script has forward/backward and turn movement, but not side movement, and handle collision by seeing if there is a thing in front out you, but regrettably didn't differentiate Triggers (a must for gameplay flow, for triggering cutscenes, dialogs, actions..) from every other thing.
So I said; TO THE HELL WITH YOU!
So I thought that could not be very hard to "script" in PlayMaker my own movement script. Well, I thought maybe I couldn't make it fluid as the C# movement scripts, but I could try.
I was wrong, I made a wonderful movement script. Forward/Backward, Turning, and sidestep movement, everyone with different animations and sounds.
I named it Movement "Octopus of Doom" (for OBVIOUS reasons), and you can take a peek on it!
Zoom-it!, Love-it!, Wallpaper-it!
First, the StateMachine checks if movement is not deactivated (for cutscenes, for example... Later I can make that if you are hurt or in a confused step, movement work in another way...) Then Just check if you are pressing movement keys (movement arrows and WASD, Q and E for sidesteps); Checks if anything blocks the way we want to go, and execute the movement with a nice Tween and sound.
The Collision system that uses is any object Layered as Block Movement. Then, I can make the 3d scenario anyway I like (with fences, grass, trees, columns, NPCs, etc), and I put Invisible Blocking cubes in the Block Movement Layer, so when I create the level I easy-designated where the player can go and where not, nevertheless the scenery.
And... I made this little video, just to show you what a fantastic job can you do with Unity, Playmaker, some imagination and some placeholder art (except the Korinesti (the blue alien), that is GBF Universe Art)
PS: As I was telling you before, the first day free for work, I updated Unity to 4.5. OH MY. They created some "Tooltip" that conflicts with Playmaker and Playmaker third parties, so until I update manually every asset I usually use, I got to manually fix the scripts to go along with 4.5. And was hell. Errors and more Errors. I fixed half the scripts and I fell surrendered to others, delete them and wait to the developers to upload a fix, and decided to work in the things I can actually can work (And made the fantastic Octopus of Doom)
Friendly tip: WATCH OUT WITH UNITY UPDATES!
And if you don't listen..