1 decade ago by stahlmanDesign
I am thinking of using Impact to make a calendar for the next NHL season. It works out pretty well to lay it out in Weltmeister where team logos are entities containing game time & info.
There would just be one entity called team. What would make it unique is the date value (gameday).
There are about 12 games per month. Each month could be a new "level" with its own layout, or just have each month off the the right and have a button scroll left and right.
But this is still tedious to update in Weltmeister after each game, and then bake and upload.
So I wonder is it possible to load an XML file from some other site, updated by someone else, and then have that data modify the entities' variables?
I would have some code in the "game" to look through parsed XML data. When it detects the entity with a corresponding date value, the final score variables in the entity would be changed which would then display it with an Impact font.
This would allow me to build a calendar that updates itself based on an XML file that other people will be responsible for changing. Sort of like loading high scores, but having those scores affect the game.
For example, in Weltmeister I would have an entity, and based on a key value, it would use a Winnipeg logo:
key: date
value: 20111001 <--- i.e. Oct. 1, 2011
key: visitor
value: winnipeg <--use winnipeg logo (tile #30) for entity
key: visitorScore
value: 2 <-- use -1 if game not yet played
key: homeScore
value: 3
key: overtime
value: YES
key: shootout
value: NO
etc.
There would just be one entity called team. What would make it unique is the date value (gameday).
There are about 12 games per month. Each month could be a new "level" with its own layout, or just have each month off the the right and have a button scroll left and right.
But this is still tedious to update in Weltmeister after each game, and then bake and upload.
So I wonder is it possible to load an XML file from some other site, updated by someone else, and then have that data modify the entities' variables?
I would have some code in the "game" to look through parsed XML data. When it detects the entity with a corresponding date value, the final score variables in the entity would be changed which would then display it with an Impact font.
This would allow me to build a calendar that updates itself based on an XML file that other people will be responsible for changing. Sort of like loading high scores, but having those scores affect the game.
For example, in Weltmeister I would have an entity, and based on a key value, it would use a Winnipeg logo:
key: date
value: 20111001 <--- i.e. Oct. 1, 2011
key: visitor
value: winnipeg <--use winnipeg logo (tile #30) for entity
key: visitorScore
value: 2 <-- use -1 if game not yet played
key: homeScore
value: 3
key: overtime
value: YES
key: shootout
value: NO
etc.