vbGore Free Online RPG Engine

Revolutionizing Visual Basic ORPG Development
It is currently Fri May 24, 2013 10:14 pm

All times are UTC - 8 hours




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post subject: Graphics puzzle.
PostPosted: Sun May 17, 2009 8:00 am 
Richardf's Evil Minion

Joined: Thu Aug 07, 2008 7:24 am
Posts: 104
Image

Left to right:

1) Standard sprite.
2) Back pack.
3) Boxing gloves.
4) Both back pack and boxing gloves equipped. (How it should look).
5) Both back pack and boxing gloves equipped. (How it would look).
6) The problem highlighted.

Are there any ways of stopping the graphics from seperate items overlapping? (Bearing in mind that if the boxing glove is set on the layer behind the bag - the right hand glove would just slip behind the bag during the rest of the walk animation, and doing it vice-versa would produce the problem highlighted in fig. 6).

Also;

How does VBGore know which order to layer graphics in?


Top
 Profile  
 
 Post subject: Re: Graphics puzzle.
PostPosted: Sun May 17, 2009 11:10 am 
Aleron Coder

Joined: Fri Jan 05, 2007 5:36 am
Posts: 2964
Location: Germany
character rendering is done in a specific order.
I never had probs with it rendering in a different order than I wrote it.


Top
 Profile  
 
 Post subject: Re: Graphics puzzle.
PostPosted: Sun May 17, 2009 1:24 pm 
Site Admin

Joined: Fri Jul 14, 2006 4:00 pm
Posts: 11230
Location: Washington
You can reorder the layering, but like Zanval said, vbGORE will render the stuff mostly order, depending on the direction you are moving. You'll just have to make each hand a different layer.

Though your problem is a bit unique since you are "wrapping" objects around body parts. If this is the approach you want to take, you'd be best off splitting up the body into multiple layers (arms, legs, body + head). That way, to put on the gloves, you just render it immediately after the arms. In this example, you render (first to last):

- Left arm
- Left glove
- Left leg
- Torso/head
- Backpack
- Right leg
- Right arm
- Right glove


Top
 Profile  
 
 Post subject: Re: Graphics puzzle.
PostPosted: Sun May 17, 2009 2:28 pm 
Richardf's Evil Minion

Joined: Thu Aug 07, 2008 7:24 am
Posts: 104
Spodi wrote:
You can reorder the layering, but like Zanval said, vbGORE will render the stuff mostly order, depending on the direction you are moving. You'll just have to make each hand a different layer.

Though your problem is a bit unique since you are "wrapping" objects around body parts. If this is the approach you want to take, you'd be best off splitting up the body into multiple layers (arms, legs, body + head). That way, to put on the gloves, you just render it immediately after the arms. In this example, you render (first to last):

- Left arm
- Left glove
- Left leg
- Torso/head
- Backpack
- Right leg
- Right arm
- Right glove


Good thinking, Batman.

That actually neatly leads onto an idea I [stole]had[/stole] for a robot game.

You start off as a floating microchip, and slowly assemble yourself from different found arms and legs. The system you propose helps me with the 'wrapping' and could also introduce a nice dimension to things; certain accidents/attacks could see the player loose an arm - which in turn impedes his abilities, so he is forced to seek out a robotic replacement arm/ peg-leg or something.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 4 posts ] 

All times are UTC - 8 hours


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

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group