Programming and Scripting:
Fun Fact: I first wanted to be a programmer and go to MIT. Obviously that did not happen, but I could not be more happier with my chosen future career. Because I have taken programming courses in Python, HTML, C++ and Java, I can easily read code and be able to discern the basics of what it is trying to do. This allows me to talk with programmers and read code and even help them with it, in which I have done so in some school projects.
Anyways, I have been looking at some job postings and a few recommend or require a LD to be able to program and script events, so I thought I’d give that some practice.
The first one is a simple light switch that turns a set of lights on and off with the interact button and the exploder inside of the game engine. Some tutorials helped me get the basics of how to get the interact button, but the rest was looking at the gsc language api and finding required functions and code to put it together.
The second one is a bit more complex that required separate functions and a bit more testing as it would often loop multiple times and play the audio and animations twice. Since I am no programmer, I have no idea if my code is optimized, but I tried my best to make it modular and be able to reused multiple times in the same level to save on resources.