05-01-2007, 07:26 AM
Well I need advice on blitting vis inv to the screen. Guidance basically.
Blitting Vis Inv?
|
05-01-2007, 07:26 AM
Well I need advice on blitting vis inv to the screen. Guidance basically.
05-01-2007, 08:50 AM
for visual inv or to get it on screen?
05-01-2007, 08:56 AM
Read carefully, friend.
Quote:vis inv to the screen
05-01-2007, 09:08 AM
Fine then I wont help
05-01-2007, 09:09 AM
Doesn't matter to me :] Sooner or later I'll grasp my needs concerning none of your help.
05-01-2007, 10:10 AM
Pando Wrote:Doesn't matter to me :] Sooner or later I'll grasp my needs concerning none of your help. wtf is going on here guys? are you doing that because you are friends or dont you like each other?..anyway so, the current code tells the vis inv to blit into the differnt icon boxes, you need to make a variable so that it checks how many items there are in the inventroy so blit it lets say 10 pixels away and then 32x32 pixels...then you need to change the blitting code to do that, i guess thats basicly it add me in msn if you need help with that ^^
05-01-2007, 11:00 AM
Nvm. This isn't what I actually needed to know. But I thought about it and Kite told me a way he did it. Yes Kite
05-01-2007, 11:16 AM
[quote="Pando"]Nvm. This isn't what I actually needed to know. But I thought about it and Kite told me a way he did it. Yes Kiteblitting vis inv to the screen
05-01-2007, 12:10 PM
Ahh sorry, thanks Gilgamesch :]
05-01-2007, 12:36 PM
Kuja Wrote:Ahh sorry, thanks Gilgamesch :] well, its ok ^^
06-01-2007, 01:17 AM
oh btw. Would I use bitblt in gamelogic?
06-01-2007, 01:19 AM
Fuck you. Retard ass bitch. Get a life and stop being retarded.
06-01-2007, 01:57 AM
Kuja Wrote:Fuck you. Retard ass bitch. Get a life and stop being retarded. ummm who are you even saying this too? lol Anyways you would want it to blt it out in GameLoop when everything else is being blted Im sure. I would make it the last thing blted.
06-01-2007, 02:05 AM
halla Wrote:Kuja Wrote:Fuck you. Retard ass bitch. Get a life and stop being retarded. Obviously he was talking about himself, since that is now the last post ![]() Also, obviously ![]()
06-01-2007, 05:26 AM
Do I sense lack of moderation here?
I didn't know we had so many girls on the forum (Only the smart people will get this joke)
06-01-2007, 09:20 AM
didn't someone see the guy saying "I EAT SHIT" T___T
with the big o avatar... ? And someone deleted his post making all think I'm name calling myself? okay.
06-01-2007, 09:35 AM
Kuja Wrote:didn't someone see the guy saying "I EAT SHIT" T___T ok...who is it then ??
06-01-2007, 09:50 AM
Yasin -_________-
06-01-2007, 11:09 AM
Just do it my way for now.
It's not the greatest, but it works. It also allows you to expand your Inventory size later on, with only adding one more line of code (or you could optimise the entire thing and have only three lines of code for it!) This is how I did it here (but with alphablending for the background thingy): ![]()
06-01-2007, 11:18 AM
What way is that? Oh the way you told me?
Also, tell me whats up with my code. Its buggy and doesn't blit the correct item. Code: Sub BltInvItems(ByVal ItemNum As Long) Note ( 35 is used because the spacing in the bitmap file ) Nvm. fixed it, Now for the new embarks!
06-01-2007, 03:42 PM
Kuja Wrote:didn't someone see the guy saying "I EAT SHIT" T___T I didn't, but I figured you were talking to one of the spammers. I just felt like joking with you ![]()
06-01-2007, 06:17 PM
I deleted them. I must have missed deleting some of your responses to his posts.
06-01-2007, 08:16 PM
oi Kite! I tried the thing you told me but didn't work. When I do it, nothing shows. (Items)
Heres my regular code that works, for the first 5 items. ( now blits correct items ) Code: Sub BltInvItems(ByVal ItemNum As Long) -35 for spacing. etc. [ e d i t ] Thanks to sensei's help (
07-01-2007, 04:17 PM
Sorry I didn't reply, I've haven't been online for a few days.
Dave, I get 3-5fps using normal Mirage on the PC I took the screenshot on. There is a 2-6 fps drop when the lighting comes on. Also, that is a very old engine I used, and it could be done a lot better! Kuja, did you manage to get it to work?
07-01-2007, 04:22 PM
Yeah, It works properly. The fps isn't too slow. I've also got alpha blending with sprites and it seems to get faster when in alpha blending mode 0.o The fps doesn't drop for sprites though :p
|
« Next Oldest | Next Newest »
|