[3D Game Template] GTA Core Mechanics

Hey everyone!

Some of you might have already seen a preview of this on Discord in the WIP channel a few days ago, but I wanted to share a proper look at what I’m currently working on.

I’ve been experimenting with some GTA-inspired core mechanics, prototyping everything using assets from Kenney.

I plan to release this as a paid game template once it’s ready. To set clear expectations: this is not a complete game and will not include a massive open-world map, just a solid set of core mechanics to build upon.

There is no official release date yet, as I still have plenty of bugs to fix, here is the systems I’ve done, and have to polish:

:gear: Current Features

  • Health Bar: Standard health visual indicator.
  • Hunger & Stamina Systems:
    • Stamina: Slowly regenerates as long as your hunger level is high enough.
    • Hunger: Eating food boosts stamina recovery speed. If hunger reaches 0, stamina stops regenerating completely.
  • Weapon Wheel Inventory: Selection wheel inspired by R* games. (I’ve made an extension out of it, so I could share it at somepoint for free, but I have a lot to fix first to complete the extension best practice to pass the official review phase.)
  • Dynamic Door System:
    • Walking: Doors open automatically when you approach at normal speed.
    • Sprinting: Running fast into a door forces it open, but slows you down briefly.
    • Manual Interaction: Press E to manually open or close a door. Once manually toggled, auto-opening is disabled (unless you sprint into it).
    • Unlock a door: Get and use a Picking Tool to unlock a door.
  • Interaction Overlay UI: Contextual UI prompts for interacting with the environment (eating, opening/closing doors, etc.).
  • The dollar amount interface; the player can pick up stacks of cash.

:crystal_ball: Coming Next

Let me know what you want to see next.


All my game templates:

I fixed a lot the door system.
And added these:

  • New Picking Tool, to take to unlock the doors.
  • New icons on the Weapon wheel

This looks great, @Bouh! I love the gun aiming feel and picking up objects! I’m trying to optimise my red dead redemption template in the works but the fps keeps dropping below 30 due to the millions of grass objects that are scattered in-game.

Also I might do a tool selection wheel for my template as well, just a bit different!

Having so many elements on screen is a challenge for all platforms (PC, mobile, and console) even today; it’s very complex. That’s why I focus on gameplay elements that I try to make modular.

New addition today:

  • The dollar amount interface; the player can pick up stacks of cash.

Yeah, that’s smarter, to work on the mechanics I guess. I added a similar weapon selection wheel in my Red Dead template, and stamina, so kinda like yours.

  • Added a second choice for interactions: allows choosing between Eat or Take.
  • Added this multiple choice feature to NPCs for Yes/No.
  • Improved camera that no longer clips through environment elements or the floor.
  • Shooting props makes them fly.

@Bouh, how did you do the loading wheel? That would be a nice feature for health wheels, stamina wheels, etc.

The thing I’m mostly interested in is how did you do the third person shooting aiming mechanic, did you use the built in extension?

how did you do the loading wheel?

These are sprite animations.

how did you do the third person shooting aiming mechanic,

I used the build third person behavior yes.