I made a project that allows you to make more projects but i dont know how to make it to where you can make your own sprite. Help please.
Offline
For a scratch based clone of scratch, the most effective way I can think of would be to have a single sprite and 2 lists, x and ys. The lists contain an item for each sprite, their x and y position, the sprite then goes to that location, and stamps.
Offline
zammer990 wrote:
For a scratch based clone of scratch, the most effective way I can think of would be to have a single sprite and 2 lists, x and ys. The lists contain an item for each sprite, their x and y position, the sprite then goes to that location, and stamps.
then how would you move it without clearing the pen?
Offline
RoboNeo9 wrote:
zammer990 wrote:
For a scratch based clone of scratch, the most effective way I can think of would be to have a single sprite and 2 lists, x and ys. The lists contain an item for each sprite, their x and y position, the sprite then goes to that location, and stamps.
then how would you move it without clearing the pen?
You would clear the pen, but the sprite would constantly be going to all the locations, so it would instantly redraw in the right place.
Offline
zammer990 wrote:
RoboNeo9 wrote:
zammer990 wrote:
For a scratch based clone of scratch, the most effective way I can think of would be to have a single sprite and 2 lists, x and ys. The lists contain an item for each sprite, their x and y position, the sprite then goes to that location, and stamps.
then how would you move it without clearing the pen?
You would clear the pen, but the sprite would constantly be going to all the locations, so it would instantly redraw in the right place.
thanks!
Offline