It is currently 23 Apr 2024, 12:11
   
Text Size

I/O reworking

Post MTG Forge Related Programming Questions Here

Moderators: timmermac, Blacksmith, KrazyTheFox, Agetian, friarsol, CCGHQ Admins

Re: I/O reworking

Postby silly freak » 02 Oct 2009, 16:45

I want to point you to Button and Menu Actions in the Wiki, which shows an example how to use ForgeAction and the new localization feature to create buttons and menus easily

More to come, check the Programming category if there's an explanation for your problem already.
___

where's the "trust me, that will work!" switch for the compiler?
Laterna Magica - blog, forum, project, 2010/09/06 release!
silly freak
DEVELOPER
 
Posts: 598
Joined: 26 Mar 2009, 07:18
Location: Vienna, Austria
Has thanked: 93 times
Been thanked: 25 times

Re: I/O reworking

Postby Chris H. » 05 Oct 2009, 21:26

DennisBergkamp wrote:Ok, I'll make these changes too :)

By the way, there used to be a checkbox in the menu at the top to make the game pause at the End of Turn of the AI. This option somehow disappeared?
`
I have examined the property files and the NewConstants.java/ForgeProps.java files. I think that we could add several lines to the end of the lang prop files which would provide the default settings for:

Resizable Game Area
Stack AI land
Card jpg height and width size
Stop at End of Turn

I'm wondering if Silly Freak has any plans to do this himself, if not, I could try to see if I can make the changes myself. But I want to see if he has any plans for this himself before I do any work on this part of the project. :)
User avatar
Chris H.
Forge Moderator
 
Posts: 6320
Joined: 04 Nov 2008, 12:11
Location: Mac OS X Yosemite
Has thanked: 644 times
Been thanked: 643 times

Re: I/O reworking

Postby silly freak » 06 Oct 2009, 08:55

i have sort-of thought of this. that would be a readonly-thing, i don't think it's possible easily to save the properties back to the file from those chosen in-game. it is easy, though, to add a "preferences/" property for all the things forge should set up at startup
___

where's the "trust me, that will work!" switch for the compiler?
Laterna Magica - blog, forum, project, 2010/09/06 release!
silly freak
DEVELOPER
 
Posts: 598
Joined: 26 Mar 2009, 07:18
Location: Vienna, Austria
Has thanked: 93 times
Been thanked: 25 times

Previous

Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 28 guests


Who is online

In total there are 28 users online :: 0 registered, 0 hidden and 28 guests (based on users active over the past 10 minutes)
Most users ever online was 4143 on 23 Jan 2024, 08:21

Users browsing this forum: No registered users and 28 guests

Login Form