Discuss Scratch

EAE_animator
Scratcher
52 posts

Help with my Tile Engine

Welp, here I am again. I'm ready to pick up this project again:

https://scratch.mit.edu/projects/1134781621/

The last thing I was trying to work on was player code and collision, but like every other attempt I've ever… attempted, it just gets stuck in the block, and when I press up, it glides to the top. How do I implement wall collision and stop it from just getting into blocks in general?
ZM562
Scratcher
86 posts

Help with my Tile Engine

https://scratch.mit.edu/projects/67727504/ this will help it helped me alot
DaJoisright_Test
Scratcher
3 posts

Help with my Tile Engine

e

Last edited by DaJoisright_Test (Nov. 14, 2025 15:34:14)

EAE_animator
Scratcher
52 posts

Help with my Tile Engine

ZM562 wrote:

https://scratch.mit.edu/projects/67727504/ this will help it helped me alot

The issue in Griffpatch's tutorial was that Scratch Cat just teleports to the top of the wall that he's touching. My problem is that it gets stuck inside the wall, and that when I press up, my character floats to the top.

(Not to mention I've already gotten this link sent to me before…)
DaJoisright
Scratcher
100+ posts

Help with my Tile Engine

Hi there! Here is a very simple platformer engine that works great! How it works is the “Danger” in the level will be whatever color you set the sprite to. So in the project the “Danger” sprite is just stuff with that color. Then the “Level” is what you are Actually playing on! Then the Player corresponds to that! Make sure to check out the code and backpack it if you want! However, if you want something more advanced I would check out that griffpatch link ZM562 provided :) Link: https://scratch.mit.edu/projects/1080188638/editor/
EAE_animator
Scratcher
52 posts

Help with my Tile Engine

DaJoisright_Test wrote:

e

Uhh, no thank you…

I tried using the “last value” method, but to no avail.
ZM562
Scratcher
86 posts

Help with my Tile Engine

EAE_animator wrote:

ZM562 wrote:

https://scratch.mit.edu/projects/67727504/ this will help it helped me alot

The issue in Griffpatch's tutorial was that Scratch Cat just teleports to the top of the wall that he's touching. My problem is that it gets stuck inside the wall, and that when I press up, my character floats to the top.

(Not to mention I've already gotten this link sent to me before…)
if you sue the guys method and finish ita ND you steal teleport to the top you messed something else like a 10 supposed to be a 5
knacktick
Scratcher
100+ posts

Help with my Tile Engine

u sure u have the collision function set to run without screen refresh?

Last edited by knacktick (Nov. 14, 2025 17:55:02)

Koamodo975
Scratcher
1000+ posts

Help with my Tile Engine

There's so much missing in your project I'm not sure where to start…
Griff's tutorial might actually help you though as you haven't really put collisions of any kind so I'm not sure how you expect to not go into walls.
EAE_animator
Scratcher
52 posts

Help with my Tile Engine

Griffpatch's engine works with static pngs. I'm making my levels with scrolling tiles, his code won't work with mine.
knacktick
Scratcher
100+ posts

Help with my Tile Engine

?? griffpatch has a scrolling tile platformer tutorial, its one of his most popular one
https://youtube.com/playlist?list=PLy4zsTUHwGJIc90UaTKd-wpIH12FCSoLh
Koamodo975
Scratcher
1000+ posts

Help with my Tile Engine

EAE_animator wrote:

Griffpatch's engine works with static pngs. I'm making my levels with scrolling tiles, his code won't work with mine.
actually it will if you account for a bit of camera offsetting
EAE_animator
Scratcher
52 posts

Help with my Tile Engine

https://scratch.mit.edu/projects/1242780207/

added it. still doesn't work.

Last edited by EAE_animator (Dec. 5, 2025 15:27:33)

0bs0l3te
Scratcher
98 posts

Help with my Tile Engine

this is extremely incomplete your not even using your speed variables in any way that is probably why it doesn't really work at least how you expect it to
0bs0l3te
Scratcher
98 posts

Help with my Tile Engine

do this course completely i know it doesn't scroll but you can fix that this is the best help I can givehttps://www.youtube.com/playlist?list=PLy4zsTUHwGJIATydhFeZa5pspLZR7yE__
griefercube
Scratcher
500+ posts

Help with my Tile Engine

Costume based tile endgames has always performed slightly worse than pen based ones. However, I think I have fixed the collision for you.
Dawnbreaker_1
Scratcher
12 posts

Help with my Tile Engine

Here, If you shoot as fire Mario at an enemy, the enemy is supposed to be flipped, but instead it just KEEPS WALKING HELP ME AAAAAAAAGGGHHH
https://scratch.mit.edu/projects/1251290536/
0bs0l3te
Scratcher
98 posts

Help with my Tile Engine

this is not your forum make another one for help

Powered by DjangoBB