Other things I have learnt and done:
- Named the spawning platforms individually thanks to which they're unique allowing me to access each one independently
- 5 platforms spawn at the beginning, each being separated by another by the same distance, they then spawn one by one continuosly
- When a platform is beaten and it moves above the square it disappears using the Destroy() command
- Platforms' gaps are positions left and right simultaneously. They're also randomised each time which improves replayability
- Learnt how to return a random number at a provided range
Although I've summarised it all in 5 bullet points, I cannot stress how much C# I have learned recently. Hopefully by tomorrow I'll have a fully working Square Drop!
No comments:
Post a Comment