Source Code
Scratch 2
Make a Haunted House in Scratch
[{"xml":"<xml xmlns=\"https:\/\/developers.google.com\/blockly\/xml\">\n <block type=\"hideElement\" id=\"JIC!NqRCqt9:cc--G:Ik\" x=\"137\" y=\"38\">\n <next>\n <block type=\"wait\" id=\".Ih`~jQ#w,{V6--Pb_#5\">\n <field name=\"SECONDS\">1<\/field>\n <next>\n <block type=\"showElement\" id=\"U~;vexX1FU#jj]D#81|R\">\n <next>\n <block type=\"goToXY\" id=\"KOIGa}T)PQ8rKMy:a5;e\">\n <field name=\"X_COORD\">100<\/field>\n <field name=\"Y_COORD\">60<\/field>\n <\/block>\n <\/next>\n <\/block>\n <\/next>\n <\/block>\n <\/next>\n <\/block>\n<\/xml>","sprite":"download (12)_107_1.svg","backdrop":"haunted_house.png"},{"xml":"<xml xmlns=\"https:\/\/developers.google.com\/blockly\/xml\">\n <block type=\"moveSteps1\" id=\"pgen!AHY6{},F4A*{}9j\" x=\"63\" y=\"88\">\n <field name=\"STEPS\">10<\/field>\n <next>\n <block type=\"bounceOnEdge1\" id=\"T.3*nbcmT]RW1_\/4KD6;\"><\/block>\n <\/next>\n <\/block>\n<\/xml>","sprite":"download (13)_107_2.svg","backdrop":null},{"xml":"<xml xmlns=\"https:\/\/developers.google.com\/blockly\/xml\">\n <block type=\"goToRandom2\" id=\"a=UkwWX,X?52ZDc1NWj3\" x=\"87\" y=\"113\">\n <field name=\"MOVE_TYPE\">MOUSE_POINTER<\/field>\n <\/block>\n<\/xml>","sprite":"sprite14.svg","backdrop":null}]
About This Project
Create your own haunted house with this spooky Scratch game tutorial. Learn coding while having Halloween-themed fun. Get started now and let your imagination run wild!
Learn to Code Like This
Master Scratch 2 and build your own amazing projects at Code With Us!
Start Learning Today