Search Unity

Games WIP - (Untitled) Fantasy RPG

Discussion in 'Projects In Progress' started by Acissathar, Dec 21, 2019.

  1. Acissathar

    Acissathar

    Joined:
    Jun 24, 2011
    Posts:
    677
    Hi all,

    I have a habit of constantly dropping and starting new projects because I seem to constantly change my mind, but so far I've stuck with this one that I think it might actually get somewhere. I also figured that having somewhere to post things might help to keep me motivated by giving a history to look back on.

    The short is that I'm working on a JRPG / Active Turn based system. The athestic is a "tooned" low poly style, and the general idea is a sort of spiritual successor to one of my favorite SEGA RPGs, D&D Warriors of the Eternal Sun.

    By a tooned low poly style, this is what I mean. The left is how I get the models back, similar to the faceted look that's trending, and the right is after I make some changes by increasing the smoothing angle and recalculating normals, and finally, applying a toon shader.



    And here is where I am at so far. The first video is a rough outline of the Active Turn Based system (currently everyone just has randomly generated speed). Note they don't yet have weapons to match the animations, that will be next :)



    Second is a small tweak I did thanks to Makin' Stuff Look Good's videos, where the start of combat now does a transition. While the screen is black, we initialize all of the battle stuff and then fade back out to the new camera. This will avoid the flying across environment from the video to make things feel smoother.



    It's been a lot of fun working on this after the day job, so I hope keeping this sort of devlog helps keep things chugging along. Thanks :)
     
    PolygonPros likes this.
  2. Acissathar

    Acissathar

    Joined:
    Jun 24, 2011
    Posts:
    677
    This week was mostly behind the scenes system changes and some small bug fixes that were easy to handle. Additionally, added a new player character, made it so the Combat UI doesn't show until after/below the transition, and gave everyone a newer set of animations and weapons/props to help display those better.



     
  3. Acissathar

    Acissathar

    Joined:
    Jun 24, 2011
    Posts:
    677
    This week was a big set of changes:

    1. Went back to the faceted low poly style. I do like the original, but it's a pain to make the environment pieces match, so at least for the time being I'm just going to keep it consistent in that style.

    2. The demo world and arena are no longer just a brown plane, but populated with vegetation.

    3. You can change which character you are in the overworld by pressing Q and E. At the moment, this is just a visual thing and has no tangible benefits.

    4. Enemies will now patrol, and begin chasing you if you are in their field of vision. This can be broken by breaking line of sight, in which case they will resume patrolling, but at the moment that can only happen with the help of some boulders and the thicker pine trees. Basically, it's not likely, but technically possible.

    5. Bunch of small bug fixes and adjustments.

     
  4. warthos3399

    warthos3399

    Joined:
    May 11, 2019
    Posts:
    1,759
    Very cool work, and AI/screen transition is a big factor in "turn based" type games. Stay on your current course, dont let anyone slow you down :)
     
    Acissathar likes this.
  5. Acissathar

    Acissathar

    Joined:
    Jun 24, 2011
    Posts:
    677
    Thank you :) Progress is going much faster than I ever anticipated, so I plan on just trucking along.

    On a related note, hooked in a party creation screen before actually starting so that you can choose the party of 4 for the adventure. The UI is ugly as can be, but it's functional for now and that's what counts.



    Just a few more features and then I think I'll be at a pre-alpha demo build of sorts, and can start actually testing things out. One of those features is clearly a name ;)
     
    warthos3399 likes this.
  6. warthos3399

    warthos3399

    Joined:
    May 11, 2019
    Posts:
    1,759
    The UI can be adjusted/modded later, who cares what it looks like now, lol
     
    Acissathar likes this.
  7. Brokencutlass

    Brokencutlass

    Joined:
    Mar 18, 2019
    Posts:
    110
    Absolutely freaking love this, please tell me you kept at it.
     
    Masdox33 and Acissathar like this.
  8. Acissathar

    Acissathar

    Joined:
    Jun 24, 2011
    Posts:
    677
    I got sick a few weeks back and that knocked me off schedule, but this past week I've been slowly getting back into things. Had a few tweaks to make and I've been playing with a new art style as well.

    Fortunately not a dead project :)
     
    Brokencutlass likes this.
  9. warthos3399

    warthos3399

    Joined:
    May 11, 2019
    Posts:
    1,759
    Glad to hear your forging along with the project. :)

    If ya ever need anything, just give a shout.
     
    Acissathar likes this.
  10. Brokencutlass

    Brokencutlass

    Joined:
    Mar 18, 2019
    Posts:
    110
    Im working on my own right now but need anything feel free to give me a hollar as well. Honestly, i'd keep the low pixel look, your environment, although basic, is honestly beautiful.
     
    Acissathar likes this.
  11. Acissathar

    Acissathar

    Joined:
    Jun 24, 2011
    Posts:
    677
    Appreciate it :) So far it's smooth sailing, just need more time in the day haha.


    The issue is that the artist I had making the character models isn't able to continue on most likely, so it's more of a "just in case". I'm experimenting with the new style since it lets me do some other cool stuff (facial blendshapes, more detailed animations, etc.) so it's give and take, no decisions made yet though haha

    The environment stuff is from Synty Studios on the asset store though if you're interested :)
     
  12. Acissathar

    Acissathar

    Joined:
    Jun 24, 2011
    Posts:
    677
    As mentioned above, I ran into a few outside setbacks, but I believe I'm back on track. I did end up switching to a different art style, but at least for the sake of getting an alpha build done, I'm salvaging the environments and just smoothing them over slightly.

    It's been a while, so I've got a wall of text.

    Unrelated to tangible stuff to show, I took the time to sit down and play with some math formulas to figure out how I wanted everything to be calculated. Before, I just did a very simple Attack - Defense * a multiplier, and while it "worked", it did not have the ability to scale well with the formula I was using for stat growth. I like my stat growth formula, so that won out and forced the redesign of the Health and Combat Damage ones.

    Adding Unit Tests with ASMDEFs was not a pleasant experience at first either, but sticking through it and testing my formulas did reveal that I input them wrong, especially with regards to ends of the curve. Glad to handle that now instead of being unaware for months. :)

    With that, here is the new set of player characters that can be selected for the party:


    Other than obviously not being low poly, these have some facial blend shapes (so they can blink, smile, frown, etc.) and a plethora of additional bones to help tweak clothing movement beyond having to keyframe it all into animation. Yes, the animations need to be adjusted to fit them ;)

    Lastly, this week we got the first set of enemies done, which is pretty much all that is planned for the first alpha build. The way my spawn system is set up, is that each spawner has it's own weighted spawn list with various level thresholds. An example to explain this, is that at level 1, the spawners outside the town have a 90% chance to spawn a Goblin Rogue, and a 10% chance to spawn a Goblin Warrior. At level 5, Goblin Rogues have a 70% chance to spawn, Goblin Warriors have a 20% chance, and Goblin Shamans have a 10% chance.


    My main issue with JRPGs is how battles end up feeling repetitive. Once you've fought a goblin, you've fought them all. The only time you see a different goblin is if it's a recolor and then it's renamed, but it's still the same thing. To help fight this, each enemy will have at least 3 various color tints, and a variation in scale from small to large. This isn't perfect, but I believe it helps things feel more "alive". Now instead of fighting 3 green goblins, you can fight 2 yellow and 1 green goblin, 2 small green goblins and 1 large yellow goblin, etc.

    Ideally, this would also include slight model tweaks (different armor pieces, etc.) but at the moment that's outside of the scope of the project, so I'm settling with something much easier to push in, but still helps achieve what I'm after.

    Anyways, I think that's everything since the last update. I feel like I'm pretty close to having something out there. The only major checklist items I have are inventory/equipment, abilities, sounds, and most importantly, a name.
     
    sstrong likes this.
  13. Acissathar

    Acissathar

    Joined:
    Jun 24, 2011
    Posts:
    677
    Not a whole lot to share this week, it's mostly been writing the underlying systems for Inventory and enemy variation as mentioned above, along with reworking the combat UI. I've also started to populate the alpha kingdom with some temporary villagers and guards, which will be used for implementing dialogue, but at the moment there's nothing to show other than static meshes.

    The inventory is pretty cut and dry, but rather than one "giant" inventory, each player character has their own inventory. This inventory is made of 10 items, an equipped weapon, an equipped armor, and then 8 whatever. The idea is to make item management be something that matters before you venture out. Do you stock up on consumables, which prevents gathering more loot, or do you risk it without the consumables to gather as much as you can? Granted this gameplay can be polarizing, so I made sure to construct it so that expanding won't utterly break everything.

    Enemy variations is pretty simple too, pick a random number for scale and materials. Take said material and scale and apply it to the instance. Currently the variation is hardcoded into the material + texture data, but it might be worth being adventurous to delve into a Shader to modify the texture atlas at runtime. Then I could specific a range (yellow to green for example) rather than having to predefine each possibility and store it as a texture + material.

    Lastly, the previous combat UI was pretty bare bones. You had the party health/mana/turn and that's it. I've changed that so now we have both the player and enemy health / mana, along with small portraits for each. Additionally, on the right of the screen is the next 10 turns coming up from top to bottom. This lets you plan further ahead by knowing who's coming up next, including enemies. Before you could kind of guess which of your members was going to attack next, but you were absolutely blind to enemies. I'm trying to avoid needlessly frustrating mechanics, so I opted to give the player information so they can focus on what's going to happen rather than blitzing and hoping for the best.



    Another variation I'd like to add would be semi-unique names for each enemy race, and display those rather than the generic "Rat A" "Rat B" etc, but if I were to have non-"intelligent" monsters, such as a giant rat, then names wouldn't really work, but that's on the back burner for now.
     
  14. Acissathar

    Acissathar

    Joined:
    Jun 24, 2011
    Posts:
    677
    Good news is that I was able to get back into talks with the original artist, and I'm able to move back to the low poly look :) People I shared the project with echoed this sentiment, and they really preferred that look over what I had moved too, so I'm glad to be able to go back.

    As a teaser, here is the new Druid player character

     
    Brokencutlass likes this.
  15. Acissathar

    Acissathar

    Joined:
    Jun 24, 2011
    Posts:
    677
    Lots of updates since last time, but most of it is behind the scenes stuff, so can't really "share" it.

    I did end up rewriting characters, enemies, inventory, and items to all take advantage of scriptable objects and to greatly clean up my code. Originally, I just had a bunch of switches and hard defined look ups to portraits, icons, and game objects to help get things up and running. It did work, but it was quickly ballooning. Adding a new character meant I needed to update at least 10 different spots in my code. I did at least forward think enough to throw errors when a new type wasn't implemented for that area, but it was a pain. Couple that with having like 6 different managers for various pieces, and it was a nightmare.

    Fortunately, with the scriptable object setup, the SO has a slot for that information, and various pieces of code that need it can just access that property. Now a new character is as simple as creating an object, and dropping in the pieces without having to dig around for other references. Same with inventory and items.

    I was also able to get around to writing a basic music and sound controller, and some placeholder music and SFX to go with it. It's nothing super fancy, but it does help bring things closer to feeling like it's actually going somewhere.

    Lastly, I think, is that I spruced up the environment a little and threw in a small amount of post processing as well. Still a lot to do (that tree and enemy pop in :( ), but I'm really enjoying how things are going around.

    Here's a small clip with all of the above thrown in:
     
  16. Acissathar

    Acissathar

    Joined:
    Jun 24, 2011
    Posts:
    677
    Thanks to the Spring Sale I was able to snag Bakery and Amplify Imposters and I've been using that to help pad performance with regards to the field/open world. All of the trees and cliff rocks are instanced, and have an LOD group which contains the regular mesh, and the imposter/billboard at a far enough distance to help prevent super noticeable pop-in, but also help with rendering times.

    I've tweaked the lighting and Post Processing to help things be a little warmer in color tone, rather than what felt like a stark / too 'realistic' coloring as seen in the above ones. I think I prefer the latter, but there are also things I liked about before, so probably just needs more tweaking sometime.

    Additionally, I finally got around to implementing both Abilities and Items for use in combat. I've been really interested in trying to make combat feel more "dynamic", so one thing I've done is utilize additional camera angles for various actions, like choosing a target, abilities, etc. The current implementation is super rough, and the transitions are a little fast, but overall it seems like it's worth continuing with. Once there are some VFX/SFX to go with the abilities, I think the extra angles will help things feel meatier and make them more enjoyable to use.

    Unfortunately, it looks like by next week we might no longer be working from home, so I'm going to have to crank out a lot this next week incase I lose the extra hours. Good news is maybe I'll be closer to a starting alpha state, but regardless this is the furthest I've ever taken a project, so that's really exciting.

     
    PolygonPros likes this.
  17. Brokencutlass

    Brokencutlass

    Joined:
    Mar 18, 2019
    Posts:
    110
    Love seeing the progress man.
     
    Acissathar likes this.
  18. Acissathar

    Acissathar

    Joined:
    Jun 24, 2011
    Posts:
    677
    It's been a while since the last update, but in that time I've basically rewritten everything from scratch. The original code worked, but the whole spaghetti nature of it made itself apparent as I began expanding into other systems. As I was beginning to start new systems, hooking in to them became a nightmare of references and monolithic classes.

    Fortunately, it was still pretty early in the project so it didn't take a whole lot of time to catch up, and I was able to refactor things to be much cleaner and easier for me to hook into, along with actually compartmentalizing things into proper sized components.

    Additionally, the art style swapped to a more stylized hand painted look (which I've always wanted since day 1). Now I'm back where I was (minus some slight battle UI stuff), which was adding VFX/SFX and general pizzazz to skills/abilities, then I can really dig into fleshing out the world.

     
  19. munchou

    munchou

    Joined:
    Apr 18, 2020
    Posts:
    52
    Ooooh way prettier! I totally prefer that render, makes me want to get inside the picture.
    Did you model the trees, or you got them from somewhere?
     
    Acissathar likes this.
  20. Acissathar

    Acissathar

    Joined:
    Jun 24, 2011
    Posts:
    677
    I agree, and I love the hand painted style so much, I'm glad I can finally do it. The trees, grass, and rocks are from Azure Nature.
     
  21. Acissathar

    Acissathar

    Joined:
    Jun 24, 2011
    Posts:
    677
    Been pretty busy with regular work, but in the mean time I've worked on integrating Azure[Sky] to handle the day/night and additionally I've added in light sabers / laser swords to use as the prototype weapons (Thanks to @Rowlan for the base model and starting script here).

    They work great for a night time torch and obviously as swords. Not 100% sure if they'll remain final, but I like the idea of a "mana" based variant, maybe with a more defined blade shape or elemental effect rather than just a tube of light. Until then though, they'll work great for both.

     
    Slaghton and Rowlan like this.
  22. JohnnyA

    JohnnyA

    Joined:
    Apr 9, 2010
    Posts:
    5,041
    The art is gorgeous. Makes me wish I liked JRGP style combat :s

    Any chance of a total about face to action/twitch based combat ... :)
     
    Acissathar likes this.
  23. Acissathar

    Acissathar

    Joined:
    Jun 24, 2011
    Posts:
    677
    No promises, but at the moment, I've honestly been thinking about switching it to something more akin to party based action like Dragon's Dogma / Dragon Age / KotoR too.

    Most of my work has been on the non-combat stuff because of it, I'd hate to sink time into a system and then change my mind.
     
    JohnnyA likes this.
  24. Acissathar

    Acissathar

    Joined:
    Jun 24, 2011
    Posts:
    677
    Action RPG was a surprising amount of feedback, so I decided to spend the week throwing together a rough prototype. I'm liking it so far, so I think I'll continue with it and see where it goes :)

     
    creeco likes this.
  25. JohnnyA

    JohnnyA

    Joined:
    Apr 9, 2010
    Posts:
    5,041
    Looks super cool!
     
    Acissathar likes this.
  26. munchou

    munchou

    Joined:
    Apr 18, 2020
    Posts:
    52
    Beware, Disney being as b*tchy as Nintendo, they're going to "ask" you to get rid of those light sabers very soon! :D

    Yes, it looks really nice!
     
    Acissathar likes this.
  27. Acissathar

    Acissathar

    Joined:
    Jun 24, 2011
    Posts:
    677
    They’re not going to remain as actual lightsabers, I’ve got a few ideas but until they get modeled this is just much easier :)
     
  28. Acissathar

    Acissathar

    Joined:
    Jun 24, 2011
    Posts:
    677
    Began some prototyping of a lightsaber replacement with ASE:
     
    sstrong and Masdox33 like this.
  29. Pixelith

    Pixelith

    Joined:
    Jun 24, 2014
    Posts:
    580
    They look pretty neat. The blades look elemental. Will they take on some properties in game like flames and freezing or is it purely a looks thing?
     
    Acissathar likes this.
  30. Acissathar

    Acissathar

    Joined:
    Jun 24, 2011
    Posts:
    677
    Thanks! I do have plans to have them be different variants with "unique" properties. Rather than just something like a red, blue, or green lightsaber that are all just the same thing but different colors, the idea is similar to what you mentioned, say for example the orange/yellow has fire properties, while the cooler blue has ice/frost, etc.

    The ultimate goal is to add in some vfx + sfx to help distinguish the variants, but I suppose at the moment it's just a visual variant :)
     
  31. Pixelith

    Pixelith

    Joined:
    Jun 24, 2014
    Posts:
    580
    If that's the goal, I highly recommend using Mesh Effects. I bought it awhile back and it's been the easiest thing for me to use.
     
    Acissathar likes this.
  32. Acissathar

    Acissathar

    Joined:
    Jun 24, 2011
    Posts:
    677
    Small update, I've been using the 3D Game Kit Lite to help flesh out the "action" in the action rpg. Rather than continuing with my previous setup which was in a soulslike direction, I honestly just wasn't having much fun with it, so I'm going back in the direction of hack and slash, although I do want to cherry pick some soulslike pieces to keep in.

    If anyone is making an action RPG, I highly recommend looking into this game kit by Unity though. Although it seems to be billed more as a platformer, it's very extensible and has a lot of nice little features you can take advantage of. For example, when the player attacks, it does calculations to help rotate the player towards the closest enemy to strike. You don't have to 100% line up your attacks or hope the hitboxes clip it, and it really feels like it flows better when actually playing it.

     
    Pixelith likes this.
  33. Pixelith

    Pixelith

    Joined:
    Jun 24, 2014
    Posts:
    580
    I had no idea the Unity Game Kit had melee examples. Is the hit registration custom or part of the kit as well? I already have my own made solution but I might switch over.
     
    Acissathar likes this.
  34. Acissathar

    Acissathar

    Joined:
    Jun 24, 2011
    Posts:
    677
    Originally I took it just for a basic root motion + CharacterController example, but it's surprisingly indepth with a bunch of small things you wouldn't expect, and fortunately pretty easy to customize.

    The hit reg part is also included in the kit. For melee the 3D Game Kit uses a MeleeWeapon component, which has a reference to X amount of colliders. You set these (I did base, middle, and tip for example). Then, during the combo animation you set a state machine behavior to determine when these are active, and if it collides during this window it sends a damage event.

    I did make modifications so I could separate combos by weapon type, left/right weapons, sheath location, etc. but the general gist of it is all a part of the Game Kit.
     
    Pixelith likes this.
  35. Acissathar

    Acissathar

    Joined:
    Jun 24, 2011
    Posts:
    677
    Still plugging away at this. Worked with an artist to retexture some assets to fit the style and did a first pass at the environment.

     
    creeco likes this.
  36. Acissathar

    Acissathar

    Joined:
    Jun 24, 2011
    Posts:
    677
    Had a burst of motivation since Friday and decided to go ahead with a quick first pass on the village. Next is making the outside terrain less flat!

     
  37. Nujora

    Nujora

    Joined:
    Apr 7, 2021
    Posts:
    1
    I like how it looks as an Action RPG, keep up the good work! :)
    (I send you a private message)
     
  38. Brokencutlass

    Brokencutlass

    Joined:
    Mar 18, 2019
    Posts:
    110
    Love the work so far. Seriously keep this up
     
    Acissathar likes this.
  39. Acissathar

    Acissathar

    Joined:
    Jun 24, 2011
    Posts:
    677
    Being experimenting with environment and maybe going back to a sort of top down approach, but nothing solid yet so nothing to share there. Did have the 3rd playable character (Mage) created though, so still moving along in some areas at least!

    MainScene_1080p_21.05.2021_16-17-10.png
     
    Pixelith likes this.
  40. Pixelith

    Pixelith

    Joined:
    Jun 24, 2014
    Posts:
    580
    Looking good! What are the plans for characters? Any unique classes in mind?
     
    Acissathar likes this.
  41. Acissathar

    Acissathar

    Joined:
    Jun 24, 2011
    Posts:
    677
    I haven't yet fleshed anything out besides the generic bases, but a few ideas I want to try to implement are taking classical archetype / classes and giving them a slight flip. Like instead of a summoner class summoning demons, what if they summoned angels? Instead of water magic being associated with healing, what if it was dps focused? Instead of the rogue using wind / shadow magic, what if they were focused on ice or fire? That way the same feel you'd expect is there, but it has enough of an adjustment to feel new and fresh.

    Nothing crazy like the Arithmetician in FF tactics, but just a small subversion.
     
    Pixelith likes this.