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?
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.
Stomach Pulser
Unregistered
Nice tut, and
FoxIt Reader is better than Adobe... IMHO
Can somebody post this in here instead of pdf -.-
Blodyavenger
Unregistered
PDF doesn't exist anymore?
Blodyavenger
Unregistered
Thanks for reply. Worry not and take your time, meanwhile, I'll try to do something on my own
Pass me the PDF Lea, I'll host it for now.
Blodyavenger
Unregistered
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)
Blodyavenger
Unregistered
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
I don't think the buffer is being cleared or something. I'm not 100% sure.
Blodyavenger
Unregistered
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
DDS_Sprite isn't initialized.
Blodyavenger
Unregistered
Sorry but...where should I intialize that and how :oops:
Look in Sub DestroyTCP and remove the call to DestroyDirectDraw...
Blodyavenger
Unregistered
Everything works perfectly now. Thanks a lot for your help!
Hey please reupload the pdf file XD