Cautions: ID begins from 0.
注意: IDは、0から始まります
Index
- Getting Functions(取得用関数)
- GetNumAct
- GetNumFrame
- GetNumPat
- GetSprNo
- GetSpType
- GetXYOffs
- IsMirror
- GetA
- GetR
- GetG
- GetB
- GetXMag
- GetYMag
- GetRot
- GetSprWH
- GetExtXYOffs
- GetSoundNo
- GetInterval
- GetNumImage
- GetNumPalImage
- GetNumFlatImage
- GetImageWH
- Setting Functions(設定用関数)
- SetSprNoType
- SetXYOffs
- SetMirror
- SetA
- SetR
- SetG
- SetB
- SetXMag
- SetYMag
- SetRot
- SetExtEXOffs
- SetSoundNo
- SetInterval
- Differential setting Functions(差分設定用関数)
- MoveSprite
- ChangeMagnify
- ChangeRotation
- MoveExtSprite
- Add, Delete Functions(追加・削除用関数)
- AddPat
- DelPat
- SwapPat
- CopyToNextFrame
- DelFrame
- SwapFrame
- CopyAct
- CopyInsertFrame
- Palette Functions(パレット用関数)
- GetPalCol
- SetPalCol
- RGB2HSV
- HSV2RGB
- Miscellaneous(その他)
- Print
Description
- Getting Functions(取得用関数)
- GetNumAct
Usage(使い方): GetNumAct()
Desc.: Returns the number of actions.
説明: アクションの総数が返ってきます。
- GetNumFrame
Usage(使い方): GetNumFrame(ActID)
Desc.: Returns the number of frames of action "ActID".
説明: アクション"ActID"の総フレーム数が返ってきます。
- GetNumPat
Usage(使い方): GetNumPat(ActID, FrameID)
Desc.: Returns the number of patterns of frame "FrameID" of action "ActID".
説明: アクション"ActID"のフレーム"FrameID"の、総パターン数が返ってきます。
- GetSprNo
Usage(使い方): GetSprNo(ActID, FrameID, PatternID)
Desc.: Returns "SprNo" of pattern "PatternID" of frame "FrameID" of action "ActID".
説明: アクション"ActID"のフレーム"FrameID"のパターン"PatternID"の"SprNo"が返ってきます。
- GetSpType
Usage(使い方): GetSpType(ActID, FrameID, PatternID)
Desc.: Returns "SpType" of pattern "PatternID" of frame "FrameID" of action "ActID".
説明: アクション"ActID"のフレーム"FrameID"のパターン"PatternID"の"SpType"が返ってきます。
- GetXYOffs
Usage(使い方): GetXYOffs(ActID, FrameID, PatternID)
Desc.: Returns "Xoffs" and "Yoffs" of pattern "PatternID" of frame "FrameID" of action "ActID". This function returns two values.
説明: アクション"ActID"のフレーム"FrameID"のパターン"PatternID"の"Xoffs"と"Yoffs"が返ってきます。この関数は、2つの値を返します。
- IsMirror
Usage(使い方): IsMirror(ActID, FrameID, PatternID)
Desc.: Returns "Mirror" of pattern "PatternID" of frame "FrameID" of action "ActID".
説明: アクション"ActID"のフレーム"FrameID"のパターン"PatternID"の"Mirror"が返ってきます。
- GetA
Usage(使い方): GetA(ActID, FrameID, PatternID)
Desc.: Returns alpha value of pattern "PatternID" of frame "FrameID" of action "ActID".
説明: アクション"ActID"のフレーム"FrameID"のパターン"PatternID"のα値が返ってきます。
- GetR
Usage(使い方): GetR(ActID, FrameID, PatternID)
Desc.: Returns red value of pattern "PatternID" of frame "FrameID" of action "ActID".
説明: アクション"ActID"のフレーム"FrameID"のパターン"PatternID"の赤色度が返ってきます。
- GetG
Usage(使い方): GetG(ActID, FrameID, PatternID)
Desc.: Returns green value of pattern "PatternID" of frame "FrameID" of action "ActID".
説明: アクション"ActID"のフレーム"FrameID"のパターン"PatternID"の緑色度が返ってきます。
- GetB
Usage(使い方): GetB(ActID, FrameID, PatternID)
Desc.: Returns blue value of pattern "PatternID" of frame "FrameID" of action "ActID".
説明: アクション"ActID"のフレーム"FrameID"のパターン"PatternID"の青色度が返ってきます。
- GetXMag
Usage(使い方): GetXMag(ActID, FrameID, PatternID)
Desc.: Returns "XMag" of pattern "PatternID" of frame "FrameID" of action "ActID".
説明: アクション"ActID"のフレーム"FrameID"のパターン"PatternID"の"XMag"が返ってきます。
- GetYMag
Usage(使い方): GetYMag(ActID, FrameID, PatternID)
Desc.: Returns "YMag" of pattern "PatternID" of frame "FrameID" of action "ActID".
説明: アクション"ActID"のフレーム"FrameID"のパターン"PatternID"の"YMag"が返ってきます。
- GetRot
Usage(使い方): GetRot(ActID, FrameID, PatternID)
Desc.: Returns "Rot" of pattern "PatternID" of frame "FrameID" of action "ActID".
説明: アクション"ActID"のフレーム"FrameID"のパターン"PatternID"の"Rot"が返ってきます。
- GetSprWH
Usage(使い方): GetSprWH(ActID, FrameID, PatternID)
Desc.: Returns width and height of "SprNo" of pattern "PatternID" of frame "FrameID" of action "ActID". This function returns two value. Please see "GetImageWH".
説明: アクション"ActID"のフレーム"FrameID"のパターン"PatternID"の"SprNo"の幅と高さが返ってきます。この関数は、2つの値を返します。"GetImageWH"も参照してください。
- GetExtXYOffs
Usage(使い方): GetExtXYOffs(ActID, FrameID)
Desc.: Returns Ext.Xoffset and Ext.Yoffset of frame "FrameID" of action "ActID". This function returns two values. Ext.XYOffset is used for definition of position of head and accessory.
説明: アクション"ActID"のフレーム"FrameID"のExt.XoffsetとExt.Yoffsetが返ってきます。この関数は、2つの値を返します。Ext.XYOffsetは、頭と頭装備の位置決定に用いられます。
- GetSoundNo
Usage(使い方): GetSoundNo(ActID, FrameID)
Desc.: Returns SoundID of frame "FrameID" of action "ActID". If the return value is -1, silence in the frame.
説明: アクション"ActID"のフレーム"FrameID"のSoundIDが返ってきます。返値が-1の時は、そのフレームは無音です。
- GetInterval
Usage(使い方): GetInterval(ActID)
Desc.: Returns a waittime for next frame of action "ActID".
説明: アクション"ActID"の描画更新間隔が返ってきます。
- GetNumImage
Usage(使い方): GetNumImage()
Desc.: Returns the number of images (in .spr file).
説明: (.sprにある)イメージの総数が返ってきます。
- GetNumPalImage
Usage(使い方): GetNumPalImage()
Desc.: Returns the number of palette images (in .spr file).
説明: (.sprにある)パレットを使ったイメージの総数が返ってきます。
- GetNumFlatImage
Usage(使い方): GetNumFlatImage()
Desc.: Returns the number of flat images (in .spr file).
説明: (.sprにある)ベタイメージの総数が返ってきます。
- GetImageWH
Usage(使い方): GetImageWH(ImageID)
Desc.: Returns width and height of image "ImageID".This function returns two value. Please see "GetSprWH".
説明: イメージ"ImageID"の幅と高さが返ってきます。この関数は、2つの値を返します。"GetSprWH"も参照してください。
- Setting Functions(設定用関数)
- SetSprNoType
Usage(使い方): SetSprNoType(ActID, FrameID, PatternID, SprNo, SpType)
Desc.: Sets "SprNo" and "SpType" to pattern "PatternID" of frame "FrameID" of action "ActID".
説明: "SprNo"と"SpType"を、アクション"ActID"のフレーム"FrameID"のパターン"PatternID"に設定します。
- SetXYOffs
Usage(使い方): SetXYOffs(ActID, FrameID, PatternID, XOffs, YOffs)
Desc.: Sets "XOffs" and "YOffs" to pattern "PatternID" of frame "FrameID" of action "ActID". Please see "MoveSprite".
説明: "XOffs"と"YOffs"を、アクション"ActID"のフレーム"FrameID"のパターン"PatternID"に設定します。"MoveSprite"も参照してください。
- SetMirror
Usage(使い方): SetMirror(ActID, FrameID, PatternID, true or false)
Desc.: Sets "Mirror" to pattern "PatternID" of frame "FrameID" of action "ActID".
説明: "Mirror"を、アクション"ActID"のフレーム"FrameID"のパターン"PatternID"に設定します。
- SetA
Usage(使い方): SetA(ActID, FrameID, PatternID, AValue)
Desc.: Sets alpha value to pattern "PatternID" of frame "FrameID" of action "ActID".
説明: α値を、アクション"ActID"のフレーム"FrameID"のパターン"PatternID"に設定します。
- SetR
Usage(使い方): SetR(ActID, FrameID, PatternID, RValue)
Desc.: Sets red value to pattern "PatternID" of frame "FrameID" of action "ActID".
説明: 赤色値を、アクション"ActID"のフレーム"FrameID"のパターン"PatternID"に設定します。
- SetG
Usage(使い方): SetG(ActID, FrameID, PatternID, GValue)
Desc.: Sets gree value to pattern "PatternID" of frame "FrameID" of action "ActID".
説明: 緑色値を、アクション"ActID"のフレーム"FrameID"のパターン"PatternID"に設定します。
- SetB
Usage(使い方): SetB(ActID, FrameID, PatternID, BValue)
Desc.: Sets blue value to pattern "PatternID" of frame "FrameID" of action "ActID".
説明: 青色値を、アクション"ActID"のフレーム"FrameID"のパターン"PatternID"に設定します。
- SetXMag
Usage(使い方): SetXMag(ActID, FrameID, PatternID, XMag)
Desc.: Sets "XMag" to pattern "PatternID" of frame "FrameID" of action "ActID". Please see "ChangeMagnify".
説明: 幅拡大率を、アクション"ActID"のフレーム"FrameID"のパターン"PatternID"に設定します。"ChangeMagnify"も参照してください。
- SetYMag
Usage(使い方): SetYMag(ActID, FrameID, PatternID, YMag)
Desc.: Sets "YMag" to pattern "PatternID" of frame "FrameID" of action "ActID". Please see "ChangeMagnify".
説明: 高さの拡大率を、アクション"ActID"のフレーム"FrameID"のパターン"PatternID"に設定します。"ChangeMagnify"も参照してください。
- SetRot
Usage(使い方): SetRot(ActID, FrameID, PatternID, Rot)
Desc.: Sets "Rot" to pattern "PatternID" of frame "FrameID" of action "ActID". Please see "ChangeRotation".
説明: "Rot"を、アクション"ActID"のフレーム"FrameID"のパターン"PatternID"に設定します。"ChangeRotation"も参照してください。
- SetExtEXOffs
Usage(使い方): SetExtXYOffs(ActID, FrameID, XOffs, YOffs)
Desc.: Sets Ext.Xoffset and Ext.Yoffset to frame "FrameID" of action "ActID". Ext.XYOffset is used for definition of position of head and accessory. Please see "MoveExtSprite".
説明: Ext.XoffsetとExt.Yoffsetを、アクション"ActID"のフレーム"FrameID"に設定します。Ext.XYOffsetは、頭と頭装備の位置決定に用いられます。"MoveExtSprite"も参照してください。
- SetSoundNo
Usage(使い方): SetSoundNo(ActID, FrameID, SndID)
Desc.: Sets SndID to frame "FrameID" of action "ActID". If you want to be silence, set -1.
説明: SndIDを、アクション"ActID"のフレーム"FrameID"に設定します。無音にしたいときは、-1を設定してください。
- SetInterval
Usage(使い方): SetInterval(ActID)
Desc.: Sets a waittime for next frame of action "ActID".
説明: アクション"ActID"の描画更新間隔を設定します。
- Differential setting Functions(差分設定用関数)
- MoveSprite
Usage(使い方): SetXYOffs(ActID, FrameID, PatternID, dX, dY)
Desc.: Pattern "PatternID" of frame "FrameID" of action "ActID" moves current position(CX, CY) to (CX+dX, CY+dY). Please see "SetXYOffs".
説明: アクション"ActID"のフレーム"FrameID"のパターン"PatternID"が、現在の場所から(dx, dy)ずれた位置に移動します。"SetXYOffs"も参照してください。
- ChangeMagnify
Usage(使い方): ChangeMagnify(ActID, FrameID, PatternID, dXMag, dYMag)
Desc.: Pattern "PatternID" of frame "FrameID" of action "ActID" is magnified dXMag, dYMag times. Please see "SetXMag", "SetYMag".
説明: アクション"ActID"のフレーム"FrameID"のパターン"PatternID"が、dXMag, dYMag倍に拡大されます。"SetXMag", "SetYMag"も参照してください。
- ChangeRotation
Usage(使い方): ChangeRotation(ActID, FrameID, PatternID, dRot)
Desc.: Forthermore pattern "PatternID" of frame "FrameID" of action "ActID" is rotated dRot degree. Please see "SetRot".
説明: アクション"ActID"のフレーム"FrameID"のパターン"PatternID"が、さらに、dRot度回転します。"SetRot"も参照してください。
- MoveExtSprite
Usage(使い方): SetXYOffs(ActID, FrameID, dX, dY)
Desc.: Ext.XYoffset of frame "FrameID" of action "ActID" changes current position(CX, CY) to (CX+dX, CY+dY). Please see "SetExtXYOffs".
説明: アクション"ActID"のフレーム"FrameID"のExt.XYoffsetが、現在の場所から(dx, dy)ずれた位置になります。"SetExtXYOffs"も参照してください。
- Add, Delete Functions(追加・削除用関数)
- AddPat
Usage(使い方): AddPat(ActID, FrameID, SprNo, SpType)
Desc.: Adds a sprite that is "SprNo", "SpType" to frame "FrameID" of action "ActID".
説明: アクション"ActID"のフレーム"FrameID"に、"SprNo"・"SpType"のスプライトを追加します。
- DelPat
Usage(使い方): DelPat(ActID, FrameID, PatternID)
Desc.: Deletes a sprite of pattern "PatternID" of frame "FrameID" of action "ActID".
説明: アクション"ActID"のフレーム"FrameID"のパターン"PatternID"を削除します。
- SwapPat
Usage(使い方): SwapPat(ActID, FrameID, PatternID_A, PatternID_B)
Desc.: Swaps pattern "PatternID_A" with pattern "PatternID_B" of frame "FrameID" of action "ActID".
説明: アクション"ActID"のフレーム"FrameID"のパターン"PatternID_A"とパターン"PatternID_B"を入れ替えます。
- CopyToNextFrame
Usage(使い方): CopyToNextFrame(ActID, FrameID)
Desc.: Copies frame "FrameID" of action "ActID", and inserts(or adds) into next frame. Please see "CopyInsertFrame".
説明: アクション"ActID"のフレーム"FrameID"を、コピーして次のフレームに挿入します。"CopyInsertFrame"も参照してください。
- DelFrame
Usage(使い方): DelFrame(ActID, FrameID)
Desc.: Deletes frame "FrameID" of action "ActID".
説明: アクション"ActID"のフレーム"FrameID"を、削除します。
- SwapFrame
Usage(使い方): SwapFrame(ActID, FrameID_A, FrameID_B)
Desc.: Swaps frame "FrameID_A" with frame "FrameID_B" of action "ActID".
説明: アクション"ActID"のフレーム"FrameID_A"とフレーム"FrameID_B"を、交換します。
- CopyAct
Usage(使い方): CopyAct(ActID_From, ActID_To)
Desc.: Copies action "ActID_From" to action "ActID_To". THIS IS "OVERWRITE". NOT INSERTED.
説明: アクション"ActID_From"をアクション"ActID_To"へ上書きコピーします。挿入はしません。
- CopyInsertFrame
Usage(使い方): CopyInsertFrame(ActID_From, FrameID_From, ActID_To, FrameID_To)
Desc.: Copies frame "FrameID_From" of action "ActID_From", and inserts(or adds) into frame "FrameID_to" of action "ActID_To". Please see "CopyToNextFrame".
説明: アクション"ActID_From"のフレーム"FrameID_From"をコピーして、アクション"ActID_To"のフレーム"FrameID_To"へ挿入します。"CopyToNextFrame"も参照してください。
- Palette Functions(パレット用関数)
- GetPalCol
Usage(使い方): GetPalCol(PalID)
Desc.: Returns PalID's color. It is Red*65536+Green*256+Blue. The range of Red, Green, and Blue is 0 to 255.
説明: PalIDの色を返します。値は、Red*65536+Green*256+Blueです。値の範囲は、0〜255です。
- SetPalCol
Usage(使い方): SetPalCol(PalID, COLOR)
Desc.: Sets COLOR to PalID's color. The COLOR value is same as "GetPalCol".
説明: PalIDの色を設定します。COLORの値は、"GetPalCol"と同じです。
- RGB2HSV
Usage(使い方): RGB2HSV(Red, Green, Blue)
Desc.: Converts RGB color space to HSV color space. This function returns three value. The range of R, G, and B are 0 to 255. The range of S, and V are 0.0 to 1.0. The range of H is 0.0 to 360.0.
説明: RGB色空間をHSV色空間に変換します。この関数は3つの値を返します。それぞれの値の範囲は、R・G・Bが0から255。SとVは、0.0から1.0。Hは0.0から360.0です。
- HSV2RGB
Usage(使い方): HSV2RGB(Hue, Saturation, Value)
Desc.: Converts HSV color space to HSV color space. This function returns three value. Ranges are same as "RGB2HSV".
説明: RGB色空間をHSV色空間に変換します。この関数は3つの値を返します。それぞれの値の範囲は、"RGB2HSV"と同じです。
- Miscellaneous(その他)
- Print
Usage(使い方): Print(Arg1)
Desc.: Display stack "Arg1"
説明: "Arg1"のスタックを表示します