Discuss Scratch
- Discussion Forums
- » Help with Scripts
- » How to center text/numbers/score?
- derpyvy
-
41 posts
How to center text/numbers/score?
I'm making a game where the score should be shown at the top center part of the screen. I can't figure out the math to do this though. I would really appreciate if someone were to help, as I will be much closer to finishing the game!
- Ayarkay
-
73 posts
How to center text/numbers/score?
If you're using a variable to display the score, you can actually just drag the variable display around your stage. Can you share the project so we can have a look?
- derpyvy
-
41 posts
How to center text/numbers/score?
I'm not using the default variable display. I'm trying to make sort of a text engine to display the score using the more pleasant-looking costumes I made. I already knew I could do that, but I want my game to be more professional. If you're using a variable to display the score, you can actually just drag the variable display around your stage. Can you share the project so we can have a look?
- Ayarkay
-
73 posts
How to center text/numbers/score?
Fair enough. The offset of your display will depend on how many digits you're displaying. If you give me a link to your project I'll give it a shot later today.
- derpyvy
-
41 posts
How to center text/numbers/score?
Since I'd rather not share the actual game, I made Fair enough. The offset of your display will depend on how many digits you're displaying. If you give me a link to your project I'll give it a shot later today.this project, as it's the only thing I need help with.
- derpyvy
-
41 posts
How to center text/numbers/score?
bump because I really want to finish this thing
- mstone326
-
1000+ posts
How to center text/numbers/score?
See if this is what you are looking for. I looked at your project. To answer your question in there. I do not use the parent sprite for the score. I just use the clones.
https://scratch.mit.edu/projects/165068770/
https://scratch.mit.edu/projects/165068770/
Last edited by mstone326 (Sept. 6, 2017 22:10:16)
- derpyvy
-
41 posts
How to center text/numbers/score?
This project
This projectAhhh, thank you both! I'll most likely use asivi's method, but thank you both again for the efforts c:
By the way, I will credit you in the finished project <33
Thank you again!
- Discussion Forums
- » Help with Scripts
-
» How to center text/numbers/score?