[Beanie copter cap]

All development of pixel art, maps and other graphics.


User avatar
Reid
Lead Developer (SoM)
Lead Developer (SoM)
Posts: 1551
Joined: 15 May 2010, 21:39
Location: Artis
Contact:

Re: [Beanie copter cap]

Post by Reid »

Ablu wrote:EDIT: I got it wrong. Your work is perfectly fine and it should be possible to create an xml for it without issues. Alige is wrong. I can do a xml today after school (if somebody reminds me)
The animation of the "coptor" won't behave perfectly if you only use one sprite, so you're wrong.
Also, in therm of useless frames, using two sprites is better.
"Time is an illusion. Lunchtime doubly so."
-- Ford Prefect
User avatar
v0id
Novice
Novice
Posts: 196
Joined: 15 Sep 2009, 21:31
Location: Désolé, je ne loue pas.

Re: [Beanie copter cap]

Post by v0id »

I would go for a sprite specifically made for the copter animation too, and use it as accessory.
That would allow to use it on other equipments when appropriate, and when changes are applied to the copter, those changes would be propagated to all items using it for free.
Ablu
Manasource
Manasource
Posts: 288
Joined: 23 Jul 2011, 08:31
Location: Germany

Re: [Beanie copter cap]

Post by Ablu »

so @veryape: Could you put the coptor on a seperate frame from the cap?

+ The cap seems to have small offsets in some (at least one) frame (slight x-offset). It does not look like being centered in each frame.

The xml (as far as i finished it) works fine so far. I will continue working on it tomorrow.

Regards
Ablu
User avatar
veryape
TMW Adviser
TMW Adviser
Posts: 558
Joined: 06 Dec 2012, 12:08
Contact:

Re: [Beanie copter cap]

Post by veryape »

thanks for the input, yeah i will try to work on the offset in the image.

Should the copter be 6 or 4 frames?
Ablu
Manasource
Manasource
Posts: 288
Joined: 23 Jul 2011, 08:31
Location: Germany

Re: [Beanie copter cap]

Post by Ablu »

Does not matter for me.
User avatar
Alige
TMW Adviser
TMW Adviser
Posts: 1398
Joined: 09 Jan 2010, 19:22

Re: [Beanie copter cap]

Post by Alige »

veryape wrote:Should the copter be 6 or 4 frames?
Ablu wrote:Does not matter for me.
Please keep it like that for now, I'd really like to see Ablu's XML file using the latest spritesheet posted on this thread, before this post. Thanks.
Image
Ablu
Manasource
Manasource
Posts: 288
Joined: 23 Jul 2011, 08:31
Location: Germany

Re: [Beanie copter cap]

Post by Ablu »

@veryape: I marked the offset issues here: You also have overlapping frames. Make sure to enable grid display and set it to your grid for matching:

Image

Regards
Ablu
User avatar
veryape
TMW Adviser
TMW Adviser
Posts: 558
Joined: 06 Dec 2012, 12:08
Contact:

Re: [Beanie copter cap]

Post by veryape »

Hello, I've tried to separate the copter blades from the hat as v0id did suggest. I also tried to fix the problems with offset, however since I am not sure I did it right i will also upload the xcf so that you can fix what needs to be done for working with your xml. Every cap perspective is an own layer as is each copter blade perspective, so it should just be a matter of moving them around.

Thanks for help and input!

I saw that you wanted the earlier version with fixed alignment, but it's getting late here and when i tried it it wasn't as straightforward as i thought at first. If you still want this fix, please say so and i will do my best to fix it.
Attachments
copter_benie_cap_with_blades.png
copter_benie_cap_with_blades.png (4.44 KiB) Viewed 3979 times
copter_blades_final.png
copter_blades_final.png (1.28 KiB) Viewed 3979 times
copter_benie_cap_final.png
copter_benie_cap_final.png (3.62 KiB) Viewed 3979 times
Last edited by veryape on 11 Feb 2013, 00:50, edited 1 time in total.
User avatar
veryape
TMW Adviser
TMW Adviser
Posts: 558
Joined: 06 Dec 2012, 12:08
Contact:

Re: [Beanie copter cap]

Post by veryape »

Due to restrictions on three attachments per post here comes my gimp-project file.
Attachments

[The extension xcf has been deactivated and can no longer be displayed.]

Ablu
Manasource
Manasource
Posts: 288
Joined: 23 Jul 2011, 08:31
Location: Germany

Re: [Beanie copter cap]

Post by Ablu »

My set of changes (fixed offsets, frame size):
copter_benie_cap_final.png
copter_benie_cap_final.png (3.67 KiB) Viewed 3947 times

[The extension xcf has been deactivated and can no longer be displayed.]

copter_blades_final.png
copter_blades_final.png (1.24 KiB) Viewed 3947 times
Ablu
Manasource
Manasource
Posts: 288
Joined: 23 Jul 2011, 08:31
Location: Germany

Re: [Beanie copter cap]

Post by Ablu »

Cannot add another attachment, 3 is the maximum.

[The extension xcf has been deactivated and can no longer be displayed.]

User avatar
veryape
TMW Adviser
TMW Adviser
Posts: 558
Joined: 06 Dec 2012, 12:08
Contact:

Re: [Beanie copter cap]

Post by veryape »

Ablu wrote:My set of changes (fixed offsets, frame size):
The attachment copter_benie_cap_final.png is no longer available
The attachment copter_benie_cap_final.xcf is no longer available
The attachment copter_blades_final.png is no longer available
lol, I just did that myself after i understood what was meant, and i have done a full sheat (like the one for the candle helmet), i think that it should be quite straight forward to do a XML for it. I've been reading the XML files and trying to figure out how they work. I thought the stuff with having the cap + bring in the copter as a overhead layer was to complicated for me to understand so I just did it the old fashioned way. (The cap +copter is in 30x30 px frames.)

Thanks for the patience shown
Attachments
copter_beanie_cap_spritesheet_fixed alignment.png
copter_beanie_cap_spritesheet_fixed alignment.png (5.92 KiB) Viewed 3938 times
Characters: veryape / Captain Dunce / Elvara / veryapeGM
Ablu
Manasource
Manasource
Posts: 288
Joined: 23 Jul 2011, 08:31
Location: Germany

Re: [Beanie copter cap]

Post by Ablu »

The copter xml is not very trivial to do since you have a animation of 4 frames but you have 6 different frames for the walk for eg (different offsets) So you need to split those. But I can help you with it. If you need help just message me "Ablu" on freenode IRC network or send me a message via jabber/gmail/G+ (ablu.erikschilling@gmail.com)

Here are some frames i already finished (still using the old spriteset):

Code: Select all


<?xml version="1.0"?>
<sprite>
    <imageset name="base"
        src="graphics/sprites/equipment/head/beanie-copter_new3.png"
        width="32"
        height="32"
        offsetY="-44"/>
  <action name="stand" imageset="base">
    <animation direction="down">
      <sequence start="0" end="3" delay="56" />
    </animation>
    <animation direction="left">
      <sequence start="4" end="7" delay="56" />
    </animation>
    <animation direction="up">
      <sequence start="8" end="11" delay="56" />
    </animation>
    <animation direction="right">
      <sequence start="12" end="15" delay="56" />
    </animation>
  </action>
  <action name="walk" imageset="base">
    <animation direction="down">
        <frame index="0" offsetX="0" offsetY="0" delay="56" />
        <frame index="1" offsetX="0" offsetY="0" delay="19" />
        <frame index="1" offsetX="0" offsetY="-1" delay="37" />
        <frame index="2" offsetX="0" offsetY="-1" delay="38" />
        <frame index="2" offsetX="0" offsetY="-1" delay="18" />
        <frame index="3" offsetX="0" offsetY="-1" delay="56" />
        <frame index="0" offsetX="0" offsetY="-1" delay="1" />
        <frame index="0" offsetX="0" offsetY="0" delay="55" />
        <frame index="1" offsetX="0" offsetY="0" delay="20" />
        <frame index="1" offsetX="0" offsetY="-1" delay="36" />
        <frame index="2" offsetX="0" offsetY="-1" delay="39" />
        <frame index="2" offsetX="0" offsetY="-1" delay="17" />
        <frame index="3" offsetX="0" offsetY="-1" delay="58" />
    </animation>
    <animation direction="left">
        <frame index="4" offsetX="0" offsetY="-1" delay="56" />
        <frame index="5" offsetX="0" offsetY="-1" delay="19" />
        <frame index="5" offsetX="0" offsetY="0" delay="37" />
        <frame index="6" offsetX="0" offsetY="0" delay="38" />
        <frame index="6" offsetX="0" offsetY="-1" delay="18" />
        <frame index="7" offsetX="0" offsetY="-1" delay="56" />
        <frame index="4" offsetX="0" offsetY="-1" delay="1" />
        <frame index="4" offsetX="0" offsetY="-1" delay="55" />
        <frame index="5" offsetX="0" offsetY="-1" delay="20" />
        <frame index="5" offsetX="0" offsetY="0" delay="36" />
        <frame index="6" offsetX="0" offsetY="0" delay="39" />
        <frame index="6" offsetX="0" offsetY="-1" delay="17" />
        <frame index="7" offsetX="0" offsetY="-1" delay="58" />
    </animation>
    <animation direction="up">
        <frame index="8" offsetX="0" offsetY="-1" delay="56" />
        <frame index="9" offsetX="0" offsetY="-1" delay="19" />
        <frame index="9" offsetX="0" offsetY="-2" delay="37" />
        <frame index="10" offsetX="0" offsetY="-2" delay="38" />
        <frame index="10" offsetX="0" offsetY="-2" delay="18" />
        <frame index="11" offsetX="0" offsetY="-2" delay="56" />
        <frame index="8" offsetX="0" offsetY="-2" delay="1" />
        <frame index="8" offsetX="0" offsetY="-1" delay="55" />
        <frame index="9" offsetX="0" offsetY="-1" delay="20" />
        <frame index="9" offsetX="0" offsetY="-2" delay="36" />
        <frame index="10" offsetX="0" offsetY="-2" delay="39" />
        <frame index="10" offsetX="0" offsetY="-2" delay="17" />
        <frame index="11" offsetX="0" offsetY="-2" delay="58" />
    </animation>
    <animation direction="right">
        <frame index="12" offsetX="0" offsetY="-1" delay="56" />
        <frame index="13" offsetX="0" offsetY="-1" delay="19" />
        <frame index="13" offsetX="0" offsetY="0" delay="37" />
        <frame index="14" offsetX="0" offsetY="0" delay="38" />
        <frame index="14" offsetX="0" offsetY="-1" delay="18" />
        <frame index="15" offsetX="0" offsetY="-1" delay="56" />
        <frame index="12" offsetX="0" offsetY="-1" delay="1" />
        <frame index="12" offsetX="0" offsetY="-1" delay="55" />
        <frame index="13" offsetX="0" offsetY="-1" delay="20" />
        <frame index="13" offsetX="0" offsetY="0" delay="36" />
        <frame index="14" offsetX="0" offsetY="0" delay="39" />
        <frame index="14" offsetX="0" offsetY="-1" delay="17" />
        <frame index="15" offsetX="0" offsetY="-1" delay="56" />
    </animation>
  </action>
Regards
Ablu
User avatar
Reid
Lead Developer (SoM)
Lead Developer (SoM)
Posts: 1551
Joined: 15 May 2010, 21:39
Location: Artis
Contact:

Re: [Beanie copter cap]

Post by Reid »

<frame index="12" offsetX="0" offsetY="-1" delay="1" />
What about this? delay under 10ms are not shown by the client from what I know.
"Time is an illusion. Lunchtime doubly so."
-- Ford Prefect
4144
Knight
Knight
Posts: 965
Joined: 03 Aug 2009, 11:57

Re: [Beanie copter cap]

Post by 4144 »

Reid wrote:<frame index="12" offsetX="0" offsetY="-1" delay="1" />
What about this? delay under 10ms are not shown by the client from what I know.
Yes old and new client tmw/mana/manaplus count in 10x ms
Post Reply