Deeman777 Posted March 20, 2014 Author Share Posted March 20, 2014 Hello, I am in great need of advice or help of modifying the paperdoll shield to make the sword under the shield so I don't need to to cut the image completely off since that would be a major bug in my game then. Anyone know how to fix this, please share, it'd be greatly appreciated. Link to comment Share on other sites More sharing options...
Slasheree Posted March 20, 2014 Share Posted March 20, 2014 What I did on Everember was something like this pseudo-code:if shield and direction=DIR_RIGHT thendrawpaperdollend if…drawplayersprite...if shield and Not direction=DIR_RIGHT thendrawpaperdollend if Link to comment Share on other sites More sharing options...
Deeman777 Posted March 20, 2014 Author Share Posted March 20, 2014 > ,…,<>" data-cid="920452" data-time="1395349870">> > What I did on Everember was something like this pseudo-code:> > if shield and direction=DIR_RIGHT then> > drawpaperdoll> > end if> > > > ...> > drawplayersprite> > ...> > > > if shield and Not direction=DIR_RIGHT then> > drawpaperdoll> > end ifI'll let you know if it works. For the drawpaperdoll do I just put in the number the shield is at? Link to comment Share on other sites More sharing options...
Deeman777 Posted March 21, 2014 Author Share Posted March 21, 2014 I decided just to remove the shield from the left and right angles since it looks good enough anyway. Thanks anyways man! Link to comment Share on other sites More sharing options...
SkywardRiver Posted March 21, 2014 Share Posted March 21, 2014 I could help you write a way to render what you want where you want. (for example, when facing right, the shield will be rendered behind the actual player)Just PM me. If I don't reply, it's cause I'll be gone for a while. Link to comment Share on other sites More sharing options...
Deeman777 Posted March 21, 2014 Author Share Posted March 21, 2014 > I could help you write a way to render what you want where you want. (for example, when facing right, the shield will be rendered behind the actual player)> > > > Just PM me. If I don't reply, it's cause I'll be gone for a while.If I run into another problem that I can't walk around like I did with the shield, I will let you know so thank you for the offer :) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now