Discuss Scratch

chick63
Scratcher
100+ posts

Is there a way to disable Autosave?

wait no it doesn't work at all for me
footsocktoe
Scratcher
1000+ posts

Is there a way to disable Autosave?

chick63 wrote:

by the way its only a minus sign not -1

In plain English, if a number goes below zero, then the number becomes a negative number.

If you multiply a negative number times “-1” then it becomes a positive number.

However, maybe this is what you want…

if <[my variable v] < [0]> then
set [my variable v] to [0]
end

That way the variable never goes below zero, but just stays at zero until it becomes positive again.
chick63
Scratcher
100+ posts

Is there a way to disable Autosave?

nothing is working
footsocktoe
Scratcher
1000+ posts

Is there a way to disable Autosave?

chick63 wrote:

nothing is working

Maybe your problem is not a variable going below zero?
chick63
Scratcher
100+ posts

Is there a way to disable Autosave?

what happens is u need to get points and when you get points you buy stuff with `em and then if you don't have enough points you still get the item but ur points go into the negatives
footsocktoe
Scratcher
1000+ posts

Is there a way to disable Autosave?

chick63 wrote:

what happens is u need to get points and when you get points you buy stuff with `em and then if you don't have enough points you still get the item but ur points go into the negatives

Then I suggest you put an IF/THEN block BEFORE you buy the item.
If you don't have enough points then you can't buy the item.
chick63
Scratcher
100+ posts

Is there a way to disable Autosave?

it works thx
chick63
Scratcher
100+ posts

Is there a way to disable Autosave?

prob 2 last big prob if you buy it twice it only goes up one per second but its ment to go 1 per item per 1 second
footsocktoe
Scratcher
1000+ posts

Is there a way to disable Autosave?

chick63 wrote:

prob 2 last big prob if you buy it twice it only goes up one per second but its ment to go 1 per item per 1 second

I assume it's absolutely necessary there be a one second delay?

One solution would be to make the buy button only work if the item just bought was through with it's one second. Maybe make the buy button wait one second between presses?
chick63
Scratcher
100+ posts

Is there a way to disable Autosave?

no what I mean is if u buy something every second it will go up by one so it will give me 2 every second if I buy 2 but it doesn't so I need to know how to make it like that
chick63
Scratcher
100+ posts

Is there a way to disable Autosave?

any ideas
lepommejamez
Scratcher
1 post

Is there a way to disable Autosave?

chick63 wrote:

how do you make a variable not go bellow 0
you just do this
if <(variable) < [0]> then
set [ variable] to [0]
end
MEowTrix
Scratcher
15 posts

Is there a way to disable Autosave?

I really hate Autosave because it lags my project

EDIT:
This fourm has nothing to do wiith auto save

Last edited by MEowTrix (Aug. 10, 2017 18:23:22)

-Ertas-
Scratcher
35 posts

Is there a way to disable Autosave?

you can undo it
footsocktoe
Scratcher
1000+ posts

Is there a way to disable Autosave?

Please start a new topic when you have a question.

Powered by DjangoBB