I there a way of changing graphics to different holidays and so forth by date? Say you play the game on Halloween the app will change the graphics to that holiday. Is there an example of this on the site? I've seen this done before in other apps, but I don't know how it's done. Be pretty useful/cool to change the graphics for all the holidays.
Detect dates, holidays and so forth
Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.
A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.
Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!
Clickteam.
A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.
Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!
Clickteam.
-
-
I believe games like Angry Birds change their graphics in an update, so they wouldn't have all the graphics in the app at once. That's one way to go. Different versions for different seasons.
You can always use the date-time object to check for a certain period and use different graphics accordingly. But I think this will make the app heavier and an extra hassle to code. I'd op for the Angry Birds method.
-
The Date-time object is the way to go as it's cross platform, just get the month and day and compare to the dates your after. Yet it will only be useful for set dates (or perhaps a date range eg. a Christmas skin for December). If you want to a set a specific date for a movable holiday, for example Easter, the date-time object won't help much. (By the way Easter occurs at the earliest, March 22 and the latest April 25, if you wanted to set a date range for a skin to be available). A cool feature you could integrate would be to offer unlockable skins that users could choose when ever they wanted
-
Thank you guys. What are the expressions used for this as I've never used the Time/Date object. aenever, could you post an example file please? I would only be using the major holidays. For Easter, a range would be the way to go I'd imagine. The others are always good to go with the dates.
-
Just adding some ideas for movable holidays -
depending on how long you want your application to "live"
you could store a table where to lookup holidays for each year:i.e. for next 5 years easter:
Please login to see this link.Probably longer-lasting tables can be found online, with many additional holydays (depending on countries too).
I think Google has a free API for a calendar where you could retrieve all needed infos in JSON or SOAP protocols
but I've only used those services from webservers
I guess would require some extra tweaking talking them from Fusion X)Otherwise, if easter is the only movable holiday you need, you could check above link to see how it gets calculated
and replicate this taking avail of Date/Time object.Date-time is pretty straightforward,
just tweaking with it will probably get you on the right track!month of ("Date and Time") = 12
day of month of ("Date and Time") = 25
>>> it's Christmas! -
Thank you schrodinger.
-
Hmmm,. I don't see a way of checking if date/time object = 12 for the month and day = 25 for the holiday Christmas. The expression you typed don't work. Can someone upload an example please.
-
Well, that was pseudocode typed out of memory XD
Try this:
Please login to see this attachment.change your computer clock to 25 December to see the string change in realtime
(left-click the clock on your taskbar, change date and time settings, change date and time)You can implement all date and time functions just by rightclicking the object in the expression editor
-
Ok then!! Thank you. I didn't know I had to use "compare two general values", but now I do. Thanks again as it helped out a lot.
-
Sorry I'm in Australia, I must have been asleep and I missed your request. Glad to see you got it sorted
-
No problem aenever. I'm glad you chimed in. Thank you everyone for helping me out as I didn't know how to do this. Pretty simple once you learn..!!
-
Schrodinger, Great call on the table. This is a solution that seems easy to implement and update, or do the homework and be good for 25 years
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!