Log In  

Cart #fillpatdraw_02-3 | 2019-01-07 | Code ▽ | Embed ▽ | License: CC4-BY-NC-SA

FillPatDraw FullColor version

This cart is tool that export code for drawing with FILLP() and RECTFILL().
The Exported data can Execute that using without Sprite sheet.

Rectfill pattern animation

FILLP DRAW (2color version)


Sprite sheet view

  • Mouse Left Drag and Click
    1 Select the rectangle to be the source of the delimited block.
    2 Select the length of block from start to end.
    3 Click Export Button for Confirm and Enter the export file name.
    In some cases there is a waiting time of 30 seconds or more.

  • Right Click
    Prev select mode.

  • Tab key
    Open the Menu Window.


  • PLAY Button
    Start Pattern Draw Preview

  • SAVE Button
    SAVE PNG file and Attach Cart data

  • LOAD Button
    LOAD PNG file and Attach Cart data

  • CLEAR!! Button
    CLEAR Sprite sheet(not Attach Cart data)

Pattern Draw Preview

  • Space key
    Stop and Start the Animation.
  • Left Click
    Step to Next BlockID.
  • Right Click
    Prev to Back BlockID.
  • Tab key
    Return The Menu Window.

How to use the exported code

That code include followings.

  • BlockInfo FillPatternID data
  • draw function

and add your code.

To execute it add the following code.

  • BlockID : Number in Selected Sprite sheet view mode.(start 1)
  • x,y : draw position.(It requires a multiple of 4. and 0)
  • Return value: If ID not found then TRUE else FALSE.

How to add data

That can add to the export data in the following way.

(add datablock2)
(add datablock3)

Draw Sequence


  • rev3: Tuning Encode and Draw performance.
  • rev2: Remove debug code
  • rev1: Fixed can't return on Tabkey
P#60621 2019-01-06 15:29 ( Edited 2019-01-07 14:11)

[Please log in to post a comment]

Follow Lexaloffle:        
Generated 2020-01-18 09:09 | 0.017s | 2097k | Q:27