Castle Paradox Forum Index Castle Paradox

 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 Gamelist   Review List   Song List   All Journals   Site Stats   Search Gamelist   IRC Chat Room

Where exactly are the weapon sprites drawn on the screen?

 
Post new topic   Reply to topic    Castle Paradox Forum Index -> The Arcade
View previous topic :: View next topic  
Author Message
no_shot
Surpasses you in poetical prowess




Joined: 28 Apr 2003
Posts: 300
Location: On the road to perfection.

PostPosted: Sat Dec 13, 2003 12:41 am    Post subject: Where exactly are the weapon sprites drawn on the screen? Reply with quote

Like, in pixel co-ordinates. What I mean is, in the hero's attack frame, where are the weapon pics drawn in relation to the hero's sprite?
_________________
Play Horrible Fantasy NOW!
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
RedMaverickZero
Three pointed, red disaster!
Halloween 2006 Creativity Winner
Halloween 2006 Creativity Winner



Joined: 12 Jul 2003
Posts: 1459

PostPosted: Sat Dec 13, 2003 12:55 pm    Post subject: Reply with quote

If you want to get techncial you can count the number of pixels on each little screen you design em in. If you did that you would take from the top of the hero sprite to the number of pixels tall that the weapon graphic is and there you go. Basically, it's about the middle of a hero sprite to the top. You can design your sprites to make em look cool and spiffy too if you draw em both right.
_________________
---------------Projects----
Mr.Triangle's Maze: 70%
Takoyaki Surprise: 70%
Back to top
View user's profile Send private message Send e-mail AIM Address
Shadowiii
It's been real.




Joined: 14 Feb 2003
Posts: 2460

PostPosted: Sat Dec 13, 2003 1:11 pm    Post subject: Reply with quote

(taken from Reasonably Septaweekly's "Making a Game")

Weapon Graphic Placement on Heroes



The weapon graphic is aligned with the top of the hero graphic, it overlaps attack A by 8 pixels, and attack B by 4 pixels.

Note: The weapon graphic appears behind the hero graphic.
_________________
But enough talk, have at you!
Back to top
View user's profile Send private message Send e-mail
JSH357




Joined: 02 Feb 2003
Posts: 1705

PostPosted: Sat Dec 13, 2003 2:27 pm    Post subject: Reply with quote

I think that there should be a 'preview with weapon graphic' feature for the hero sprite editor, simply because it's kind of tricky to envision those positions...

Just an idea.
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Uncommon
His legend will never die




Joined: 10 Mar 2003
Posts: 2503

PostPosted: Mon Dec 15, 2003 2:32 pm    Post subject: Reply with quote

Oh, and note that those are the alignments for the normal "Strike" animation. "Dash In" animations have no proper alignments, as the hero's position depends on the enemy he/she is attacking. Then again, if you could rig the enemies in the perfect spots, then you might be able to align "Dash In" animations, but it would take a lot of time and patience.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address
Display posts from previous:   
Post new topic   Reply to topic    Castle Paradox Forum Index -> The Arcade All times are GMT - 8 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group