damian666 Posted April 8, 2013 Author Share Posted April 8, 2013 so… i been trying to get some modifications in a normal 2.0 eo.things like hair etc, which works wonderfull ingame, because we can draw ontop of things ingame, but that wont work in the create character screen on the main menu, so my question is, does anybody know a way to get that to work?thanx in advance ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png) Link to comment Share on other sites More sharing options...
unnown Posted April 8, 2013 Share Posted April 8, 2013 use dx8 to draw a new "game" showing only the characteror whatver Link to comment Share on other sites More sharing options...
damian666 Posted April 8, 2013 Author Share Posted April 8, 2013 its dx7 mate ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png) Link to comment Share on other sites More sharing options...
unnown Posted April 8, 2013 Share Posted April 8, 2013 meh same difference =P Link to comment Share on other sites More sharing options...
Richy420Rich Posted April 8, 2013 Share Posted April 8, 2013 Yeah I'm tried it out, BltToDC didn't work, because she doesn't cut out the background of an image. If only I was able to trans the outside of the damn image, because right now, it would work beautifully except for that… The concept is there, if you can transparent the background and you would have hair on the head.I attached the source edit I did, and you can try it out or try to see if someone else can actually get it going. I'm pretty much stumped... BltFast would do the trick, but I've been err'n about how to switch the BackBuffer to another picture box control, if that's even possible. :\Even if going the BltFast route, it seems like it would need to be in a loop, which I've tried from the very start, found out the GameLoop starts only when the player is actually in-game lol.Anyways, just do ctrl+f to find CreateFace and CreateHair , most of my code would deal with those two entries.(Disclamer; Just to clarify that my experience in rendering is close to null... So be very cautious when looking at that code lol, coding I'm sure could be optimised and better performed...) Link to comment Share on other sites More sharing options...
damian666 Posted April 8, 2013 Author Share Posted April 8, 2013 thanx for trying man, thats as far as i came too ![:P](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/tongue.png)Y U NO GO TRANSPARENT??!! Link to comment Share on other sites More sharing options...
unnown Posted April 9, 2013 Share Posted April 9, 2013 you could just use the picbox paint and do it manually it think, might be slow but meh Link to comment Share on other sites More sharing options...
damian666 Posted April 9, 2013 Author Share Posted April 9, 2013 errr… any code to show what you mean? Link to comment Share on other sites More sharing options...
Lavos Posted April 9, 2013 Share Posted April 9, 2013 as much as i can try too image an idea on what you're trying to do, i can't. You think you can post up some screenshots about it? Link to comment Share on other sites More sharing options...
damian666 Posted April 9, 2013 Author Share Posted April 9, 2013 i dunno whats to understand , its just so we can modify our characters, while creating a new one.so you select a hairtype, and it shows on the sprite preview on char create screen.select different clothes, and the clothes on the preview change etc.like here > http://www.touchofdeathforums.com/community/index.php?/topic/123485-csde-character-customization-gender-hair/but then in a dx7 EO Link to comment Share on other sites More sharing options...
Lavos Posted April 9, 2013 Share Posted April 9, 2013 seriously? alright you know what, this is going to need a InMenu Boolean and a bunch of other stuff you need to declare and set it up on the gameloop above InGame.Create a sub routine for rendering that would replace NewCharacterBltSprite.and finally flip and render everything to frmMenuHave this below the routine after setting up a rect for the sprite:```DX7.GetWindowRect frmMenu.picCreate.hwnd, dRECTDDS_Primary.Blt dRECT, DDS_BackBuffer, sRECT, DDBLT_WAIT```This is just an idea on how it will work. Hence letting it be brief.I'm going to get started on this now so I could post a better idea on gettting this to work. Link to comment Share on other sites More sharing options...
damian666 Posted April 9, 2013 Author Share Posted April 9, 2013 hope you figure that out, because i have a whole system ready, eyes, shirt, base sprite, hair and pants.![](http://freemmorpgmaker.com/uploadfiles/ee92aa5892cb75555d79840e908cc5d5.png)but that looks awfull xd Link to comment Share on other sites More sharing options...
Lavos Posted April 9, 2013 Share Posted April 9, 2013 Christ, I spent the whole night trying to figure this out. For some reason vb6 doesn't like it when i create more buffers on a separate form or picturebox. I tried linking them to another picturebox though im having the problem of this code.```DD_Clip.SetHWnd frmMain.picScreen.hWnd```Its not allowing me to create a duplicate.Best bet is to just to just use bltfast, render the whole Menu with collision and get rid of frmMenu.but thats just too much to do. =( Link to comment Share on other sites More sharing options...
damian666 Posted April 9, 2013 Author Share Posted April 9, 2013 well, thanx for trying man :-)guess its to much for dx7 ![:(](http://www.touchofdeathforums.com/community/public/style_emoticons/<#EMO_DIR#>/sad.png) 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