Page 1 of 1

My first and my last EVB Game

PostPosted: Jun 4, 2002 @ 10:24pm
by SmokingFish

PostPosted: Jun 5, 2002 @ 1:41am
by TechMage
I'm making a wack a rat type game in eVB right now. I noticed that eVB was really slow too, but I found a work a round. Use the WinCE API! You can use functions of the GDI like BitBlt, that really speed up graphics. I say as much as 10 times faster. :)

PostPosted: Jun 5, 2002 @ 7:41am
by SmokingFish
ha..i know that i can use api..i wanted to use gapi too (i use dx in winows too) but dont know how... i cant use bitblt api because it dont work with pic boxes and cant use gapi because i cant find some good infos for it

PostPosted: Jun 5, 2002 @ 12:26pm
by TechMage
Hey SmokingFish, how did you animate your snake? I read that the API BitBlt thingy would work, but I have found virtually no documentation for incorporating it in eVB. I could use ASpriteCE from to do it, but I don't have any money to buy it. The BitBlt function supposedly is very fast, like I said before, but I can't get it to work. If like you say is true, and it doesn't work with PictureBoxes then thats my problem. If you could provide some code for animating sprites in eVB, I would be extremely greatfull. :)

PostPosted: Jun 5, 2002 @ 2:27pm
by SmokingFish

PostPosted: Jun 5, 2002 @ 3:03pm
by Dan East
Remember that BitBlt does not blit from one bitmap to another. It blits from one Device Context to another. Thus you have to create a "memory" Device Context, and select your bitmap into it. That would be your source image, and the window's device context would be the target.

Dan East

PostPosted: Jun 5, 2002 @ 3:40pm
by SmokingFish
i know . but in vb its much easyer to use.. (you only need 2 picboxes...source and dest) but this does not work in evb.. i know that there is way to use it..(getdc api or something like that) but this is slow too and stupid..i think if gapi in evb is slow too i will use evc++ ..