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

#1 2012-09-08 11:35:50

Andrew111
New Scratcher
Registered: 2012-09-08
Posts: 6

Need help getting started with "game move maker"

Hi all,

After trying to find an app or program to do what I need, but haven't found one yet so figured I may be able to do it in Scratch!

Anyway, I originally looked for a manual/user guide that was comprehensive - is there one?   smile  Ok, on to what I'm trying to achieve.

Basically, I am designing a few board games and rather than using paper cards and dice, I want to simulate them. I'd love to be able to show an image with each as it comes up if possible.

Ideally, I'd like to be able to do 2 main things:

1) create a list of any number of named "cards" or "die faces", e.g.

"Spring, Summer, Winter, Fall"

Or
"1, 2, 2, 3, 3, 4, stop, go"

Or even a standard deck of cards. I'd like to assign a quantity to each item in the list.

2) randomly choose from the list and display the results (pictures would be great if possible. I can easily create all needed graphics.)

3) subtract 1 from the quantity value assigned from each

4) choose randomly again from the remaining quantities.

An important bonus would be if I can tally how many of each list item I've used so that I can tweak the gameplay.

Any suggestions for where to get started/tutorials would be greatly appreciated!

Thanks,
Andrew

Offline

 

#2 2012-09-08 11:43:10

Firedrake969
Scratcher
Registered: 2011-11-24
Posts: 1000+

Re: Need help getting started with "game move maker"

Try the wiki.
Right now I can't help, but wait about 5 minutes and someone will come along.


Click the sign.
https://s3.amazonaws.com/eterna/eterna2/logo2.png

Offline

 

#3 2012-09-08 13:13:38

Andrew111
New Scratcher
Registered: 2012-09-08
Posts: 6

Re: Need help getting started with "game move maker"

Ok, having a look. Thanks.

Offline

 

#4 2012-09-09 03:18:42

fg123
Scratcher
Registered: 2008-11-13
Posts: 1000+

Re: Need help getting started with "game move maker"

Multidimensional lists aren't available in scratch, but you can easily do the same with 2 lists. Have a list called Cards, and a list called Quantity, then when you display a random card, just select a random list item from cards, check if the corresponding entry in Quantity is above 1, then display it, then subtract 1 from the Quantity list. It's usually best to draft out a basic engine in Scratch, before adding in the graphics, so for now, you could have the scratch cat saying what card is drawn, or whatever, before you add in all the graphics.

Generally, this makes game programming more simple to debug and fix.


Hai.

Offline

 

#5 2012-09-09 20:55:56

drakebr
New Scratcher
Registered: 2012-09-09
Posts: 1

Re: Need help getting started with "game move maker"

I have the same problem, I´m new here and trying to start game move maker. I´m looking wiki now !
Thanks

Offline

 

#6 2012-09-10 23:01:30

Andrew111
New Scratcher
Registered: 2012-09-08
Posts: 6

Re: Need help getting started with "game move maker"

Progress so far.

Use "R" to reset values and space bar to start.

Offline

 

#7 2012-09-10 23:30:10

Andrew111
New Scratcher
Registered: 2012-09-08
Posts: 6

Re: Need help getting started with "game move maker"

Oops.. how do I edit a post?

Anyway...

Cards are the types of cards in a deck, Count is how many of each there are.

http://scratch.mit.edu/projects/Andrew111/2773427

Offline

 

#8 2012-09-11 00:24:29

kayybee
Scratcher
Registered: 2009-12-07
Posts: 1000+

Re: Need help getting started with "game move maker"

I can help you tomorrow, or you can try to figure it out with this:

I see you've gotten the random part down: or do you?

But once you have the part to put it in a list, you have to then wait for the player to "draw a card", and remove it from the list, and add one to that count. Make sure it automatically redraws/shuffles when the list is empty

What you can do is: just give the cards number from 1-8, and just make the costume match for each one, because since ice is 1, the costume number for ice should be 1. do you get it?

If not, just give me the graphics and I can help you tomorrow.

Offline

 

#9 2012-09-11 08:45:49

Andrew111
New Scratcher
Registered: 2012-09-08
Posts: 6

Re: Need help getting started with "game move maker"

hi kayybee -

Yeah, I think I just have to learn how to show/hide sprites. Ran out of time last nite...

Also wish I could make the programming area and stage bigger.

One thing that would be a big help: being able to total values in a list!

cheers
Andrew

Offline

 

#10 2012-09-11 19:18:20

kayybee
Scratcher
Registered: 2009-12-07
Posts: 1000+

Re: Need help getting started with "game move maker"

To total values in a list, just go:

when green flag clicked
set [count v] to (1)
set [variable v] to (0)
repeat (length of [list v])
change [variable v] by (item (count) of [list v])
change [count v] by (1)
end
And, there is a block for hiding and showing, under looks:

show

hide

Last edited by kayybee (2012-09-11 19:19:56)

Offline

 

Board footer