Welcome, Guest. Please login or register.

What openbor you prefer: Double dragon,battletoads or final fight !? by lirexpatrio
[December 07, 2012, 07:15:27 pm]


what are your favorite games OpenBOR?! by lirexpatrio
[December 07, 2012, 07:09:46 pm]


Post Some Awesome Videos by maxman
[December 07, 2012, 05:51:39 pm]


Can @cmd playmusic "aaaa" 1 also increse music sound ? by BeasTie
[December 07, 2012, 05:24:38 pm]


Streets of Rage: Silent Storm by mtrain
[December 07, 2012, 03:45:05 pm]


Site will be down for maintenance on 12/8/2012 thru 12/10/2012 by Damon Caskey
[December 07, 2012, 07:42:42 am]


Cancelled SOR 3d Remake by riccochet
[December 07, 2012, 03:58:33 am]


Dungeon Fighter: B.O.R. by msmalik681
[December 07, 2012, 03:24:27 am]


[TUTORIAL] How to create 4 Games of OpenBOR in 1 CD (650 MB) by magggas
[December 06, 2012, 09:46:25 pm]


custknife by Bloodbane
[December 06, 2012, 09:34:09 pm]


blockfx help by B.Kardi
[December 06, 2012, 04:09:14 pm]


street of age 4 hd by corradlo
[December 06, 2012, 01:41:36 pm]


ClaFan - Classic Fantasy ver 1.17 by soniczxblade
[December 06, 2012, 05:01:20 am]


Bug Archive by Bloodbane
[December 06, 2012, 02:00:44 am]


"Bio-Doom" and "Gears of Doom" by BulletBob
[December 05, 2012, 10:07:21 pm]


Contra Locked 'N' Loaded v2 by Bloodbane
[December 05, 2012, 09:39:43 pm]


Downloadable OpenBoR Manual by BeasTie
[December 05, 2012, 08:31:24 pm]


Having trouble testing changes by B.Kardi
[December 05, 2012, 03:05:53 pm]


DragonBall Absalon by msmalik681
[December 05, 2012, 02:52:13 pm]


[Hi-Res] Swamp by Vibrant
[December 05, 2012, 10:47:14 am]


  • Dot Guests: 114
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.



Author Topic: Using a whole spritesheet  (Read 991 times)

0 Members and 2 Guests are viewing this topic.

Offline daimenj

  • Jr. Member
  • **
  • Posts: 9
Re: Using a whole spritesheet
« Reply #15 on: July 17, 2012, 03:15:43 pm »
I have all of them set to the same thing. The animation runs but halfway through the walk animation the sprite moves forward instead of walking in place like it should.

Offline Die_In_Fire

  • Hero Member
  • *****
  • Posts: 1140
  • Where eagles dare!
Re: Using a whole spritesheet
« Reply #16 on: July 17, 2012, 05:28:56 pm »
its offset problem, or maybe you have the "move" command

Offline daimenj

  • Jr. Member
  • **
  • Posts: 9
Re: Using a whole spritesheet
« Reply #17 on: July 17, 2012, 05:30:34 pm »
ok how would i line up all of the frames to be equal size in obeditor? If not i have to do it the old fashioned way

Offline NickyP

  • Hero Member
  • *****
  • Posts: 2772
  • You know, that guy with the pet drum?
    • Personal OpenBOR site.
Re: Using a whole spritesheet
« Reply #18 on: July 17, 2012, 05:35:30 pm »
It doesn't matter if the frames are equal size. What matters is the offset position. Make it so that the offset of each frame is as close to where it was on the other frame. And I'm not talking about if frame 1 is offset 100 100, make frame 2 offset 100 103.

I'm saying, if the first frame has the offset in the middle of the character, under their legs, the other offsets should be located in a similiar position.

Look at this, for example:

Quote
anim walk
   loop 1
   delay 9
      offset  17  45
      bbox  12  6  11  36
   frame data/chars/richter1/14.png
      offset  15  46
      bbox  10  6  11  36
   frame data/chars/richter1/15.png
      offset  10  47
      bbox  5  5  11  35
   frame data/chars/richter1/16.png
      offset  11  46
   frame data/chars/richter1/17.png
      offset  16  45
      bbox  10  5  14  35
   frame data/chars/richter1/18.png
      offset  13  46
      bbox  8  4  12  37
   frame data/chars/richter1/19.png
      offset  11  47
      bbox  4  6  14  35
   frame data/chars/richter1/20.png
      offset  12  46
   frame data/chars/richter1/21.png

There's a different offset for each frame, because I used the Spritesheet Unpacker and all the frames are different sizes. But, the character is still animated properly.

Offline Bloodbane

  • Hero Member
  • *****
  • Posts: 7113
  • Dark Dragon
Re: Using a whole spritesheet
« Reply #19 on: July 19, 2012, 02:09:47 am »
@daimenj: Offsetting problem you're dealing here is main reason for not using spritesheet reader (if there were any). It would be very very tough to make program which could align sprite properly let alone definition of aligned sprites is not same to everyone.

 I rather crop sprites one by one myself and since I pasted each sprite in photoshop document, I could align each of them before converting for use in OpenBoR.
OpenBoR Manual

Basic OpenBoR Tutorials

OpenBoR Tricks & Tutorials

"The more often enemies attack, the more open they are to counter attacks"

Offline DJGameFreakTheIguana

  • Hero Member
  • *****
  • Posts: 3963
  • Credit to Vyck_St.Judas, Edited by me.
Re: Using a whole spritesheet
« Reply #20 on: July 19, 2012, 03:54:48 am »
I just line all my stuff in paint once I get the frames ready, that way, I don't have to worry about offsets while modding, unless a change is needed, but most of the time, one offset works if I have them all right. Just copy one sprite from the sheet, over the sprite I have in the frame, and use the transparent thing to cover the other sprite. If it helps, I made a video recording myself working on Mecha Knuckles for Sega Brawlers, from the start where I get the image for the palette ready, later on to making the frames. If you watch the whole thing, you might see what I'm talking about, but that starts around 6:30:
http://www.youtube.com/watch?v=aD_25FlM5Ug

Hope seeing this helps you in some way.

x)

Offline Goliath

  • Jr. Member
  • **
  • Posts: 68
Re: Using a whole spritesheet
« Reply #21 on: July 19, 2012, 03:16:26 pm »

 I rather crop sprites one by one myself and since I pasted each sprite in photoshop document, I could align each of them before converting for use in OpenBoR.

Once you have done this, what is the next step? create a history snapshop and then convert the snapshots? I try to do this but itīs a pain to do a snapshot of each frame specially in long animations, is there a way to do it faster?

Offline Bloodbane

  • Hero Member
  • *****
  • Posts: 7113
  • Dark Dragon
Re: Using a whole spritesheet
« Reply #22 on: July 21, 2012, 06:29:40 am »
 I don't know if this can be batched or not but after I got the sprites aligned in seperate layers, I simply saved each layer as .png. Then I apply palette to each of png.
 This is long process so I didn't think about it at all and just do it and before I knew it, all sprites are done and ready ;).

 BTW this thread should be moved to help section.
« Last Edit: July 21, 2012, 06:31:13 am by Bloodbane »
OpenBoR Manual

Basic OpenBoR Tutorials

OpenBoR Tricks & Tutorials

"The more often enemies attack, the more open they are to counter attacks"

 



 0%




mighty
SimplePortal 2.3.3 © 2008-2010, SimplePortal