top of page

New York Film Academy

During my time at New York Film Academy, I have been a part of many projects with my classmates. I was responsible for programming these games and making sure they were properly balanced and worked smoothly. 

1. Time Bomber

title screen big.png

Role: Game Programmer

Tech Used: Unity, C#

Duration: 15 Weeks

Team Size: 8 (3 programmers, 3 artists, 2 designers)

​

Overview: A level-based, top-down 2D fighting game where you must defeat all aliens in a level to save a famous landmark.

​

Responsibilities: 

  • Programmed alien enemy pathfinding AI to allow intelligent navigation and player targetting.

  • Developed basic 2D player movement and bomb placement ability.

​

Key Achievements:

  • Allowed the enemy AI to preserve itself by moving away from the closest placed bomb​, making them more difficult to defeat and letting them stay alive after attacking the player using their own bombs.

Enemy.cs

Enemy.cs controls each enemy by holding health values, position value and manipulating the enemy's position to attack the player.

​​​

The enemy always knows where the player is located, so it only needs to figure out where to move towards while navigating obstacles.

​

To move towards the player, the enemy calculates which direction they should attempt to move in first by checking which axis has the bigger difference in position between them and the player.

​

A list of four directions is created in a certain order so that the enemy always tries to move towards the player first.

​

If a wall is detected where it tries to move, it goes down the list of directions to move in until it can move and repeats all of these things again.

​

If the player is close enough, the enemy will plant a bomb and start to run away from it to stay alive.

​

When the enemy's health reaches 0, a quick death animation plays and the enemy is destroyed.

enemy1.png
enemy2.png
enemy3.png
enemy4.png
enemy5.png

© 2025 GUSTAVO ROJAS FLORES. Powered and secured by Wix

bottom of page