Discuss Scratch

H__4
Scratcher
69 posts

How to make offscreen sprites? (And other problems allowed).

Hi. I don't mean to waste time, but can you please tell me how to make sprites go offscreen, because I try, but it always breaks! If you want, you can also ask some stuff

Help!

Last edited by H__4 (Sept. 9, 2024 15:48:07)

A-MARIO-PLAYER
Scratcher
1000+ posts

How to make offscreen sprites? (And other problems allowed).

Try using turbowarp with remove fencing enabled
tank401
Scratcher
100+ posts

How to make offscreen sprites? (And other problems allowed).

If you mean partially off screen you can set the size to 1%, go to where you want it to go, then change it back to the original size, if you want it to be fully off screen, you can use an empty costume and switch when its back onscreen
bsteichman
Scratcher
500+ posts

How to make offscreen sprites? (And other problems allowed).

here: https://scratch.mit.edu/projects/1064377112/

this can get to x=495,000
floofycat4436
Scratcher
500+ posts

How to make offscreen sprites? (And other problems allowed).

You really can't make sprites go offscreen without making them go as far as possible and then using the
hide 
block
codeywhizz
Scratcher
100+ posts

How to make offscreen sprites? (And other problems allowed).

floofycat4436 wrote:

You really can't make sprites go offscreen without making them go as far as possible and then using the
hide 
block
bro u can what are u talking about
switch costume to [BIG v]
go to x: (893) y: (0)
switch costume to (old costume)
H__4
Scratcher
69 posts

How to make offscreen sprites? (And other problems allowed).

Thanks! Now you can put your own problems if you like!

Last edited by H__4 (Sept. 13, 2024 16:57:27)

MineTurte
Scratcher
1000+ posts

How to make offscreen sprites? (And other problems allowed).

codeywhizz wrote:

floofycat4436 wrote:

You really can't make sprites go offscreen without making them go as far as possible and then using the
hide 
block
bro u can what are u talking about
switch costume to [BIG v]
go to x: (893) y: (0)
switch costume to (old costume)
switch costume to [ nothing] //Sprite with 0x0 size
set size to (join [Infini] [ty]) %
switch costume to [ original costume]
NMario84
Scratcher
1000+ posts

How to make offscreen sprites? (And other problems allowed).

You can literally make an object go off screen as far as you want. The condition is that you must a vector image set to 0x0 for this to work.

The rest is basically this:
when green flag clicked
forever
switch costume to (vector 0x0 v)
set size to ((1) / (0))%
move (10) steps
set size to (100)%
switch costume to (Default costume v)
end
tricky313
Scratcher
11 posts

How to make offscreen sprites? (And other problems allowed).

NMario84 wrote:

You can literally make an object go off screen as far as you want. The condition is that you must a vector image set to 0x0 for this to work.

The rest is basically this:
when green flag clicked
forever
switch costume to (vector 0x0 v)
set size to ((1) / (0))%
move (10) steps
set size to (100)%
switch costume to (Default costume v)
end
yes these are all much better alternatives for if u want to go really far. vector 0x0 is created by making an empty bitmap and then going back to vector
zeldatheaxolotl
Scratcher
1000+ posts

How to make offscreen sprites? (And other problems allowed).

Easy make a blank costume

when green flag clicked
switch costume to [ blank v]
happywaffle0
Scratcher
100+ posts

How to make offscreen sprites? (And other problems allowed).

zeldatheaxolotl wrote:

Easy make a blank costume

when green flag clicked
switch costume to [ blank v]

idk, but making a blank sprite still has the fencing to 240x180(x2).
NMario84
Scratcher
1000+ posts

How to make offscreen sprites? (And other problems allowed).

happywaffle0 wrote:

idk, but making a blank sprite still has the fencing to 240x180(x2).

You make a blank sprite that is a vector image, and make sure it is 0x0 (That's important!). Then when you use the infinity resize (# / 0) function to move, you can go as far outside of the screen as you need to.

Last edited by NMario84 (Sept. 14, 2024 05:34:09)

Powered by DjangoBB