Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[Feature] Display Sprite on Character Creation
#1
Awesome tutorial, I got it working on my MS4. Thanks.

Also, I'm trying to get it to animate itself and, trying to get it so when I press, the up arrow(or any other) it turns that way. Any idea how I could start doing that?
Reply
#2
For those of you who don't have Adobe Reader on your computer and don't want it (I hate the damn thing. -_-) you can use this link:

http://view.samurajdata.se/psview.php?i ... &size=full

It still works as a pdf, but it's in html format. Still no copy paste. Big Grin
Reply
#3
Love the way you did this Smile Awesome idea to actually teach the tutorial instead of doing it straight copy & paste. Good job Smile
Reply
#4
Great tut Lea, Are any more of these in the works? I can't go back to copy and paste becuase, well, becuase I never learn anything.
Reply
#5
Nice tut, and

FoxIt Reader is better than Adobe... IMHO
Reply
#6
Can somebody post this in here instead of pdf -.-
Reply
#7
Night Wrote:Can somebody post this in here instead of pdf -.-

No.
Reply
#8
PDF doesn't exist anymore?
Reply
#9
Thanks for reply. Worry not and take your time, meanwhile, I'll try to do something on my own
Reply
#10
Pass me the PDF Lea, I'll host it for now.
Reply
#11
Indeed, that's great tutorial. Not that I just made "Display character" in creation screen BUT I've learned some things as well just because tutorial is not 100% copy paste. Thanks!

However, there is one thing I want to point out for others.
Code:
Call DD_SpriteSurf.BltToDC(picSprite.hdc, src, dest)
that is not working, at least not in MS4.

Instead of that you have to put in this:
Code:
Call DDS_Sprite.BltToDC(picSprite.hdc, src, dest)
Reply
#12
No worries...

I have another problem, or is it bug maybe? I'm not so sure.

Well, everything works perfectly, I login, create new char and logout to main menu.
I log-in to another account (without leaving game) and try to create new char.
When I click to create new char I get RTE "91": " Object variable or With block variable not set"
(that happens always when you try to create new char when you log-in at least two times in one runtime.

and VB points at:

Private Sub picSprite_Paint()
Call DDS_Sprite.BltToDC(picSprite.hdc, src, dest)
End Sub


I tried to unload picture box and few others but I can't figure anything...sorry if I'm silly but I simply can't figure anything out
Reply
#13
I don't think the buffer is being cleared or something. I'm not 100% sure.
Reply
#14
I mouse-overed three arguments and only on picSprite.Hdc showed "picSprite.Hdc = 33624106"

I'm not sure if that's what are you asking for, so let me know if that's not that
Reply
#15
DDS_Sprite isn't initialized.
Reply
#16
Sorry but...where should I intialize that and how :oops:
Reply
#17
Look in Sub DestroyTCP and remove the call to DestroyDirectDraw...
Reply
#18
Everything works perfectly now. Thanks a lot for your help!
Reply
#19
dead link to the PDF.
Reply
#20
Hey please reupload the pdf file XD
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)