[Mod] Watch [watch]
[Mod] Watch [watch]
Original project:
Echo, here: http://forum.minetest.net/viewtopic.php?pid=84030
License:
GPL
Idea:
I received a request to revise this mod then, well, I like construct things.
The face of the tool is compatible with the current server time, one face different to each hour.
If used you receive a chat message with the current server hours.
Depends:
default
Screenshots:
Download:
http://www.novoseusadosinformatica.com. ... -watch.zip (Version 20130506)
License: GPL
Dependencies:
default
domb (my own library of utility functions)
domb is here: http://www.novoseusadosinformatica.com. ... k-domb.zip
To do...
- Solve all bugs...
- Change images without create a big amount of objects.
- Complete the option for digital watch in some easy way to change, I already have implemented 99%, only need some time.
Bugs
The "ugly" function who update clocks check all player on the server then I limited the calling of him to one time for each server hour, but if you use the clock you see the correct hour, only the face will be delayed.
Echo, here: http://forum.minetest.net/viewtopic.php?pid=84030
License:
GPL
Idea:
I received a request to revise this mod then, well, I like construct things.
The face of the tool is compatible with the current server time, one face different to each hour.
If used you receive a chat message with the current server hours.
Depends:
default
Screenshots:
Download:
http://www.novoseusadosinformatica.com. ... -watch.zip (Version 20130506)
License: GPL
Dependencies:
default
domb (my own library of utility functions)
domb is here: http://www.novoseusadosinformatica.com. ... k-domb.zip
To do...
- Solve all bugs...
- Change images without create a big amount of objects.
- Complete the option for digital watch in some easy way to change, I already have implemented 99%, only need some time.
Bugs
The "ugly" function who update clocks check all player on the server then I limited the calling of him to one time for each server hour, but if you use the clock you see the correct hour, only the face will be delayed.
Last edited by deivan on Mon May 06, 2013 16:02, edited 1 time in total.
-
- Member
- Posts: 160
- Joined: Tue Sep 18, 2012 22:11
there is some kind of dynamic texture: you can combine different textures so you could just have 12 texture for the hours, up to 60 for the minutes and combine those using the ^ operatordeivan wrote:For every new face I need all images again, like 12h 12 images, 24h 24 images, when is possible make dynamic textures at running time all is possible, but now, is a big effort for a little gain. :-/
"watch_hour0.png^watch_minute_5.png"
Last edited by Iqualfragile on Sat Apr 20, 2013 11:32, edited 1 time in total.
Gr8 b8, m8. I rel8, str8 appreci8, and congratul8. I r8 this b8 an 8/8. Plz no h8, I'm str8 ir8. Cr8 more, can't w8. We should convers8, I won't ber8, my number is 8888888, ask for N8. No calls l8 or out of st8. If on a d8, ask K8 to loc8. Even with a full pl8, I always have time to communic8 so don't hesit8.
I don't know if the HUD API support, but I say, maybe.
Is a very nice code this one from the MAPP, but don't is implemented over a object, is over a formspec, I will try a adaptation to this mod. You know if is possible use this dynamic allocation of faces in a block or tool (my case)?
Anyway, thanks.
-*-
I will test your idea Iqualfragile. thanks.
If is possible use a dynamic generated texture like your idea then I need 12 images and use another 12 for minutes, the game don't need a precise illustration...
Then times like 13:00 and 13:04 have the same display, but in my game (each hour is one day) a minute have the duration of 2,5 seconds... Is to small to need be coded. :-o
Is a very nice code this one from the MAPP, but don't is implemented over a object, is over a formspec, I will try a adaptation to this mod. You know if is possible use this dynamic allocation of faces in a block or tool (my case)?
Anyway, thanks.
-*-
I will test your idea Iqualfragile. thanks.
If is possible use a dynamic generated texture like your idea then I need 12 images and use another 12 for minutes, the game don't need a precise illustration...
Then times like 13:00 and 13:04 have the same display, but in my game (each hour is one day) a minute have the duration of 2,5 seconds... Is to small to need be coded. :-o
Last edited by deivan on Sat Apr 20, 2013 12:27, edited 1 time in total.
- lightonflux
- Member
- Posts: 384
- Joined: Mon Nov 11, 2013 07:22
- In-game: lof
- Location: Germany
Who is online
Users browsing this forum: No registered users and 39 guests