pedrohas2000 / pingus

Automatically exported from code.google.com/p/pingus
GNU General Public License v3.0
0 stars 0 forks source link

Multiplayer support: Players 1, 2, 3 missing Pingus image files #139

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Play the multi1-grumbel or multi2-grumbel levels

What is the expected output? What do you see instead?

Pingus distinguished by colour, able to use any exit.

Pingus images missing for players 1-3. Pingus from players 1-3 can not exit.

What version of the product are you using? On what operating system?

git 20140408 (latest) on Mac OS X.

Please provide any additional information below.

ImageMagick can be used to automatically generate coloured pingu images from 
the existing black ones:

First, replace data/images/pingus player1, player2, player3 with copies of 
player0 (the image files are missing and the sprite scripts are outdated).

Then, run the following imagemagick commands:

mogrify -format png -fill crimson -opaque black -fuzz 40% player1/*.png
mogrify -format png -fill green -opaque black -fuzz 40% player2/*.png
mogrify -format png -fill blue -opaque black -fuzz 40% player3/*.png

You may choose whatever colours you like from the list at the bottom of this 
page:
http://www.imagemagick.org/ImageMagick-7.0.0/script/color.php

Original issue reported on code.google.com by timothy....@gmail.com on 8 Apr 2014 at 9:13

Attachments:

GoogleCodeExporter commented 9 years ago
If you want to match the colours of the exit flags, you could try:

mogrify -format png -fill DarkOrange -opaque black -fuzz 40% player0/*.png
mogrify -format png -fill blue -opaque black -fuzz 40% player1/*.png
mogrify -format png -fill white -opaque black -fuzz 40% player2/*.png

But these levels only have exits for player0 at the moment.

Original comment by timothy....@gmail.com on 8 Apr 2014 at 9:27

GoogleCodeExporter commented 9 years ago
The exits can be fixed by replacing the current exit code with:
(Should this be done in the XML document?)

multi1:

(exit 
      (owner-id 0)
      (position 369 329 0)
      (surface 
        (image "exits/stone")
        (modifier "ROT0")))
    (exit 
      (owner-id 1)
      (position 936 323 0)
      (surface 
        (image "exits/stone")
        (modifier "ROT0")))))

multi2:

   (exit 
      (owner-id 2)
      (position 473 560 0)
      (surface 
        (image "exits/stone")
        (modifier "ROT0")))
    (exit 
      (owner-id 0)
      (position 665 562 0)
      (surface 
        (image "exits/stone")
        (modifier "ROT0")))
    (exit 
      (owner-id 3)
      (position 645 327 0)
      (surface 
        (image "exits/stone")
        (modifier "ROT0")))
    (exit 
      (owner-id 1)
      (position 480 326 0)
      (surface 
        (image "exits/stone")
        (modifier "ROT0")))

Original comment by timothy....@gmail.com on 8 Apr 2014 at 9:49