My score counter vanishes at 10

Just started using Construct 2? Post your questions here

Post » Thu Sep 08, 2016 10:52 am

Hello all,

I'm making a game which is my first, so I decided to try and recreate flappy bird. I know 100's of people have done it, but I thought it would be a good project. Now everything is working fine. I'm using the method where I have a Global Number = 0 and every time the sprite passes a pipe the counter goes up by 1. Starts at 0 goes up to 9 then when I pass the 10th pipe the counter vanishes. Is this a simple fix which people have had to deal with before? Please help :?: :?:

Thank You All!
B
2
Posts: 6
Reputation: 162

Post » Thu Sep 08, 2016 11:37 am

subplay wrote:Hello all,

I'm making a game which is my first, so I decided to try and recreate flappy bird. I know 100's of people have done it, but I thought it would be a good project. Now everything is working fine. I'm using the method where I have a Global Number = 0 and every time the sprite passes a pipe the counter goes up by 1. Starts at 0 goes up to 9 then when I pass the 10th pipe the counter vanishes. Is this a simple fix which people have had to deal with before? Please help :?: :?:

Thank You All!


Maybe the text area is small to contain 2 numbers ?;
http://gigatron3k.free.fr/Intro/

https://www.shadertoy.com/user/gigatron

https://twitter.com/realistquantum

Ezekiel 1-4 ; ufo landing explanation ..

CONSTRUCT 2 THE ONLY FAST WAY TO HTML5

Image
B
62
S
21
G
29
Posts: 822
Reputation: 22,232

Post » Thu Sep 08, 2016 12:42 pm

Thanks for that Gigatron, you make an amazing point. I never even gave that a thought you know. I feel a right idiot now :( Lets try it out.
B
2
Posts: 6
Reputation: 162

Post » Thu Sep 08, 2016 5:01 pm

Yes that fixed it lol.. So thanks to Gigatron, if anyone else has this issue, make sure you have gave enough space for your numbers to show. I did not :(

Thanks Gigatron
B
2
Posts: 6
Reputation: 162


Return to Beginner's Questions

Who is online

Users browsing this forum: totoe and 4 guests