It is currently 25 Apr 2024, 11:41
   
Text Size

Forge version 1.5.21

Post MTG Forge Related Programming Questions Here

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

Forge version 1.5.21

Postby Chris H. » 20 Jun 2014, 15:25

Tentative target release date: Friday July 4 2014.
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: Forge version 1.5.21

Postby drdev » 29 Jun 2014, 15:59

I just committed r26496, which officially adds background music support to the desktop version of Forge. From CHANGES.txt:

- Introducing Background Music -
Forge now supports playing background music!!!
There are 4 tracks for the menu screens and 4 tracks just for the match screen.
Tracks shuffle randomly as they finish, as well as when starting a new game or leaving the match screen.
A new "Enable Music" setting allows turning the music off, and toggling this setting can also be used to force a shuffle.
The music is paused automatically if you minimize or switch away from Forge, and resumed when it's activated again.


The .mp3 files for the different tracks can be found in a new forge-gui/res/music folder, divided into the "menus" and "match" subfolders based on which screen(s) they apply to.

Let me know what you think of the tracks I selected and if we should add support for end users customizing them.

Thanks.
-Dan
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Forge version 1.5.21

Postby drdev » 01 Jul 2014, 05:37

I just committed an enhancement to both the desktop and mobile games which displays "Undo" as the Cancel button option from InputPassPriority if your last action is undoable (such as tapping a land before casting a spell), as well as adds a new warning message if you attempt to pass priority while there's mana floating in your pool. Note that this message will only appear if you would lose that floating mana, so if Upwelling or a similar effect would allow you to retain all the mana in your pool, you won't get prompted. I've seen requests for such a prompt popup up before in the Feature Requests thread, so I thought this would be a good time to add it.

Here's an idea what these two enhancements look like for a very simple example:

DesktopManaFloating.png

Let me know if you have any questions or concerns.

Thanks.
-Dan
drdev
Programmer
 
Posts: 1958
Joined: 27 Jul 2013, 02:07
Has thanked: 189 times
Been thanked: 565 times

Re: Forge version 1.5.21

Postby Chris H. » 04 Jul 2014, 16:31

Today's build and deploy had another IOException and this again caused a build failure. It happened this time at a later stage and this time it looks like we did get the archives uploaded to cardforge.
 
Code: Select all
[INFO] Command sent: PASV
[INFO]
[INFO] Reply received: 227 Entering Passive Mode (174,34,254,123,244,126)
[INFO]
[INFO] Command sent: STOR ViewStall.html
[INFO]
[INFO] ftp://ftp.cardforge.org/site/ - Session: Disconnecting 
[INFO] ftp://ftp.cardforge.org/site/ - Session: Disconnected
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Reactor Summary:
[INFO] [INFO]
[INFO] [INFO] Forge Parent ...................................... SUCCESS [3:19.278s]
[INFO] [INFO] Forge Core ........................................ SUCCESS [2:38.055s]
[INFO] [INFO] Forge Game ........................................ SUCCESS [7:28.593s]
[INFO] [INFO] Forge AI .......................................... SUCCESS [3:23.067s]
[INFO] [INFO] Forge Net ......................................... SUCCESS [53.624s]
[INFO] [INFO] Forge Gui ......................................... SUCCESS [4:23.660s]
[INFO] [INFO] Forge ............................................. FAILURE [13:32.916s]
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] BUILD FAILURE
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [INFO] Total time: 35:40.252s
[INFO] [INFO] Finished at: Fri Jul 04 12:17:48 EDT 2014
[INFO] [INFO] Final Memory: 77M/535M
[INFO] [INFO] ------------------------------------------------------------------------
[INFO] [ERROR] Failed to execute goal org.apache.maven.plugins:maven-site-plugin:3.3:deploy (default-deploy) on project forge-gui-desktop: Error uploading site: IOException caught while attempting to upload /Users/me/Workspace_SVN/ForgeSVN/target/checkout/forge-gui-desktop/target/site/xref/forge/screens/home/quest/ViewStall.html: Read timed out -> [Help 1]
[INFO] [ERROR]
[INFO] [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[INFO] [ERROR] Re-run Maven using the -X switch to enable full debug logging.
[INFO] [ERROR]
[INFO] [ERROR] For more information about the errors and possible solutions, please read the following articles:
[INFO] [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
[INFO] [ERROR]
[INFO] [ERROR] After correcting the problems, you can resume the build with the command
[INFO] [ERROR]   mvn <goals> -rf :forge-gui-desktop
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] Forge Parent ...................................... FAILURE [40:38.215s]
[INFO] Forge Core ........................................ SUCCESS [1:24.339s]
[INFO] Forge Game ........................................ SUCCESS [3:48.911s]
[INFO] Forge AI .......................................... SUCCESS [2:00.385s]
[INFO] Forge Net ......................................... SUCCESS [27.226s]
[INFO] Forge Gui ......................................... SUCCESS [2:11.054s]
[INFO] Forge ............................................. SUCCESS [7:35.857s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 59:06.784s
[INFO] Finished at: Fri Jul 04 12:17:49 EDT 2014
[INFO] Final Memory: 59M/599M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-release-plugin:2.5:perform (default-cli) on project forge: Maven execution failed, exit code: '1' -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
logout

[Process completed]
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


Return to Developer's Corner

Who is online

Users browsing this forum: No registered users and 72 guests


Who is online

In total there are 72 users online :: 0 registered, 0 hidden and 72 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 72 guests

Login Form