En
English
繁體中文
简体中文
日本語
한국어
This game needs your review to be officially published.
Write review
APP
Playground
29
26
0h
AUTHOR
Description
version 0.9.14
##Playground 專門用來快速在畫板上塗塗抹抹的專案。
# Playground 專門用來快速在畫板上塗塗抹抹的專案。 ## Getting Started 摳出來成為你自己的新專案後,可用以下幾種工具(在/libs裏的工具)快速畫圖。 ```typescript // 畫一個紅色的圓 draw.circle(0, 0, 100, {fillColor: 0xFF0000}); // 打開一個確認視窗 dialog.confirm('Are you sure?', 'Click confirm if you think it is ok.') .then((confirm) => { if(confirm) { console.log('User confirmed.'); } }); // 收集資料畫長條圖 let dataCollector = new DataCollector(); dataCollector.addData('一月', 1, 2); dataCollector.addData('二月', 2, 10); dataCollector.addData('三月', 3, 5); dataCollector.addData('四月', 4, 6); dataCollector.showChart('第一季', 'bar'); ```
# Changelog (Ground) ## [v0.10.0](/view/Playground/0.10.0) (2024-07-09) #### Changed - compiled in ES6 ## [v0.9.14](/view/Playground/0.9.14) (2023-10-16) #### Added - image(): new option: tint ## [v0.9.13](/view/Playground/0.9.13) (2023-08-20) #### Changed - draw.lines() can set options.close to draw a close shape. ## [v0.9.12](/view/Playground/0.9.12) (2023-06-16) #### Fixed bugs: - draw.button exception when onClick is not provided. ## [v0.9.10](/view/Playground/0.9.10) (2023-04-10) #### Fixed bugs: - fix draggablePoint's options type ## [v0.9.9](/view/Playground/0.9.9) (2022-11-28) #### Added - draw.getStageSize() - draw.getStage() - draw.getRoot() ## [v0.9.6](/view/Playground/0.9.6) (2022-11-17) #### Added - dialog.selectImage() - draw.download() - draw.imgElement() - draw.dataURL() ## [v0.8.0](/view/Playground/0.8.0) (2022-11-01) #### Added - draw.erase() ## [v0.7.8](/view/Playground/0.7.8) (2022-09-08) #### Added - draw.button() ## [v0.7.7](/view/Playground/0.7.7) (2022-08-30) #### Added - draw.container() - draw.backgroundColor() - draw.hitbox() ## [v0.7.3](/view/Playground/0.7.3) (2022-08-18) #### Added - draw shape/image/text now has the option to set zIndex - add draw.hitbox(hitbox: RectangularHitbox) ## [v0.6.3](/view/Playground/0.6.3) (2022-08-06) #### Added - draw.image() - draw.backgroundImage() - draw.backgroundVideo() #### Changed - translate GUI openControls/closeControls buttons ## [v0.5.0](/view/Playground/0.5.0) (2022-07-28) #### Added - dialog.addGUIButton() - draw.draggablePoint() ## [v0.4.3](/view/Playground/0.4.3) (2022-07-12) #### Fixed bugs: - draw.lines was returning incorrect value ## [v0.4.2](/view/Playground/0.4.2) (2022-06-30) #### Added - draw.line add more options: cap/join/graphics ## [v0.4.0](/view/Playground/0.4.0) (2022-06-05) #### Added - dialog.createGUI #### Changed - draw options support Color ## [v0.3.6](/view/Playground/0.3.6) (2022-05-25) #### Added - dialog.barChartNumbers - dialog.barChartNumbers supports multiple sets of data ## [v0.3.1](/view/Playground/0.3.1) (2022-05-11) #### Changed - dialog.prompt adds options.defaultValue ## [v0.3.0](/view/Playground/0.3.0) (2022-05-07) #### Added - 增加畫文字功能 - 增加測試用對話框 ## [v0.2.0](/view/Playground/0.2.0) (2022-04-29) #### Added - 新增畫長條圖/線圖/餅圖 ## [v0.1.4](/view/Playground/0.1.4) (2022-04-28) #### Added - basic pixi graphics functions - dialogs - translations
Game Badges
got badge x 0
Missing badge x 0
powered by Code.Gamelet.com