Skip to content

Commit

Permalink
sync (#3)
Browse files Browse the repository at this point in the history
* Add blockly editor (replit#667)

* add more blocks

* clean

* use kaboom_ prefix

* improve

* stuff

* shadow

* blocks

* kinda make callback work

* add stuff

* stuff

* dynamic add block

* clean

* add hasOutput option

* yes!!!!

* better movement

* improve color

* add add block checks

* misc

* local images

* fix example

* add more icons

* more icons

* kinda fix size

* fix ts

* fix initial resize event

* fix mem leak on resize

* alpha.24

* only import types from types.ts, fix import issue

* prep v3000 beta, update site

* fix ts

* fix site crash

* add icons

* upgrade deps

* update site deps

* add embed editor for articles

* rm unused deps

* gravity() -> setGravity() / getGravity(), more 3000 blog

* support LoadFontOpt

* improve text outline

* text atlas lineJoin

* Fixed testLineCircle (replit#671)

* Improve gamepad support (replit#672)

* Add support for Nintendo's Pro Controller

* Fix mapping for `Joy-Con L+R` gamepad

* Add support for using a single Joy-Con

* Add new accepted values to `GamepadButton` type

* add custom gamepads support

* add xbox360 gamepad

* tmp workaround for correct audio.time() when looped

* rm generic gamepad to fallback to default

* send 0.0 to stick events

* rename dpad buttons

* rm follow()

* revert removing follow()

* fix doc render

* froggy -> bean

* fix get/set cursor

* beta.0

* fix example and blog twitter card

* Fix broken link (replit#677)

* use better gamepad default

* add setCursorLocked()

* add AgentCompOpt to agent() type (replit#685)

* add AgentCompOpt to agent() type

* make opt optional

---------

Co-authored-by: tga <[email protected]>

* update readme (replit#680)

* update readme

* remove 0.5 doc from misc section

* fix details, add dots and update examples code (replit#679)

* add final dots and update some doc

* fmt and update addLevel example

* repos elements in hover demo

* fix concert demo, and music code example

* fix shooter example music

* add src/app.ts

* adopt app.ts

* fix err in migration guide

* fix objects not falling off platform when not overlapping

* improve drag example

* fix type

* fix ts error

* fix events not running for recursive children

* fix mouse pos

* prevent volumn go below 0

* fix sprite having 0 width height on load

* fix spriteatlas breaking

* cleaning

* fix events not clear when scene switch

* add amount health arg to onHurt / onHeal

* forward kabooom opt to app

* support maxFPS

* beta.4

* update deps

* add 404 to dev server

* Kaboom gamepads (replit#698)

Co-authored-by: tga <[email protected]>

* rm redundent

* add loadJSON() and getAsset()

* switch to tauri

* use tauri for create-kaboom

* rm unused code

* automatically clean up events registered in comp.add

* add unuse example

* fix tween type, add loop and tween to timer() comp

* tie timer comonent wait with game object

* remove params to timer()

* fix timer references

* mention tauri + rust in create-kaboom readme

* Fix file type in setup.md. (replit#703)

The file type of the horse sound was wrong (png), so i changed it to mp3.

also fixed a typo.

* doc

* add onSceneLeave

* add README to create-kaboom projs

* tauri icon

* fix tiled sprite

* better fix

* replace all object assign to not mutate original opt

* fix anim 0 error

* deal with resize

* fix more sizing issues

* fix letterbox!

* fix letterbox resizing

* fix fulllscreen

* clean

* fix global scale

* rm virtual control

* v3000 stable

* fix onclick

* isTouchscreen typo

* Remove concept tutorials, fix many refs and links (replit#719)

* remove concept tutorials, fix many refs and links

* fix

* update intro screenshots (replit#720)

* add make()

* fix for `debug.inspect` doesn't show the properties box if the area is from a child of a child replit#716 (replit#722)

* bug fix release

* add typing for plugins in `kaboom()` returns (replit#727)

* fix some ts errors, add MergePlugins

* fix mini typo

* mention create-kaboom in setup

* add back legacy endpoints

* fix global scale

* fix: ignore errors from other sources (replit#723)

This e.g. happens with iframes.
Seems to fix replit#466

* Bump tauri from 1.2.4 to 1.2.5 in /src-tauri (replit#710)

Bumps [tauri](https://github.com/tauri-apps/tauri) from 1.2.4 to 1.2.5.
- [Release notes](https://github.com/tauri-apps/tauri/releases)
- [Commits](tauri-apps/tauri@tauri-v1.2.4...tauri-v1.2.5)

---
updated-dependencies:
- dependency-name: tauri
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* dont init draw state until draw phase

* 3000.0.6

* fix vit import

* fix types

* fix some types

* recursively run destroy event to children

* fix ts and drawCircle

* shake() adds up instead of replace

* fix accessing mouse pos in touch events

* fix relateive touch pos

* empty components and plugins with options (replit#730)

* improve ts of plugins

* better plug

* empty comps

* lit generic type fix in kaboom()

* remove unrelated ts-ignore

* fix fixed inheritence

* alternative fixed fix

* version

* update dep

* downgrade puppeteer

* delete unused

* try

* refactor scripts

* update site deps

* Update types.ts (replit#743)

Adds a comment explaining the usage of Texture.free() and it's importance

* doc: fix OffScreenCompOpt.distance default value (replit#738)

The value is actually 200 in [source](https://github.com/replit/kaboom/blob/aa44a62999b6b510c24e317fc76ffc64524e9680/src/kaboom.ts#L3743C1-L3744C1)

* type `GameObjRaw#onAdd` (replit#737)

* Fix kenney assets link (replit#733)

* Expose clamp() math helper (replit#732)

* Expose clamp()

* Add clamp in types.ts

* Bump word-wrap from 1.2.3 to 1.2.5 in /pkgs/matter (replit#751)

Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.5.
- [Release notes](https://github.com/jonschlinkert/word-wrap/releases)
- [Commits](jonschlinkert/word-wrap@1.2.3...1.2.5)

---
updated-dependencies:
- dependency-name: word-wrap
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Bump semver from 6.3.0 to 6.3.1 in /site (replit#749)

Bumps [semver](https://github.com/npm/node-semver) from 6.3.0 to 6.3.1.
- [Release notes](https://github.com/npm/node-semver/releases)
- [Changelog](https://github.com/npm/node-semver/blob/v6.3.1/CHANGELOG.md)
- [Commits](npm/node-semver@v6.3.0...v6.3.1)

---
updated-dependencies:
- dependency-name: semver
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* feat: support pingpong loop for sprite anim (replit#745)

* feat: support pingpong loop for sprite anim

* format: better indents

* fmt

* change default logMax to 10 (replit#736)

* add log time

* deps

* input events on game obj

* workaround

* deps

* clean up, changelog

* fix background audio, expose onHide and onShow events

* tips

* rm dup

* misc fix

* fix debug.timeScale

* fix debug.paused not able to resume

* fix sprite quad not working

* stop audio on error

* SpriteData#width

* fix collide update still running when obj paused

* allow empty add() and make()

* improve err msg

* add audio.stop()

* add Event#clear()

* fix add() without arguments

* fix changelog

* fix typings

* fix debug paused not pausing audio

* add mask() and colored font outline

* naming

* only handle own error

* misc

* update text width immediately

* fix debug ui when scale & size are set (replit#755)

* v3000.1.8

* add fill option

* add kaboomware site

* update deps

* site

* site

* fix view getting cut off, update deps

* fix test code accidentally getting shipped

* fix resize event gets cleared on scene change

* use tex / framebuf binder stack

* fix toImageData flipped

* fix mousepos in fullscreen

* add Color#toHSL()

* fix err

* version

* fix color not working, add confetti example

* fix site

* add draw field to render comps

* rm site

* use gfx.ts

* cleaning

* cleaning, modulizing assets

* fix shader error report

* improve deepeq

* fix moving platform

* Fix emoji display in text (replit#771)

* Fix emoji display in text

* Fix emoji text color

* cleaning

* fmt & improvements

* use overload helper

* fix maxhp

* start adding offscreen canvas

* rm global err hand

* update deps

* misc fix

* Add polygon component (replit#774)

* Initial commit of polygon component. Updates types, adds the logic, and provised a real boring example in examples/

* Fixes a linting issues in examples/polygon.js

* Removes extraneous comment, reorders components to polygon() is first in example

* nit: Fixes newlines in import

* Updates the polygon fn to return a polygon render area, which makes it so that polygons always collide with their shape not a rect

* Use this.pnts instead of just pnts so we can capture any updates to points later

* pass polygon() opts into drawPolygon()

* improve polygon example

* fix loadRoot not working sometimes

* fix error not being logged

* expose velocity

* improve jump example

* v3000.1.17

* add drag

* fix: skip zero-width character render (replit#787)

* update intro inspect img (replit#785)

* fix: err TS2339 (replit#788)

* support anim pingpong without loop

* improve doc

* improve doc

* fix sizing issue with global scale

* Fix puppeteer deprecated warning (replit#791)

* Fix puppeteer deprecated warning

* format

---------

Co-authored-by: tga <[email protected]>

* Fix example in types.ts (replit#794)

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: tga <[email protected]>
Co-authored-by: Marc Flerackers <[email protected]>
Co-authored-by: Nestor Vera <[email protected]>
Co-authored-by: Sean <[email protected]>
Co-authored-by: Danie <[email protected]>
Co-authored-by: kingerious <[email protected]>
Co-authored-by: Hayden Mankin <[email protected]>
Co-authored-by: Pelle Johnsen <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: coding398 <[email protected]>
Co-authored-by: Nami W <[email protected]>
Co-authored-by: Luiz Bills <[email protected]>
Co-authored-by: hirnsalat <[email protected]>
Co-authored-by: 陆陆侠 <[email protected]>
Co-authored-by: trevordilley <[email protected]>
Co-authored-by: Neerajkumar <[email protected]>
  • Loading branch information
17 people authored Dec 5, 2023
1 parent 09900f3 commit eaf98ed
Show file tree
Hide file tree
Showing 281 changed files with 11,969 additions and 31,825 deletions.
1 change: 1 addition & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
"@typescript-eslint"
],
"rules": {
"@typescript-eslint/no-unused-vars": "warn",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-empty-function": "off",
Expand Down
47 changes: 0 additions & 47 deletions .github/ISSUE_TEMPLATE/bug.yml

This file was deleted.

5 changes: 2 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
dist/
node_modules/
.idea/
neutralinojs.log
bin/
desktop/
.env
.vscode
.vscode
src-tauri/target/
Loading

0 comments on commit eaf98ed

Please sign in to comment.