by date
What Time is It?
What Time is It?
| Name: | David Higgins | ![]() |
|---|---|---|
| Date Posted: | May 01, 2007 | |
| Rating: | Not Rated | |
| Public: | YES | |
| Comments: | YES | |
| RSS Feed: | or Subscribe with . | |
| Profile Page: | View profile page for David Higgins |
Blog post
Ok, the title might sound strange, but ... my 6 year old just recently got a watch as a gift and now she needs to know how to read it to tell what time it is ... immediately, I thought to myself, "What a great thing to do in TGB!". So, what did I do ... I whipped together a real quick clock in TGB so that she can experiment with things ... right now, it's extremely rough and doesn't really do much ... but with a little more time and thought put behind how to turn it into a really useful educational tool ... I'm sure it will be useful, as it is now ... I can move the hands and ask her to read the clock ... then get her feedback, etc ... no need to play with the old analog clock in the closet ... or drawing things down ...
This entire thing took about, 10 minutes ... not counting the 15 minutes I spent in Photoshop making the artwork (yes, I made all the artwork myself, no, I'm not an artist)

I've also created a small problem generator for her, called "It's Math", which can be found on my website:
It's Math - Download
I'm not exactly sure which version of "It's Math" is currently on my website, but the latest version that she's been playing with uses art work from ArtPakz.com (specifically, Lady Bug Run) -- It uses the fruit images as 'counter' objects and a simple t2dTextObject to display the problem ... I used some free artwork from BittBox to implement an 'on screen keyboard' of sorts ... so she can use the mouse to enter the numbers. It updates the t2dTextObject in real-time, so as she enters numbers (keyboard or mouse) the t2dTextObject is updated so it looks like she's actually typing into a 'text box' ... she seems to enjoy it, even though it's extremely basic.
Anyhow ... I figured I'd write this post so that anyone out there with kids and thinking of whether or not to pick up TGB ... has some good reasons to do so -- Educational software for kids is hard to find, especially software thats useful and actually educational ... so ... everyone should start making some, :)
I place the code and artwork to "What Time Is It" on TDN as a working example of simple game functionalities (Rotation and Mounting)... but basically, here's the simple side of things;
The clock hands, as you can see, are not the same size as the clock face, so rotating them obviously would cause a weird effect ... so what I did was create a t2dSceneObject (invisible object) and made it the size of the clock face graphic, then mounted the Small Hand to it ... and I rotate this t2dSceneObject ... to rotate the small hand around the clock ... the same logic is applied to the big hand ...
Rotating clock hands to tell the time is fairly simple too, 24 and 60 divide into 360 perfectly and you get 30 and 6 ... so, a rotational increment of 30 increases the small hand by one hour, and a rotational increment of 6 increases the big hand by 1 minute ... fairly simple, and kind of neat, eh?
The up/down buttons with the words "HOUR" and "MINUTE" are basically just attached to functions that change the rotation of the small and big hands ... there is also a function called "updateCurrentTime()" that is going to be attached to a hot-key (enter or something) so that the teacher (parent) can move the clock hands ... without actually visually displaying the digital version of the time ... and then ask the child to read the clock, when the child answers, the teacher (parent) can then hit the hot-key to let the kid see the correct answer ...
I'm thinking of adding in some game play ... where perhaps the clock randomly changes time and the child has to answer the question of "what time is it" to advance to the next question ... any idea's on how to make a "how to read an analog clock" game fun for kids, let me know.

This entire thing took about, 10 minutes ... not counting the 15 minutes I spent in Photoshop making the artwork (yes, I made all the artwork myself, no, I'm not an artist)

I've also created a small problem generator for her, called "It's Math", which can be found on my website:
It's Math - Download
I'm not exactly sure which version of "It's Math" is currently on my website, but the latest version that she's been playing with uses art work from ArtPakz.com (specifically, Lady Bug Run) -- It uses the fruit images as 'counter' objects and a simple t2dTextObject to display the problem ... I used some free artwork from BittBox to implement an 'on screen keyboard' of sorts ... so she can use the mouse to enter the numbers. It updates the t2dTextObject in real-time, so as she enters numbers (keyboard or mouse) the t2dTextObject is updated so it looks like she's actually typing into a 'text box' ... she seems to enjoy it, even though it's extremely basic.
Anyhow ... I figured I'd write this post so that anyone out there with kids and thinking of whether or not to pick up TGB ... has some good reasons to do so -- Educational software for kids is hard to find, especially software thats useful and actually educational ... so ... everyone should start making some, :)
I place the code and artwork to "What Time Is It" on TDN as a working example of simple game functionalities (Rotation and Mounting)... but basically, here's the simple side of things;
The clock hands, as you can see, are not the same size as the clock face, so rotating them obviously would cause a weird effect ... so what I did was create a t2dSceneObject (invisible object) and made it the size of the clock face graphic, then mounted the Small Hand to it ... and I rotate this t2dSceneObject ... to rotate the small hand around the clock ... the same logic is applied to the big hand ...
Rotating clock hands to tell the time is fairly simple too, 24 and 60 divide into 360 perfectly and you get 30 and 6 ... so, a rotational increment of 30 increases the small hand by one hour, and a rotational increment of 6 increases the big hand by 1 minute ... fairly simple, and kind of neat, eh?
The up/down buttons with the words "HOUR" and "MINUTE" are basically just attached to functions that change the rotation of the small and big hands ... there is also a function called "updateCurrentTime()" that is going to be attached to a hot-key (enter or something) so that the teacher (parent) can move the clock hands ... without actually visually displaying the digital version of the time ... and then ask the child to read the clock, when the child answers, the teacher (parent) can then hit the hot-key to let the kid see the correct answer ...
I'm thinking of adding in some game play ... where perhaps the clock randomly changes time and the child has to answer the question of "what time is it" to advance to the next question ... any idea's on how to make a "how to read an analog clock" game fun for kids, let me know.

Recent Blog Posts
| List: | 11/19/07 - Cacheable Web Resources... Oh My! 09/29/07 - The Adventures of Coco the Gorrila in: CocoNuts 09/23/07 - How's it all Add Up? 07/11/07 - Ever wondered how to get your game project update to the rest of the team? 06/30/07 - The dog ate my homework, I swear! 06/20/07 - My latest news, and the new site I just launched ... 05/09/07 - $5,000 sound interesting? 05/01/07 - What Time is It? |
|---|
Submit your own resources!| Ashley Leach (May 01, 2007 at 03:42 GMT) |
great work :)
| David Higgins (May 01, 2007 at 03:47 GMT) |
Neo Binedell created this really cool rag-doll like animation script, called "Poser" -- that might help illustrate things a little ... but ... I dunno if it'd be kid friendly at that point ;)

| Joseph Euan (May 01, 2007 at 07:59 GMT) |
Telling the time seems to be something missing from my girlfriends kids school lessons... that game/app would really help them.
Edited on May 01, 2007 07:59 GMT
| Leroy Frederick (May 01, 2007 at 14:33 GMT) |
| Chris Labombard (May 01, 2007 at 15:49 GMT) |
| James Spellman (May 01, 2007 at 17:11 GMT) |
| Richard Van Stone (May 01, 2007 at 17:42 GMT) |
| David Higgins (May 01, 2007 at 17:44 GMT) |
Hrm, in my defense, I haven't read an analog clock in ages ... ;)
But yeah, I'll fix that right away ... thanks for pointing it out ... I'm impressed too, the jokes were minimal ;)
Edited on May 01, 2007 17:48 GMT
| David Higgins (May 02, 2007 at 01:02 GMT) |
| David Higgins (May 02, 2007 at 04:47 GMT) |
Audio Datablocks are a pain in the ass -- I think there should be an Import Sound functionality (not sure, might be in 1.5 -- not in 1.1.3)
| Leroy Frederick (May 02, 2007 at 07:50 GMT) |
You must be a member and be logged in to either append comments or rate this resource.



Not Rated


