Monday 7 May 2018

Old UE4 Grid-Based Tile Movement Project Download!

Hello!

Over the last couple of years I have got a lot of emails and comments asking about how I did my top down grid movement in this video:


Just to save some of the questions I thought it would be a good idea to upload the old project to the site so people can break it apart and see how it functions. I should warn you, this code is trash in this current form as it is really old and I made this back when I was figuring out how to do all of this scripting stuff properly. There are probably a million better ways to do this! It should make for good learning though.

Please, if you have any questions about the project still or want to show off how you have used it, email me. I would like to hear from you, and if you have made anything interesting using something you have learnt from this then I would like to see it.

Some time in the future I may come back to this demo, and make a proper tutorial on how to create it (in a way that isn't stupid), subscribe to my Youtube channel so you can see my new tutorials when they come out. (Hopefully should be around late summer time if everything goes well!)

Download Project Here

Just as an additional note about the contents of the project:


  • A lot of this code is duplicated, disconnected and just generally messy. Old unused code should be deleted.
  • A lot of the code is in weird disjointed places, some of the Pawn and Controller script is mixed up and is in the wrong place, like the actual movement script being on the Controller, this should probably be implemented onto the pawn. The controller should mainly be responsible for handling the input.
  • A lot of the events I have set up could and should probably be set up as functions instead.
  • There is quite a bit of duplicate code, using the functions like I've mentioned above could help cut some of that out.
  • Basically, be smart in what you take from this code, use knowledge gained from other sources to improve it and make it better.


No comments:

Post a Comment

Leave a comment, I'll try and get back to you soon as possible. ^.^

Note: only a member of this blog may post a comment.