I remember once seeing a LOZ game that had a sundial in the HUD anyone remember if that is true or if I am just crazy? :wacko:*EDIT* Anyways, It does matter what I was wanting is to see what they did. I am thinking about making a new part to my HUD for night and day time. It would be next to the HUD or on top the the screen and would use events to check what "time" it is and the picture would change according. This is what I wiped up at work with MS paint, mind you I will make a much better version this weekend.
Morning
(http://img94.imageshack.us/img94/69/morningv.jpg) (http://imageshack.us/photo/my-images/94/morningv.jpg/)
Daytime
(http://img26.imageshack.us/img26/7944/daytimer.jpg) (http://imageshack.us/photo/my-images/26/daytimer.jpg/)
Evening
(http://img10.imageshack.us/img10/7393/eveningp.jpg) (http://imageshack.us/photo/my-images/10/eveningp.jpg/)
Night
(http://img210.imageshack.us/img210/5006/nightmm.jpg) (http://imageshack.us/photo/my-images/210/nightmm.jpg/)
Majora's Mask.
you mean majora's mask? or a fan game?
dam he beat me too it lol
Thanks Blizz, I couldn't remember. I didn't play Majora's Mask for too long it wasn't my cup of tea.
*EDIT* Thanks Zexion :)
**EDIT**
Here is the common event I setup and a par. process on each outside map will call it.
(http://img17.imageshack.us/img17/1189/74785395.png) (http://imageshack.us/photo/my-images/17/74785395.png/)
When I load the game though the picture pops up once then disappears. Any ideas what I am doing wrong?
Check to make sure you don't have any events that remove picture 1... Also make sure you erase the picture after it becomes night otherwise I'm not sure it will update properly. It's also a good idea to have the pictures separate so it's not show picture 1 then show picture 1 but show picture 1 then show picture 2. Also it might be continually trying to update it, so add a 'exit event process' at the end of the event calling the common event.
I created the par. process on the map and when I hit start new game I get an error
Par. Process
(http://img689.imageshack.us/img689/2917/62520593.png) (http://imageshack.us/photo/my-images/689/62520593.png/)
Common Event
(http://img208.imageshack.us/img208/5830/62103406.png) (http://imageshack.us/photo/my-images/208/62103406.png/)
Error
Script 'ATES' Line 353: NoMethodError occurred.
undefined method 'day' for #<Game_ATES;0x8xbfafa8>
instead of checking that its ATES.day or ATES.night, why dont you check that the night switch is on that you use for your enemies? im not sure but maybe theres conflict because its trying to check it twice with both parrallel processes, heres an example of what i mean:
condition night switch == on
erase picture1
show picture2: night
exit event
else
erase picture2
show picture1: day
exit event
@siagostimo I don't get the error anymore, but it only displays the night graphic and when the DSWITCH turns on the image doesn't change. :( I have it setup like this.
(http://img521.imageshack.us/img521/1250/39763372.png) (http://imageshack.us/photo/my-images/521/39763372.png/)
*EDIT* That image is wrong, I fixed it. But not only the day image will show not the night, it flashes once when the game starts.
(http://img692.imageshack.us/img692/834/93569067.png) (http://imageshack.us/photo/my-images/692/93569067.png/)
Remember if there is already a picture with tag 1 showing on the map another picture with tag 1 won't show.
I edited the event and fixed the tags, still same problem. :facepalm:
it should be like so:
condition night switch == on
erase picture1
show picture2: night
exit event
else
erase picture2
show picture1: day
exit event
see that you erase pic 1 when pic 2 is shown, then you erase pic 2 when pic 1 is shown, if you want a picture to be constantly displayed then theres no need to delete it in the same condition, also i would test it withouth the exit event
Well erase event will "remove" the event until you re-enter the same map again, that could be your problem.
Okay, thanks guys I will look into it when I get home from work tonight. The weekend is so close!
*EDIT* Thanks Vexus and Diagostimo +1 everything works just fine. Yup, edited my images a little bit to clean them up. Will still need new ones before release. Now if I can just edit ATES so there are switches for morning and evening I can add graphics for those too. Also edit the how long each of those events last too like night and day. :)
try this:
(http://img404.imageshack.us/img404/6220/ates.png)
you can also use $game_system.ates.time.min == to check the mins so if you wanted to check if its 10:30 you would do the following:
condition:$game_system.ates.time.hour == 10
condition:$game_system.ates.time.min == 30
@>
branch end
@>
branch end
you can change the hours to whatever you want thats just an example :)
AWESOME! Thanks diagostimo!