I seen a game with one sprite that makes a whole level.
How do they do that? I try to look at it but its hard to understand and do.
Offline
Yea but i don't understand thouse huge scripts they do.
Offline
You mean those 1-sprite 1-script projects?
Well, they use only one script to do stuff.
Offline
Basically, the sprite keeps track of things through a list or a bajillion variables. Then, it stamps what it's kept track of. Every time something changes, it goes back and re-stamps it. You can only do it with limited things - primarily grid-type games like SimCity or Minesweeper or Minecraft (though that can really only be done this way 2-dimensionally. But it's really useful in that you don't have to make eighty billion sprites to do the same thing.
Offline
ShadowHoundz wrote:
I seen a game with one sprite that makes a whole level.
How do they do that? I try to look at it but its hard to understand and do.
Post the link to the project and we might be able to explain it
Offline
Adelle5 wrote:
Photo Stamp Remover is a photo correction tool that can remove date stamps, watermarks, scratches, stains, wrinkles, and other unwanted objects from digital photos.
I've visited the site acornsale.com which is related to rubber stamps..
http://www.acornsales.com
Sorry we are talking about the stamp block in scratch but thanks anyway
Offline
Well, using mine as an example:
http://scratch.mit.edu/projects/Smozzick/2114427
(shameless plug).
What I do is have one block of a specific size and stamp it over the screen using the <stamp> block. Whenever I want to change the appearance of the block I change the costume of it.
To get lots of ground done at once I use loops, one loop for columns and one for rows.
Offline
Further explanation since I can't edit...
In the loop I would do something like:
Loop Start
change x by BlockWidth
Stamp
Loop End
What the stamp actually does is copy an image of the sprite to the stage so make sure that you don't try to have a sprite stamping onto another sprite - the image'll get sent behind it.
Offline
ShadowHoundz wrote:
Yea but i don't understand thouse huge scripts they do.
I’m not sure what you’re asking. You just make a script that takes care of everything. Nothing more than that. There’s not secret word, or anything that magically makes the script pop up.
Offline