Scrolling Game Development Kit 2 Help
Scrolling Game Development Kit 2 Help
Scrolling Game Development Kit Coding Reference
SpriteBase Class
SpriteBase Methods
AccelerateByInputs Method
AddSpriteHere Method
AlterXVelocity Method
AlterYVelocity Method
Animate Method
Blocked Method
CalculateRotatedState Method
ClearInputs Method
ClearParameters Method
Deactivate Method
GetBounds Method
GetCurrentFramesetFrames Method
GetNearestSpriteIndex Method
GetPolarStateByVector Method
GetRelativePosition Method
IsInputPressed Method
IsInState Method
IsMoving Method
IsOnTile Method
IsPointBlocked Method
IsRidingPlatform Method
LandDownOnPlatform Method
LimitVelocity Method
MapKeyToInput Method
MapMouseToSprite Method
MapPlayerToInputs Method
MoveByVelocity Method
PolarAccelerate Method
ProcessRules Method
PushSprite Method
PushSpriteIntoView Method
PushTowardCategory Method
PushTowardSprite Method
ReactToInertia Method
ReactToPlatform Method
ReactToPush Method
ReactToPushback Method
ReactToSolid Method
RemoveFromCategories Method
RotateVelocity Method
ScrollSpriteIntoView Method
SetInputState Method
SetInputsTowardCategory Method
SetInputsTowardSprite Method
SetSolidity Method
SnapToGround Method
StopRiding Method
SwitchToState Method
TestCollisionMask Method
TestCollisionRect Method
TileActivateSprite Method
TileAddSprite Method
TileCategoryTouched Method
TileChange Method
TileChangeTouched Method
TileTake Method
TileTouchingIndex Method
TileUseUp Method
TouchTiles Method
SpriteBase
TileChangeTouched Method
Change the tile specified by TouchingIndex that is being touched by the sprite to another tile (requires
TouchTiles(TileCategoryName)
).
Namespace:
(Default Namespace)
Assembly:
Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
Copy
public
virtual
void
TileChangeTouched
(
int
TouchingIndex
,
int
NewTileValue
)
Parameters
TouchingIndex
Type:
System
Int32
Refers to a tile in
TouchedTiles
by index.
TileTouchingIndex(Int32, Boolean, Boolean)
can be used to acquire this value.
NewTileValue
Type:
System
Int32
Specifies the tileset tile index of the new tile that will appear in place of the specified tile.
See Also
Reference
SpriteBase Class
(Default Namespace) Namespace
Send comments on this topic to
bluemonkmn@users.sourceforge.net