Hi All:
I wanted to make sure you guys get off on the right foot when trying to use the ASpriteCE ActiveX for the first time. The original package was designed for eMbedded Visual Basic therefore the sample codes are structured differently. This should not discourage you from learning how to effectively use this powerful ActiveX from the samples included. Below is a code snippet I have taken from my card flipping sample you can download from the files section. http://tech.groups.yahoo.com/group/nsbasic-ce/files/Open-Project/ As indicated in the TEXT file in the download section, no image has been included due to original copyright issues with the images. I will upload a suitable image when I get a chance. Important code snippet below: AddObject "ASpriteCE.Game","Game1", 0, 0, 240, 320 ' create MGCEWin32 object for getting the window handle AddObject "MGCEWin32.API","API" ' get the handle of the game window m_lWnd = api.findwindow("cardflip") 'Game1.DrawInit m_lWnd, 267, 241 Game1.DrawInit m_lWnd, 0, 0 'Game1.DrawInit Form1.hWnd, 0, 0 Game1.DrawGetDimensions lwidth, lheight Game1.DrawSetTransparentColor 0, 0, 255 This code above will initialize and allow the AspriteCE game window to appear on the form. The rest should be as per the ASpriteCE code structure goes. The speed of ASpriteCE is hugely superior over any other method you might consider for graphics manipulation. The ActiveX uses imgdecmp.dll for fast compression and decompression of images and uses a back buffer to provide considerable speed. Enjoy Bob --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "nsb-ce" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/nsb-ce?hl=en -~----------~----~----~----~------~----~------~--~---
