-
In the RPG demo the player can move through walls. This is because of the player.moveLeft etc does not take into consideration solid objects. Can you add some option in the moveLeft /moveRight etc. s…
-
**Brand Name:** kaboom.js
**Website:** kaboomjs.com
**Alexa Rank:** 329,992
**Official resources for icon and color:**
![kaboom-logo](https://user-images.githubusercontent.com/48750933/12882881…
-
```
import { Vec2 } from "kaboom"
...
new Vec2(point.x, point.y)
```
TS thinks this code is fine, yet the transpiled code is not working due to errors like
```
[react-scripts] export 'Vec2'…
-
Pour mieux signaler la disparition (ou utiliser un shader à durée limitée : https://kaboomjs.com/play?example=postEffect)
-
# Expected Behavior
The kaboom types indicate you can specify a quad in the sprite options (ie: `sprite("name", { quad: quad(0, 0, 1, 1) })`, which describes
> The rectangular sub-area of the text…
-
As suggested by Peter, we will use KaboomJS to create the game (https://kaboomjs.com/) as it has lots of built-in methods to make development easier and faster
-
https://kaboomjs.com/play
https://kaboomjs.com/blog
![image](https://github.com/replit/kaboom/assets/51825926/ba3a7481-36ee-44e9-b858-d878eab1fd48)
https://kaboomjs.com/doc/intro
![image](https:…
-
- [x] Set up workspace
- [x] Create assets folder etc
- [x] Install required libraries
-
Version: 3000.0.0-beta.0 (applies to master, too)
I load a sprite like this:
```js
loadSprite("marksteroid", "/sprites/marksteroid_sheet.png", {
sliceX: 2,
sliceY: 1,
anims: {
…
-
Thanks to rabaut on Discord for the report.
We can't use, for example, `onClick("bean")`, in a `addLevel()` tile, because is a child.
There are other functions with the same problem, those that us…