This is a read-only archive of the old Scratch 1.x Forums.
Try searching the current Scratch discussion forums.

#1 2012-01-24 22:29:38

Garr8
Scratcher
Registered: 2011-08-10
Posts: 1000+

date

i know this probably belongs on All about Scratch, but right now that forum is vacant. I am making a civilization game that spans all of human history, but i cant get the date to start at 4000BC, (im using a varaiable for it, btw) can u plz help me start the games date at 4000 before christ?


What I scored on Pokemon Quiz: Porygon

Offline

 

#2 2012-01-24 22:32:12

videogame9
Scratcher
Registered: 2008-05-12
Posts: 1000+

Re: date

-4000

so hard, right?


http://img641.imageshack.us/img641/4118/newvg9logo.png
QUOTE OF THE RIGHT NOW: why are we arguing about dead babies? -videogame9

Offline

 

#3 2012-01-24 22:33:05

Garr8
Scratcher
Registered: 2011-08-10
Posts: 1000+

Re: date

no, but i wanted it to be positive 4000 then decreases to 0 then starts over in AD


What I scored on Pokemon Quiz: Porygon

Offline

 

#4 2012-01-24 22:35:46

videogame9
Scratcher
Registered: 2008-05-12
Posts: 1000+

Re: date

Garr8 wrote:

no, but i wanted it to be positive 4000 then decreases to 0 then starts over in AD

make it so that the negative sign doesn't show up


http://img641.imageshack.us/img641/4118/newvg9logo.png
QUOTE OF THE RIGHT NOW: why are we arguing about dead babies? -videogame9

Offline

 

#5 2012-01-24 22:40:13

MoreGamesNow
Scratcher
Registered: 2009-10-12
Posts: 1000+

Re: date

displayedDate = abs(realDate)


http://images2.layoutsparks.com/1/218929/rubiks-cube-animated-rotating.gif
"Cogito ergo sum" --  I think, therefore I am

Offline

 

#6 2012-01-25 07:29:55

CatPerson
Scratcher
Registered: 2011-12-17
Posts: 1000+

Re: date

Use the block "set date to (4000 BC)" then your done!!!  big_smile


http://nyopoliticker.files.wordpress.com/2012/02/in_dog_we_trust_rusty.jpghttps://encrypted-tbn1.gstatic.com/images?q=tbn:ANd9GcSrxH2RAmte9adghivuoOhgklIlUcZUFuCAA0wFufFq-NWyZWg5http://www.buttonsonline.com/2012/obama/BO-rallysign-104.gif

Offline

 

#7 2012-01-25 08:16:41

Paddle2See
Scratch Team
Registered: 2007-10-27
Posts: 1000+

Re: date

Here's a demo project that uses the ABS function and the JOIN function to display dates in BC and AD format...hope you find it useful.

http://scratch.mit.edu/projects/Paddle2SeeFixIt/2293411


http://i39.tinypic.com/2nav6o7.gif

Offline

 

#8 2012-01-25 16:26:27

Garr8
Scratcher
Registered: 2011-08-10
Posts: 1000+

Re: date

thx u r all big helps  big_smile


What I scored on Pokemon Quiz: Porygon

Offline

 

Board footer