Log In  

Cart #36359 | 2017-01-22 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA
6

Entry for the Tiny-TV Jam. Many thanks to Rémy for hosting this wonderful jam!

P#36360 2017-01-22 15:55 ( Edited 2022-02-24 14:40)

Wow, that score font worked really well!

A good way to do the score with less code would be to create a function that draws a single digit 0-9 at a specified x,y coordinate on screen. Then you have code break the current cookie count into the 2 digits, and draw each digit at the correct location on screen. This also means you have just 10 sprites (one for each digit) instead of one for each possible score. Let the computer do the hard work of copying them! :-)

Great first game though, and the TV is really cool.

P#36530 2017-01-23 23:00 ( Edited 2017-01-24 04:00)

Cute cookie, lovely tv! I included it in my compilation video series of the Tiny TV Jam games, if you’d like to take a look :)

P#36567 2017-01-24 10:41 ( Edited 2017-01-24 15:41)

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2022-05-17 18:19:45 | 0.008s | Q:17