Trying to get the arrows have 3 frames for the 3 way corners instead of only 2 frames was more time consuming then expected and eventually we got working and wanted to derail/crash trains at bad junction which we were able to do on 1 corner but this really showed to be harder than expected on other corners since it was checking variables from objects on each side of the object which turned the train so we decided to remove that feature because we already had a lot of variables and codes going on because we couldn't use arrays or didn't know how to use it in our case since the arrows changed the trains direction and if you only changed on train and it touched a directional object which tells whether they are moving forward or backwards, the array will tell every train it is moving backwards so we did separate codes for each train and this became overwhelming.
The bridge code was also removed and we left it so that it became a normal track path because although we had the bridge working the codes would affect the entire game because it changes the depth of each objects so when a train crashes or it goes game over, the object will not work so we had to write a code to make the object depth go back to it's original depth but even though we done that, it still sometimes didn't work which we did not understand so we thought instead of having a feature which causes problems further on in the game we should just remove it for now.
Once we decided what wasn't going to be in the game because we knew we were going to need more time, we decided to add things which would help players understand such as circle lights at the bottom beside the score to indicate you have picked up a package, we also added scores to the game.
No comments:
Post a Comment