Announcement

Collapse
No announcement yet.

Game Templates In UE4

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • started a topic Game Templates In UE4

    Game Templates In UE4

    Hey there guys! Today, senior environment artist Warren Marshall has put together a really sweet intro post on all of the game templates you can find in UE4. Enjoy!


    Usually when you get a great idea for a game, you need to spend time plugging in boilerplate code and assets to get a player character into the world so you can move around and start prototyping the FUN stuff. This is where templates can help!



    What Are Templates?

    Templates are very basic game containers that you can start your project with to give you a leg up on getting to what you really want to be working on - your gameplay ideas! They come in two flavors: there is a C++ version if you're comfortable working at that level and there is a blueprint version which is going to be the best choice for most users as it will allow for faster iteration by designers and artists.

    How To Use Templates

    When you launch Unreal Engine 4, navigate to the "New Project" tab.



    Once there, you'll see a list of project templates you can use. The first few in the list are great for starting with an empty project but scroll down a little and you'll find a few more exciting options! Let's look at the Blueprint First Person template.



    Selecting this template and clicking "Create Project" gives us a basic game template for creating a first person shooter. When the editor loads, click the "Play" button on the toolbar and you'll see something like this:



    And just like that you have a great jumping off point for starting to work on your gameplay ideas!

    For example, look inside the "Blueprints" folder that was created for this project and double click the "MyCharacter" blueprint. Inside of here is everything you need to make your character move, jump and shoot projectiles.



    Try changing things and see how the game reacts! A great way to learn how things work is to change things interactively. Blueprints are great for fast iteration so try changing a value or two and hit "Play" again. Your changes will be in the game and you can see what they do right away.

    Other Templates

    We've included some other templates as well. There's one for a third person game, a top down game and a side scroller game. Try them all and see what appeals to you the most and try to build on it.

    We have a lot of ideas for game templates so this list will be growing as we move forward.

    Have fun! And don’t forget to comment below with any questions you might have!
    Attached Files

  • replied
    Can somebody please remove this spammer 1ahowst
    Thanks

    Leave a comment:


  • replied
    wow, great one) Very interesting and usefull)

    Leave a comment:


  • replied
    Originally posted by RichardB View Post
    Are we able to create our own custom templates?
    Idk if this helps but a few things come up on that topic in google, this one stood out.

    https://docs.unrealengine.com/latest...tingTemplates/

    Leave a comment:


  • replied
    Are we able to create our own custom templates?

    Leave a comment:


  • replied
    A kick/punch animation blueprint for sidescrolling would be great. Or a tutorial to make one, so we can learn something

    Leave a comment:


  • replied
    I really hope so; I'm currently stuck since now I have to learn first making animations / custom characters before doing anything since I don't have a character which afull set of basic animations like punches/kicks/block etc

    Leave a comment:


  • replied
    Originally posted by FtH|Zhane View Post
    would like to see a template for both 2D and 3D fighting / beat 'em up games in the future
    They are on the way

    Leave a comment:


  • replied
    would like to see a template for both 2D and 3D fighting / beat 'em up games in the future

    Leave a comment:


  • replied
    We need more templates, there should be a RTS one, where the camera and "unit" are controlled seperately, a vehicle template too. All the current templates don't have a independent camera.

    Leave a comment:


  • replied
    Originally posted by kassane View Post
    Hello, I do not know if this is a bug or if the character is incomplete, but I know he is like this: (It would work if I place the character in the template of the previous version?)
    Yep the gun went missing in 4.1, but its back in 4.2!

    Leave a comment:


  • replied
    Originally posted by Aisenheim View Post
    Good, I need a Rail Shooter template (like starfox 64)... How long would that take to make and how hard it would be?
    Thanks
    Incredibly easy for a Starfox 64 type game. The basics could be constructed in under an hour. I can think of a couple different ways of doing it off the top of my head. In both cases, the camera would be the root of your "player" blueprint, and then mesh of your spaceship would move relative the camera, constrained by the dimensions of your screen/play area.

    Most obvious method: just animate the player with a Matinee.

    Or, you could make a Waypoint blueprint. The player blueprint seeks out the first Waypoint (using Find All Actors of Class), then rotates with Interop to face that waypoint (while still flying forward based on the camera's normal), and then continues flying until it hits the waypoint. That waypoint would have a variable pointing to the next waypoint, and so on, until you reach the last waypoint in a level. Waypoints could also load and unload portions of your level, if it's very large.

    To make it just a bit more fancy, you could have decision points (like in Starfox 64), where the player might take one path or the other. In this case, you could just have two boxes in the level, arranged such that the player will fly through one or the other depending on whether he's on the left/right or top/bottom of the screen. Each box, when overlapped by the mesh, sets the next waypoint.
    Last edited by drekmonger; 05-05-2014, 01:19 PM.

    Leave a comment:


  • replied
    Good, I need a Rail Shooter template (like starfox 64)... How long would that take to make and how hard it would be?
    Thanks

    Leave a comment:


  • replied
    Hello, I do not know if this is a bug or if the character is incomplete, but I know he is like this: (It would work if I place the character in the template of the previous version?)

    Leave a comment:


  • replied
    I might be an oddball but im actually really interested in a sports template - something where you can have a base mountain/skate park, and simple controls to go downhill or push along and jump through a park. I tried working with some basic stuff for using gravity to push a player down the hill but it seems a bit messy and didn't quite get the result i was looking for, so im mainly just hoping to find some example code to get my brain turning

    Leave a comment:

Working...
X