This site is no longer active and is available for archival purposes only. Registration and login is disabled.

My first and my last EVB Game


My first and my last EVB Game

Postby SmokingFish » Jun 4, 2002 @ 10:24pm

User avatar
SmokingFish
pm Member
 
Posts: 109
Joined: Feb 10, 2002 @ 12:39pm
Location: Germany


Postby TechMage » Jun 5, 2002 @ 1:41am

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. :)
User avatar
TechMage
pm Insider
 
Posts: 2223
Joined: Sep 16, 2001 @ 5:40pm
Location: In Your Head


Postby SmokingFish » Jun 5, 2002 @ 7:41am

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
User avatar
SmokingFish
pm Member
 
Posts: 109
Joined: Feb 10, 2002 @ 12:39pm
Location: Germany


Postby TechMage » Jun 5, 2002 @ 12:26pm

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. :)
User avatar
TechMage
pm Insider
 
Posts: 2223
Joined: Sep 16, 2001 @ 5:40pm
Location: In Your Head


Postby SmokingFish » Jun 5, 2002 @ 2:27pm

User avatar
SmokingFish
pm Member
 
Posts: 109
Joined: Feb 10, 2002 @ 12:39pm
Location: Germany


Postby Dan East » Jun 5, 2002 @ 3:03pm

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
User avatar
Dan East
Site Admin
 
Posts: 5264
Joined: Jan 25, 2001 @ 5:19pm
Location: Virginia, USA


Postby SmokingFish » Jun 5, 2002 @ 3:40pm

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++ ..
User avatar
SmokingFish
pm Member
 
Posts: 109
Joined: Feb 10, 2002 @ 12:39pm
Location: Germany


Return to Windows Mobile


Sort


Forum Description

A discussion forum for mobile device developers on the Windows Mobile platform. Any platform specific topics are welcome.

Moderators:

Dan East, sponge, Digby, David Horn, Kevin Gelso, RICoder

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum