The first zip work well but the second still have a blue background I do not know why? :(
Printable View
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
lol :D You so right :)
hi guys i am back
sorry for dorp out
i got many truble at a time
Now i am working on a comunication project
it will help programers to work(programing) together
and share files
can any one help me about database handling in cgi
:mad:
I do not know database sorry :(
Don' know cgi sorry.:o
ok !:rolleyes:
Same here I do not know CGI :(
it is running too heavy
my computer is jamm when it is running
and u know i have athlon 1.0 gh
:o
This project is not closed it's only I have reformating my hard drive and I need to reinstall all so I put it on the ice for the next 3-4 days.
Ok some news about the project, I will continue to work on it in about 5 days.
here is a link who can be usefull : BitBlt
OK, I will start to work on the project again :)
Stiky Stiky where are you :)I am not modived without you :p
LOL, :D :D :D
I'm here but have been a bit busy for the last week or two. Sorry!
I'll try to get back on track soon.:)
Cooooooool now I will work on it to :) :) :)
where do we stand on the progress?
what are the main focuses?
I have some problem with the jumping thing, all work nice UNTIL i put two block one over an other.:(
Hehe, DaoK, your sig is just soooo funny and its everywhere!! lol. I didnt understand this forum but it looks like everyone these days is off working hard on their new project :) So good to see this! Anyways, Ill be hanging around, hope you dont mind... I cant believe i still couldnt figgure out a simple problem i had with conversions like 4-5 months ago. Anyways, some of the problems you are facing can be solved like this:
1. make a "class" or "udt" for each object
2. make an array of those objects
3. loop through the array to do collisions etc...
but remember you dont want to do dumb looping, instead
do a smart loop like have each object check if there is something
to the left of it, and to the top of it. That way, you automatically
know whether things are colliding based on the objects.
Remember the best part of game programming: test, test, test, test, test and test untill you have whooped the whole game into shape!!
Best Regards,
MoMad
Thx Momad but I have put that project for the moment on the ice :) But I will check for the array and smart loop :)