Gameplay Programming
- Fabio Pereira
- Jan 16, 2022
- 1 min read
Overview
In this module, I've been assignment to implement a select few mechanics to a game or project. In my API programming module, I am making tools and scripts to be able to make a VR game so for the first mechanic I want to use that code to make a VR inventory. For my second mechanic, I want to program a procedurally generated level using level streaming and I want it to have the narrow/open spaces from Alien Fireteams.
Overview
Level Gen
VR Inventory
Key Takeaways
Making a plugin. To share my VR code to other projects, it will be more efficient to turn it into a plugin that I can easily add and enable.
I learnt a better way to develop using both blueprints and CPP. Before i coded behaviour in CPP but I now realise that you need a balance between them. I’ve started to develop most, if not all, behaviour in blueprints but keep functions and some variables in CPP essentially make the source file more like a function library for the actor. For now, this makes sense and keeps the codebase less cluttered.
For the procedural generation, I learnt about level streaming and how to instance the levels to have ‘copies’.
Comments