Block code help: fixing a timer glitch

wait wat?

1 Like

it just seems your thing really likes to go by freaking nano secs or something

1 Like

Also, correct me if I’m wrong (I’m really unsure about this), but if 60 is less than or equal to the seconds, presumably it should still be seconds. Change the sign to greater than or equal… maybe that’ll work?

1 Like

Wot? Did I do something wrong?

1 Like

dont variables clear once you finish the code?
like, after this code is finished, doesn’t it clear, then starts back at zero when it is run again?

1 Like

I’m not sure, block coding in GKC is kind of weird…
I mean, wouldn’t it be great if you could create a variable for all blocks in the game?

2 Likes

nonononon :sweat_smile: I just didn’t understand what u mean by setting it to zero

3 Likes

You all might be overthinking this a bit. This system works fine for me:

6 Likes

that’s the property. only problem, is that the property is ANNOYINGLY HARD to code with.

also, @Toxic is a genius.
you have solved what I have been eluded by. THE FREAKING VARIBLE DOES NOT SET BACK TO ZERO!!! THIS MAKES STUFF SO MUCH EASIER!!!

Toxic you are awarded the EPI PEN OF HONOR
:sparkles: :pen: :sparkles:

2 Likes

why do you devide by 60?
wait…
GENUIS!!!

omg fulcrum
here is the

:sparkles: :pen: :sparkles:

EPI PEN OF HONOR

(wow, two pens in one day)

3 Likes

You need your own emoji lol.

4 Likes

anywaaays, since we have solved this,
@Gimkit101
My solution works, like this :
image

Ty to toxic, glowing, and fulcrum.
Fulcrums solution works too!

4 Likes

there’s a bugs tab for a reason.

1 Like

I don’t think so.

1 Like

This isn’t a bug, this is a help thing because the creator’s thing didn’t work.

3 Likes

I think a bug is when there’s something wrong with the code of GKC, not the code in the game.
Here in the forums, we squash a lot of bugs haha.

4 Likes

Umm… Yippee!

2 Likes

please don’t just make a random useless comment without contriuting. Also, this is not a bug. Gimkit wants us to help him design a clock as his old one doesn’t work.
Bugs are about bugs in the GAME, not bugs in your code.

I mean, it shows that it infact does not clear, but ok.

for glowing

what website do u do ur thumbnails on? do u draw them by Photoshop or by hand
@Turtle

3 Likes

You can switch the inequality when the things on the two sides are swapped.

2 Likes

I’m not good at math:(

For @Epi320

I’m going to put all of this in my bio, but since you asked…

  1. I use Procreate, which is an app (I can only thumbnail at home because it’s actually designed for phones and tablets) and I use it for a lot other than thumbnailing (I have a life outside of GKC, believe it or not lol)
  2. I draw them by hand, but I take a tragically long amount of time and I use a lot of clipping masks and such so they look illustrated and neat, giving it that Photoshop feel but Photoshop isn’t exactly free, and it’s a little more complicated then basic drawing apps.
  3. I really love art and I’m trying to get better at it, so I’m learning from all of you talented artists on the forums.
4 Likes