Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Game_CharacterBase

The super class of Game Character. It handles basic information such as coordinates, images, and more shared by all characters.

Hierarchy

Index

Constructors

Properties

Methods

Constructors

constructor

Properties

_animationCount

_animationCount: number

_animationId

_animationId: AnimationId

_animationPlaying

_animationPlaying: boolean

_ballonId

_ballonId: BalloonId

_balloonPlaying

_balloonPlaying: boolean

_blendMode

_blendMode: number

_bushDepth

_bushDepth: number

_characterIndex

_characterIndex: number

_characterName

_characterName: string

_direction

_direction: Direction

_directionFix

_directionFix: boolean

_isObjectCharacter

_isObjectCharacter: boolean

_jumpCount

_jumpCount: number

_jumpPeak

_jumpPeak: number

_moveFrequency

_moveFrequency: MoveFrequency

_moveSpeed

_moveSpeed: MoveSpeed

_movementSuccess

_movementSuccess: boolean

_opacity

_opacity: number

_pattern

_pattern: rm.types.CharacterPattern

_priorityType

_priorityType: CharacterPriority

_realX

_realX: number

_realY

_realY: number

_stepAnime

_stepAnime: boolean

_stopCount

_stopCount: number

_through

_through: boolean

_tileId

_tileId: number

_transparent

_transparent: boolean

_walkAnime

_walkAnime: boolean

_x

_x: number

_y

_y: number

x

x: number

[read-only]

y

y: number

[read-only]

Methods

animationId

  • animationId(): number

animationWait

  • animationWait(): number

balloonId

  • balloonId(): number

blendMode

  • blendMode(): number

bushDepth

  • bushDepth(): number

canPass

  • canPass(x: number, y: number, d: number): boolean

canPassDiagonally

  • canPassDiagonally(x: number, y: number, horz: number, vert: number): boolean

characterIndex

  • characterIndex(): number

characterName

  • characterName(): string

checkEventTriggerTouch

  • checkEventTriggerTouch(x: number, y: number): boolean

checkEventTriggerTouchFront

  • checkEventTriggerTouchFront(d: number): void

checkStop

  • checkStop(threshold: number): boolean

copyPosition

direction

  • direction(): number

distancePerFrame

  • distancePerFrame(): number

endAnimation

  • endAnimation(): void

endBalloon

  • endBalloon(): void

hasStepAnime

  • hasStepAnime(): boolean

hasWalkAnime

  • hasWalkAnime(): boolean

increaseSteps

  • increaseSteps(): void

initMembers

  • initMembers(): void

initialize

  • initialize(): void

isAnimationPlaying

  • isAnimationPlaying(): boolean

isBalloonPlaying

  • isBalloonPlaying(): boolean

isCollidedWithCharacters

  • isCollidedWithCharacters(x: number, y: number): boolean

isCollidedWithEvents

  • isCollidedWithEvents(x: number, y: number): boolean

isCollidedWithVehicles

  • isCollidedWithVehicles(x: number, y: number): boolean

isDashing

  • isDashing(): boolean

isDebugThrough

  • isDebugThrough(): boolean

isDirectionFixed

  • isDirectionFixed(): boolean

isJumping

  • isJumping(): boolean

isMapPassable

  • isMapPassable(x: number, y: number, d: number): boolean

isMovementSucceeded

  • isMovementSucceeded(x: number, y: number): boolean

isMoving

  • isMoving(): boolean

isNearTheScreen

  • isNearTheScreen(): boolean

isNormalPriority

  • isNormalPriority(): boolean

isObjectCharacter

  • isObjectCharacter(): boolean

isOnBush

  • isOnBush(): boolean

isOnLadder

  • isOnLadder(): boolean

isOriginalPattern

  • isOriginalPattern(): boolean

isStopping

  • isStopping(): boolean

isThrough

  • isThrough(): boolean

isTile

  • isTile(): boolean

isTransparent

  • isTransparent(): boolean

jump

  • jump(xPlus: number, yPlus: number): void

jumpHeight

  • jumpHeight(): number

locate

  • locate(x: number, y: number): void

maxPattern

  • maxPattern(): number

moveDiagonally

  • moveDiagonally(horz: number, vert: number): void

moveFrequency

  • moveFrequency(): number

moveSpeed

  • moveSpeed(): number

moveStraight

  • moveStraight(d: number): void

opacity

  • opacity(): number

pattern

  • pattern(): number

pos

  • pos(x: number, y: number): boolean

posNt

  • posNt(x: number, y: number): boolean

realMoveSpeed

  • realMoveSpeed(): number

refreshBushDepth

  • refreshBushDepth(): void

regionId

  • regionId(): number

requestAnimation

  • requestAnimation(animationId: number): void

requestBalloon

  • requestBalloon(balloonId: number): void

resetPattern

  • resetPattern(): void

resetStopCount

  • resetStopCount(): void

reverseDir

  • reverseDir(d: number): number

screenX

  • screenX(): number

screenY

  • screenY(): number

screenZ

  • screenZ(): number

scrolledX

  • scrolledX(): number

scrolledY

  • scrolledY(): number

setBlendMode

  • setBlendMode(blendMode: number): void

setDirection

  • setDirection(d: number): void

setDirectionFix

  • setDirectionFix(directionFix: boolean): void
  • Sets the character to be fixed in a specified direction given a Bool value.

    memberof

    Game_CharacterBase

    Parameters

    • directionFix: boolean

    Returns void

setImage

  • setImage(characterName: string, characterIndex: number): void

setMoveFrequency

  • setMoveFrequency(moveFrequency: number): void

setMoveSpeed

  • setMoveSpeed(moveSpeed: number): void

setMovementSuccess

  • setMovementSuccess(success: boolean): void

setOpacity

  • setOpacity(opacity: number): void

setPattern

  • setPattern(pattern: number): void

setPosition

  • setPosition(x: number, y: number): void

setPriorityType

  • setPriorityType(priorityType: number): void

setStepAnime

  • setStepAnime(stepAnime: boolean): void

setThrough

  • setThrough(through: boolean): void

setTileImage

  • setTileImage(tileId: number): void

setTransparent

  • setTransparent(transparent: boolean): void

setWalkAnime

  • setWalkAnime(walkAnime: boolean): void

shiftY

  • shiftY(): number

startAnimation

  • startAnimation(): void

startBalloon

  • startBalloon(): void

straighten

  • straighten(): void

terrainTag

  • terrainTag(): number

tileId

  • tileId(): number

update

  • update(): void

updateAnimation

  • updateAnimation(): void

updateAnimationCount

  • updateAnimationCount(): void

updateJump

  • updateJump(): void

updateMove

  • updateMove(): void

updatePattern

  • updatePattern(): void

updateStop

  • updateStop(): void

Generated using TypeDoc