I have decided to make a few changes to the pause option I have made. What I did was scratch the idea of adding a "resume" button for now as I felt something in those scripts were causing the game itself to scratch. With that being said, I made an individual object for the pause controller with no sprites included. I added similar events (create, draw, escape key) but changed the scripts.
For the create script:
For the draw script:
For the press <Escape> script:
Everything seems to work fine right now the only thing I need to work on is centering the text of the screen:
No comments:
Post a Comment