ScratchData LogoScratchData
Back to griffpatch_tutor's profile

Scrolling and Sensing Blocks

GRgriffpatch_tutor•Created January 6, 2016
Scrolling and Sensing Blocks
455
410
11012 views
View on Scratch

Description

I get a lot of Scratchers saying there collision detection scripts work fine for there platform games, but that it all goes wrong when they try to write a scrolling game, well here is a little project made as simple as possible to show how I have been doing it. Simply put, we do things just the same as you would for a non-scrolling game where the player is 'actually' moved around and collisions checked for and fixed, and only then do we move both the player AND the level (by the same amount) such that the player returns to the centre of the screen and the level scrolls. Let me know if I need to explain this any more simply? But look inside first and try to examine the scripts... there aren't many of them!

Project Details

Project ID93201751
CreatedJanuary 6, 2016
Last ModifiedMarch 25, 2025
SharedJanuary 6, 2016
Visibilityvisible
CommentsAllowed