Arcade-sprite-events extension

Thank you @richard

2 Likes

I think I’ve found a bug: Whenever you enter a new scene and go back, the tile events don’t seem to work anymore.

Here is a test:

The duck should be happy when it’s on sand, and not say anything when it’s on the eternal void black tiles. But if you enter the pause menu and exit it, the duck doesn’t say anything anymore.

Cross-posted from the GitHub issue.

2 Likes

oh yeah that’s definitely a bug

3 Likes


Thanks, I needed regional tile map things: most of the time, I’d do something where I’d type out (x, y) or (x, y+1) or........ or (x+1, y) or (x+1, y+1) and so on… It got really tedious and looked ridiculous in blocks, so I’d put it in a function which I usually name ‘CHONK’. I know no one asked for my life story, but thx.

2 Likes


A sample.

4 Likes

my worst nightmare.

3 Likes

I watched your youtube on another one of your extensions

image

I’m wondering what is the URL to use it?

just in case here’s the link to the youtube I watched https://www.youtube.com/watch?v=OFS1A6QInGc

2 Likes

@SOCKMONSTER12 microsoft/arcade-platformer

2 Likes

Thannnnnnk Yoooooooooou RICHARD!!! Also, does the platformer in this youtube video have a link on the forum?

He also made the thing on stream so yeah frequent stream viewers know about it

2 Likes

@richard for got to use your username could you pls look at the top?

2 Likes

what’s this specific one called do you know?

2 Likes

@SOCKMONSTER12 here’s the link but it’s still unfinished!

3 Likes

ahhhhhhhhhhhh, thank you soooooooooooooo, muchhhhhhhhhhh @richard

2 Likes

Has that bug been fixed yet?

@richard, I’m using this extension for one of my games, and it’s not working. I’m trying to make moving platforms, and they work if I put them into the first tilemap, but after I change the tilemap (to the next level), they stop working. I’d share the link to the game, but I don’t want to release any spoilers for it. :frowning: Here’s a photo of the code that makes the moving platforms’ collisions.

Moving platforms are really tricky! I think it’s actually easiest to do this with a regular overlap event and not the extension. Here is some sample code, but be warned that it’s a little bit thorny!

Also, it uses the arcade-sprite-data and jwunderl/arcade-sprite-util extensions

I would love to make this scenario a little bit friendlier in the future. It’s tough to code right now

2 Likes

I’ve just discovered an easier way to do this!
image
Just make sure to set the overlapCheck to true in the onStart
image
I’ll post the game with this code soon!