This project is read-only.
Welcome to the ASpriteCE OPEN SOURCE PROJECT

ASpriteCE was originally released as a developers add-on tool for eMbedded Visual Basic users. Quickly NSBasic users realized that the same graphics tool worked well within NSBasic. Originally released in October 2001, ASpriteCE was sold for $24.95 as a commercial license allowing H/PC and Pocket PC developers to write graphically rich and fast games using the BASIC language royalty free. No other add-on existed then or even now to allow for fast graphics manipulation with NSBasic.

The original developer-author of ASpriteCE has gratiously opend the door to allow ASpriteCE to be available under the OPEN SOURCE licensing. Andy Beaulieu has setup this CODEPLEX project and welcomes all NSBasic users to participate in the OPEN SOURCE project to help maintain and improve the core ASpriteCE graphics engine. With the existing ASpriteCE engine, you can still create some interesting games and non game graphical applications. You will find some interesting sample files in the complete download file which includes detailed documentation in html and xml file formats. For those interested in seeing the documentations first, can easily download the separate docs.zip file only. I welcome all new and old NS Basic developers interested in adding some unique features to ASpriteCE to discuss the ideas in the discussion section. The original source code was developed using Microsoft eMbedded C++ V3.0. Anyone interested in helping out with modifications and additions should have EVC++ V3.0 running on a Windows XP or older operating system.

There is an excellent tutorial written by Andy Beaulieu located on www.devbuzz.com http://www.devbuzz.com/Archived/zinc_evb_aspritece_pg1.aspx

To see and download a trial of an excellent game written using ASpriteCE go to https://www.handango.com/AdminProductDetailView.jsp?siteId=1&jid=EE7X13C81DXD8F4EXA4925X21454FF77&productId=51335&platformId=1&productType=2

Pocket Circus


Bob Katayama

http://www.nsbasic.com/ce
http://groups.yahoo.com/group/nsbasic-ce/join

Project Description
An ActiveX Control for the Pocket PC which allows the creation of 2D games and animation.

ASpriteCE Programmer's Reference

The Control methods are divided into eight logical sections:

Draw - for initializing the display and drawing backgrounds.
Input - for handling user input via stylus and buttons.
Script - for scripting against ASpriteCE.
Sound - for loading and playing sound effects.
Sprite - for loading and moving sprites, and detecting collisions.
Text - for displaying text.
Tile - for creating scolling, tiled games.
Timer - for creating basic and custom timers.
Utility - various utility functions for memory and math.

Draw Methods and Properties

DrawAutoFlipBackBuffer
DrawBackgroundImage
DrawBackgroundScroll
DrawBackgroundScrollGetOffsets
DrawBackgroundScrollSetOffsets
DrawBackgroundShouldScroll
DrawBackgroundSprite
DrawDisable
DrawFlipBackBuffer
DrawFloodFill
DrawFullScreen
DrawGetDimensions
DrawGetPixel
DrawHwndControl
DrawInit
DrawLine
DrawRectangle
DrawRedrawBackground
DrawSetBackColor
DrawSetDrawColor
DrawSetPixel
DrawSetPixelSprite
DrawSetTransparentColor

Input Methods, Properties and Events

InputFireMouseCollisions
InputKeyUp
InputKeyDown
InputKeyLeft
InputKeyRight
InputKeyA
InputKeyB
InputKeyC
InputKeyStart
InputKeyAux1
InputKeyDirection
InputKeyPressed
InputKeyReleased
InputMouseDown
InputMouseMove
InputMouseUp

Script Methods and Properties

ScriptError
ScriptExecute
ScriptMessage
ScriptRaiseMessage
ScriptStop

Sound Methods and Properties

SoundLoad
SoundPlay
SoundPlayLoop
SoundStopLoop

Sprite Methods, Properties and Events

SpriteActive
SpriteAutoDisplay
SpriteCollision
SpriteCollisionAccuracy
SpriteCollisionEdge
SpriteCollisionMouse
SpriteCollisionTile
SpriteCollisionTileEx
SpriteCopy
SpriteCopyFrame
SpriteDefine
SpriteDelete
SpriteDiminishCollisionRect
SpriteDirectionRate
SpriteDisplay
SpriteFrame
SpriteFrameFlip
SpriteFrameMirror
SpriteFrameRate
SpriteGetDirection
SpriteGetFrameRange
SpriteGetPosition
SpriteGetPositionEx
SpriteOnScreen
SpriteSetCollisionSprites
SpriteSetDirection
SpriteSetFrameRange
SpriteSetNextFrame
SpriteSetPosition
SpriteSetPrevFrame
SpriteStretch
SpriteTileCollisionsOn
SpriteZOrder

Text Methods and Properties

TextDisplay
TextDisplaySprite
TextDisplay
TextGetDimensions
TextSetAttributes

Tile Methods and Properties

TileAtPosition
TileAtPositionXY
TileCausesCollision
TileExtendedCollisions
TileSetMap
TileSpriteCanMove

Timer Methods, Properties and Events

TimerCustomFired
TimerDefineCustom
TimerFired
TimerGetFrameRate
TimerGetTickCount
TimerPauseTimer
TimerStartTimer
TimerStopTimer

Utility Methods and Properties

UtilGetAngleBetween
UtilMemoryStatus
UtilRandom
UtilSleep

Last edited Sep 27, 2008 at 1:02 AM by bob_katayama, version 22