ScratchData LogoScratchData
Back to deck26's profile

Grid movement demo

DEdeck26•Created February 9, 2015
Grid movement demo
25
18
1167 views
View on Scratch

Instructions

Just move the beetle with the arrow keys to eat the apple. not very exciting but it is just a demo for someone on the forum. I also hope to create a tutorial on the methods but it was quicker to actually do the coding so I've done that first. Tutorial now up at http://scratch.mit.edu/projects/47150778/

Description

This is just meant to show how easy the grid method can be. The sprite can only move into blank cells or cells containing food but none of that involves colour detection - any of the obstacle costumes in the sprite that stamps the playing area will be detected and the area could contain a range of costumes without any additional work to detect collisions.

Project Details

Project ID47154008
CreatedFebruary 9, 2015
Last ModifiedMarch 9, 2016
SharedFebruary 9, 2015
Visibilityvisible
CommentsAllowed