Creative topic name.
And for your problem I would suggest Paddle2See's method, because storing data for around 80 tiles and reading it all in one script would get REALLY complicated and slow REALLY fast.
Offline
Maybe you should give us a bit more information about the game.
Offline
Thank you Paddle, I'll try it out. This is how the game will work (as to clear up any misunderstandings)
The point of the game is to get the treasure tiles. The more you get, the more points there will be at the end. In an extremely impossibly lucky case, you can get 81 treasure tiles. You flip tiles by rolling the dice, then choosing that many tiles to flip (they will become highlighted red) and then they will flip once you've chosen the same amount as the dice roll. The skull tiles hurt you. You can be hurt with a skull tile up to 5 times. The medic cross tile does the opposite of the skull tile. If you die, it's game over (as you could probably guess).
There are normal blank tiles which do nothing. The Spade tiles revert the 4 tiles touching it into face down position, and randomize the results. The Crescent Moon tiles affect the tiles around it as well, but instead of randomizing the tiles, it changes them into their opposite tile (Skull into Medic Cross, Dragon into Eye, Treasure into Blank, Spade into Crescent Moon, and vice versa).
The dragon tile force flips every single tile around it, and activates them. The Eye tile flips every piece around it as well, but it doesn't activate them, it just let's you see what they are. After about 10 seconds, they flip back (it's not advised you do anything until they flip back).
The programming is pretty much clear how I'm going to make it, but if I run into any problems, I'll post for help here.
Offline
Ace-of-Spades wrote:
Thank you Paddle, I'll try it out. This is how the game will work (as to clear up any misunderstandings)
http://img189.imageshack.us/img189/5299/acegame.png
The point of the game is to get the treasure tiles. The more you get, the more points there will be at the end. In an extremely impossibly lucky case, you can get 81 treasure tiles. You flip tiles by rolling the dice, then choosing that many tiles to flip (they will become highlighted red) and then they will flip once you've chosen the same amount as the dice roll. The skull tiles hurt you. You can be hurt with a skull tile up to 5 times. The medic cross tile does the opposite of the skull tile. If you die, it's game over (as you could probably guess).
There are normal blank tiles which do nothing. The Spade tiles revert the 4 tiles touching it into face down position, and randomize the results. The Crescent Moon tiles affect the tiles around it as well, but instead of randomizing the tiles, it changes them into their opposite tile (Skull into Medic Cross, Dragon into Eye, Treasure into Blank, Spade into Crescent Moon, and vice versa).
The dragon tile force flips every single tile around it, and activates them. The Eye tile flips every piece around it as well, but it doesn't activate them, it just let's you see what they are. After about 10 seconds, they flip back (it's not advised you do anything until they flip back).
The programming is pretty much clear how I'm going to make it, but if I run into any problems, I'll post for help here.
Sounds brilliant. Can't wait to play.
Offline
I finished the game. Well, sort of. I've decided to duplicate the sprite 81 times which is half an hour's work altogether (I don't know how to use that shift thing paddle said to clone more than one copy of the sprite). Before that, I have to set up some kind of script on the first tile to make it spread around the board, so I don't have to. Then after the cloning, I have to test out the game basics and stuff.
Lastly, I need a bunch of sounds. A money cha-ching noise for finding trasure, some kind of evil laugh for skulls, a dragon roar for dragons, a blinking sound for the eye, some kind of glowing sound for the cross, a wolf howl for the moon, and a swish/thud type noise for spades. I also need some kind of swooshing noise for the flipping tile.
Well, actually the sounds should come first. I just remembered to mention them last.
Offline
THE GAME IS COMPLETE! And it works (sort of)!
http://scratch.mit.edu/projects/Ace-of-Spades/843437
There are many notable glitches. For example: you can't win. I forgot to make this part. And I've never lost before, so I have no clue what happens then either. Probably nothing, as I've forgotten to make a Game Over script. Also one of the 4 activation tiles (dragon, eye, spade, and moon) just doesn't work every time. It's like they met up in secret and each decided to take a break every 4 games.
The sound effects also aren't perfect, but it was all I could find in the scratch folder. I'd much rather have a roar for the dragon, but the rest seem to work nicely.
Offline
Ace-of-Spades wrote:
THE GAME IS COMPLETE! And it works (sort of)!
http://scratch.mit.edu/projects/Ace-of-Spades/843437
There are many notable glitches. For example: you can't win. I forgot to make this part. And I've never lost before, so I have no clue what happens then either. Probably nothing, as I've forgotten to make a Game Over script. Also one of the 4 activation tiles (dragon, eye, spade, and moon) just doesn't work every time. It's like they met up in secret and each decided to take a break every 4 games.
The sound effects also aren't perfect, but it was all I could find in the scratch folder. I'd much rather have a roar for the dragon, but the rest seem to work nicely.
I noticed that what the eye shows is a lie. :S
Offline
the cake is a lie!!!!!!!!!!!!!!
Offline
FantasyTales wrote:
lol like i said up there, store the coordinates.
hey, how would you do that? You should include a step by step instruction (which I would do if I knew how to do this)
Offline
he means like have 'go to x 120 y 130' or whatever in each sprite, but doing that 81 times would kill you. or it could also be having a shifting variable as x and another for y which then somehow travels all over the page. but the one ace made works fine too, and it is easier to program.
Offline
It seems a bit ironic:
"It's finished! But there is a problem. You can't win. And I haven't added a game over script."
^_^
Great game though!
Offline
i thought you just keep playing until your eyes fall out or something
Offline
Close. You keep playing until you beat my high score of 45000 points.
Offline
Ace-of-Spades wrote:
Close. You keep playing until you beat my high score of 45000 points.
It's not that hard since you can't die
Offline
LOL your first year, and already leaving bye!
Offline
Uhh.. Did you read anything at all in here?
Offline