hmmm you have the right frames and code?
Printable View
hmmm you have the right frames and code?
Maybe it because the picturebox move?
Do you want to see the code?
Here is the zip
sure why not :)
Hmm that is odd. Looks a little fast also for walking,but that isn't the problem right now.
:rolleyes:
:rolleyes:
What we do ?
I just wake up an it's already the time of lunch. This afternoon I have to go buy new shoes than make homework, after go eat to grandmother house and I will come back :)
Alright if I have some time i will work on some bitblt stuff or masking or something like that. See you later!:cool:
I will work on the project late in this afternoon. I have so many homework grrrrrrr
Yep homework sucks! BTW, is your friend going to join us or what?:D
ok I am here, I do not know what he is doing but I will need to talk to him again about it.
Dude the code you gace me do not work. It only change the animation but do not but transparence at the back.
Here is a screen shot and I will comment it.
http://vbforums.com/attachment.php?s=&postid=597826
The (1) is the prove than if we put something "black" for exemple the white at the back of the running guys still white :(
The (2) is a thing I did than each type I pressed ENTER key the picture move and I didnt see anything wrong. SO I do not understand why it do not work in the project. Anyway I think you should try to find how to make it transparent and I will try to make it work in the project.
Daok
I forget to tell you than I have fixed all bug with the SpeedX variable all work.
See that :
Here is the picture than I forget to add.
you didn't add the parts of the vb files that holds the picture info so the bitblt3 zip doesn't run properly.
I can do transparencies but when i did that first walk tutorial i didn't add it. So i will add it tonight then okay :)
i have to mix the two together but here is the transparent part of the bitblt.:D
Okay this should get it wokring totally i hope!:)
Although it takes the frames box color not the animation box color so that is probably bad right?:(
I'm gonna take a break for a bit right now.
Sleep time see you later!:rolleyes:
The first zip work well but the second still have a blue background I do not know why? :(
VB Code:
Call BitBlt(Picture3.hDC, 0, 0, Picture2.Width, Picture2.Height, Picture2.hDC, 0, 0, vbSrcPaint) Call BitBlt(Picture3.hDC, 0, 0, Picture1.Width, Picture1.Height, Picture1.hDC, 0, 0, vbSrcAnd)
I think it's blue because of that : Picture3.hDC
I think it will work on a background with a multiple color ( I hope :D ) we should test it and we have to work to the mouvement part with the new code :)
Cya After school
not sure it will work
It takes the color of the total frames box so if you change that blue to a different color it will go over.
Why all game use Bitblt then ? :confused: :eek:
i just think it's the way i coded it, i think there is a better way to accomplish it. :D because this might not work right!
I feel sick so I will go to bed sorry I didnt work on the project but I really do not feel to work on it, I will tommorow.
I will fix the fall problem for tommorow :)
Have you worked on the Bitblt and masking thing :) ?
not today btu i will get a better workign version soon i hope.:)
cooOOOl :D
I have solved the collision detection with all block. All work now. Now I need to find how to make a fall with the gravity thing ;)
Gravitational acceleration = 9.80 meters/(second^2)
ok i found a nice way to fall but each time the heros fall he fall to the floor and not to the object under him :mad: well I will continue to work on it. have you worked a little on the Bitblt ? :)
Here is the screen shoot of a problem all the ZONE who have X red i where it the problem. All work until you go downstair of the block ( who is the top hight ). When we jump under the block that do not work and I do not know why :(
http://vbforums.com/attachment.php?s=&postid=606482
Gravitational acceleration = 9.80 meters/(second^2) ^_- thank you but in the game my Const for my gravity is : 20 lol :) Well I use mu jumping code but only the last part so that do like a half jump...it look nice ;)
Are you dead :)?
I'm sorry i have had a lot of other things to do! Plz don't hurt me;)
I'll try to get back on track soon!:)
It's ok I just wanted to know where you were to be sure you didnt let me alone :)
Leave you alone, never! Who knows what would happen if you are alone.:D