UE4 Experiment — 2D Sidescroller

I used starter content and followed tutorials to experiment with a 2D Side scroller. I did this to improve my knowledge of more varied blueprints as well as start playing with a basic collectible script which I could later use the logic of for my 3D prototype.

  • Two different methods of spawning the coin - constantly, at a set interval or by button press
  • Using Arrays to create more random spawning of coins
  • Using Target points to designate where coins can spawn
  • Ensure that the coins spawn on the correct plane (as it is a 2D game)

View post on imgur.com

Coins spawning every 2 seconds

View post on imgur.com

Showing the use of text strings to return when the player has touched the coin – this helped me figure out the logic of how to determine when the coin had been triggered, which could then be developed to add the coin to the player’s total count, and destroying it.

Overall, doing small tests like this is helping me expand my knowledge in a varied way. This will help me know how to apply my knowledge better and start to figure out how to create things more independently.

Leave a Reply

Your email address will not be published. Required fields are marked *