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

#1 2012-05-30 14:07:49

ZombieHappines
Scratcher
Registered: 2012-01-19
Posts: 100+

Minecraftish game

Need help with a script to make a crafting table that allows you to craft items


http://i47.tinypic.com/10wr3bq.jpg
http://i50.tinypic.com/2w7onpy.png

Offline

 

#2 2012-05-30 14:22:04

sonicfan12p
Scratcher
Registered: 2011-11-16
Posts: 1000+

Re: Minecraftish game

Hmm...This seems real complicated. Perhaps you should request that someone make he script, then give you the link. I'd do it, but I'm swamped with other things right now.


Why are the secret organizations getting all the attention?  mad

Offline

 

#3 2012-05-30 14:44:11

zammer990
Scratcher
Registered: 2012-01-22
Posts: 500+

Re: Minecraftish game

You'd probably need a list, with a 4x4/9x9 number grid in it, and the values representing what item is there, it'd be set by 4/9 sprites or an X and Y detector and the "letter ()" block, then you just check if the lists value is equal to any item, and use broadcasts or variables to show it visually


http://i45.tinypic.com/2ynq7nn.jpg Play now!

Offline

 

#4 2012-05-31 12:25:19

infinite_minus_zero
Scratcher
Registered: 2010-02-18
Posts: 100+

Re: Minecraftish game

Have nine sprites. Set them up like a crafting table three by three. Have the named ct1, ct,2 etc.
Say you are making a door.
If.woodenplank is touching ct1and ct2 and ct4 and ct5 and ct7 and ct8 or ct2 and ct3and ct5 and ct6 and ct8 and ct9
show
Broadcast -6wp+1wd

And then in the wooden planks do
when I recieve -6wp+1wd
hide

$and the door
qhen I recieve -6wp+1wd
Show.

Its not too complicated, just quite time consuming.
Hope.it helps!

Offline

 

Board footer