Craft up

image 1

image 2

image 2

image 3

image 2

You wake up in a weird place and find yourself next to an alien. The alien tells you how you can get away from here. You need to craft to go up. Then you start collecting stones and craft some boots. The alien wants you to search for the throphy he lost and get it back to his UFO. You put it back and everyones is happy cause you can jump from his UFO to another place.

About Project

Game Engine: Unreal engine 5

Code language: Blueprints

Platforms: Pc

Time: 4 weeks

People: 1 dev

My Experience

We were learning unreal engine for the first time, so i mad a game where i thought about using the jump as an important part of it. So i had the idea of making you jump up and get higher every time but then it changed to that you needed to craft to jump higher. Now i got this game which is pretty awesome for my first ever unreal project. i had a lot of issues but google is always the best helper. I can now make unreal projects and i can understand blueprints and i also can read a little c++.

my part was this time just everything except art cause i got that from the unreal engine fab.

Code

Bridge

This code rotates the bridge so you can walk over it when this event is called. I rotate the bridge from a socket so it rotates how i want it to rotate.

Bridge button

The OnInteract activates the code above and rotates the UI to face the player and it dissapears when it has to.

Chest

This codes sets checks if the player has the trophy and either gives it to the player or puts the trophy in the chest.

Player

This is the input for the player.

Crafting table

This checks if you have the pickaxe and boots already and if not then you need to craft the pickaxe. When that is done you can mine iron ore that you need to craft the boots. It activates a socketobject when you craft either one.

Iron ore

If the event is called it checks if you have the pickaxe. If not you need to craft one, but if you do you can mine the ore and get iron ore. The rock can be mined 5 times before it breaks.

Small stone

This is just the script for counting up your stones when you pick one up.