Mirage Source
[Feature] Display Sprite on Character Creation - Printable Version

+- Mirage Source (https://mirage-engine.uk/forums)
+-- Forum: Mirage Source (Nostalgia) (https://mirage-engine.uk/forums/forumdisplay.php?fid=61)
+--- Forum: Archive (2006-2011) (https://mirage-engine.uk/forums/forumdisplay.php?fid=18)
+---- Forum: Source Code Development (https://mirage-engine.uk/forums/forumdisplay.php?fid=51)
+----- Forum: Mirage Source 4 (Visual Basic 6) (https://mirage-engine.uk/forums/forumdisplay.php?fid=44)
+------ Forum: Tutorials (https://mirage-engine.uk/forums/forumdisplay.php?fid=13)
+------ Thread: [Feature] Display Sprite on Character Creation (/showthread.php?tid=2096)



Re: [Feature] Display Sprite on Character Creation - DarkC - 15-09-2008

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?


Re: [Feature] Display Sprite on Character Creation - Matt - 15-09-2008

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


Re: [Feature] Display Sprite on Character Creation - JokeofWeek - 15-09-2008

Love the way you did this Smile Awesome idea to actually teach the tutorial instead of doing it straight copy & paste. Good job Smile


Re: [Feature] Display Sprite on Character Creation - Hikaru - 08-10-2008

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.


Re: [Feature] Display Sprite on Character Creation - Stomach Pulser - 08-10-2008

Nice tut, and

FoxIt Reader is better than Adobe... IMHO


Re: [Feature] Display Sprite on Character Creation - Dane - 26-10-2008

Can somebody post this in here instead of pdf -.-


Re: [Feature] Display Sprite on Character Creation - Mattyw - 26-10-2008

Night Wrote:Can somebody post this in here instead of pdf -.-

No.


Re: [Feature] Display Sprite on Character Creation - Blodyavenger - 22-12-2008

PDF doesn't exist anymore?


Re: [Feature] Display Sprite on Character Creation - Blodyavenger - 22-12-2008

Thanks for reply. Worry not and take your time, meanwhile, I'll try to do something on my own


Re: [Feature] Display Sprite on Character Creation - Matt - 22-12-2008

Pass me the PDF Lea, I'll host it for now.


Re: [Feature] Display Sprite on Character Creation - Blodyavenger - 26-12-2008

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)



Re: [Feature] Display Sprite on Character Creation - Blodyavenger - 26-12-2008

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


Re: [Feature] Display Sprite on Character Creation - Matt - 26-12-2008

I don't think the buffer is being cleared or something. I'm not 100% sure.


Re: [Feature] Display Sprite on Character Creation - Blodyavenger - 28-12-2008

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


Re: [Feature] Display Sprite on Character Creation - GIAKEN - 28-12-2008

DDS_Sprite isn't initialized.


Re: [Feature] Display Sprite on Character Creation - Blodyavenger - 28-12-2008

Sorry but...where should I intialize that and how :oops:


Re: [Feature] Display Sprite on Character Creation - GIAKEN - 29-12-2008

Look in Sub DestroyTCP and remove the call to DestroyDirectDraw...


Re: [Feature] Display Sprite on Character Creation - Blodyavenger - 29-12-2008

Everything works perfectly now. Thanks a lot for your help!


Re: [Feature] Display Sprite on Character Creation - Jared - 13-04-2009

dead link to the PDF.


Re: [Feature] Display Sprite on Character Creation - Xyzyk - 10-07-2009

Hey please reupload the pdf file XD