Questions tagged [sprite]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
36 views

How to detect collision of a sprite with objects drawn by pen within a single sprite?

In Scratch, there is a boolean expression called "touching" and it can be used on one sprite to detect when it hits another sprite. But what if I want to detect when a sprite hits objects (...
0
votes
0answers
14 views

CS50 Games generating animated sprites

In the CS50 Games track you are guided through some code written by Colten Ogden that makes a mock-up Super Mario Bros level. The game map is made by random procedural generation, but the end of the ...
0
votes
1answer
58 views

How to create a series of if-else statements in scratch?

Could someone help me translate the following program to Scrach? _Bool US_Citizen; if (US_Citizen == 1) join spaceX; else-if (US_Citizen == 0) Become an alien resident else Send the cat ...
0
votes
1answer
309 views

How to spawn sprite on random edge axes

In Scratch, how do I spawn a sprite randomly at any point along any of the four edges of the stage? I have tried using a go to motion block with a pick random operator, but of course this limits the ...
1
vote
1answer
5k views

Scratch - resetting the position of sprites after stopping a program

I have four sprites in my Scratch program, and they move around to various positions throughout my program. I'm testing now, and will start and stop intermittently. When I stop, I cannot figure out ...
0
votes
3answers
109 views

Borrowing a sprite from another project

I found a sprite that will work well in my project. I think it would take excessively long to make my own similar sprite. I don't want to borrow the scripts, just the sprite and its costumes. Is it ...