taskLordsAWar! - Tasks: task #15624, secondary player colours

 
 

You are not allowed to post comments on this tracker with your current authentication level.

task #15624: secondary player colours

Submitted by:  Ben Asselstine <benasselstine>
Submitted on:  Tue 05 May 2020 02:36:14 PM UTC  
 
Should Start On:  Tue 05 May 2020 04:00:00 AM UTC Should be Finished on:  Tue 05 May 2020 04:00:00 AM UTC
Category:  None Priority:  5 - Normal
Status:  None Privacy:  Public
Percent Complete:  0% Assigned to:  None
Open/Closed:  Open Effort:  0.00

Tue 05 May 2020 02:36:14 PM UTC, original submission:  

Player colours originate the shield set, and every player gets one.

Images of armies, shields, selectors, flags, etc are drawn in the player's colour via "masked images".  Masked Images are where one half of the image is the army (or whatever), and the second half is the white "mask" that is overlaid on top of the main image and drawn in the player's colour.  It has an alpha channel.

This approach works well with all of the colours except for black, and black masked images tend to lack the detail of the other colours.  The idea is that the black shield could have a secondary red colour associated with it, and all black the images would look a little more detailed.

This task is about providing a second colour to the each player.
Green would have two shades of green, etc.  It will make the armysets a little more interesting when used with different shieldsets.

Sub-tasks include:

1. Add get/set/load/save methods in Player
2. Add get/set/load/save methods in Shield
3. Change the Shield Set Editor to have a colour widget
4. Change Playerlist to assign secondary colour from shield to players
5. Modify all masked images to have a 3rd "frame" to hold a white portion to be overlaid in the secondary colour
6. Change TarFileMaskedImage to apply secondary colours
7. Change TarFileMaskedImage to include and handle secondary masks

This task changes the file formats of the shieldset file, saved-game files and map files.

Ben Asselstine <benasselstine>
Project Administrator

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by benasselstine (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

     

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2020-05-05 benasselstine SummarySecondary Player Colours => secondary player colours

    Back to the top


    Powered by Savane 3.5