That's right, I'm quitting being lazy. I've started on my first game, but I've hit a snag already. I have all the sprites, courtesy of 'Lord Sprites', and I have all the programming figured out in my head. All except for one thing. Y'see, I thought the stamp tool would create duplicates of a single sprite, so I made this square tile thing move around the screen, stamping itself 81 times on a 9 by 9 grid. I even went ahead and made selecting the square become an option, rolling the dice an option, and getting a random tile an option. But then when I tried it out, I found that only the one single square sprite that I stamped all over the place had been the only thing affected and was the only actual sprite. What can I do to fix this? Would I have to individually duplicate the 81 sprites myself?
It's quite a show when the tile stamps itself all along the board, but I'm afraid it's utterly useless. Except maybe if it was some introduction sequence.
Offline
lol, brilliant piece of malaprop there! I thought you had quit scratch.
I just had to congratulate you on that.
Offline
store each tiles coordinates in a list. you can make the stamper go to the coordtinates when they need to be moved. or you could do the super easy way and put all of the tiles in one sprite if they all need to be moved together.
Offline
BWOG wrote:
I bet this is a publicity stunt.
did you even read what Ace wrote? It has nothing to do with quitting, it was a joke!
Offline
You know, I'd consider you(ace of spades) what I call a:
Forums Publicity Posts Speeder
Which basically means you are going on the forums quite a bit. Yet you don't have any projects. Why is that?
Offline
Kileymeister wrote:
BWOG wrote:
I bet this is a publicity stunt.
did you even read what Ace wrote? It has nothing to do with quitting, it was a joke!
QFT Heehee...Ace got me scared when I saw the title.
Offline
Yeah I am also quitting... at being lazy. I am ashamed to call myself archmage and not even know any magical spells. I am going to stop being lazy and drop out of school and devote my life to magical studies.
Offline
archmage wrote:
Yeah I am also quitting... at being lazy. I am ashamed to call myself archmage and not even know any magical spells. I am going to stop being lazy and drop out of school and devote my life to magical studies.
Since when do you not know any magic spells?
Offline
archmage wrote:
Yeah I am also quitting... at being lazy. I am ashamed to call myself archmage and not even know any magical spells. I am going to stop being lazy and drop out of school and devote my life to magical studies.
Learn the new Fireblast at level 92 XD
Offline
cocoanut wrote:
I'm starting to like this Ace of Spades guy.
Same here!
@Archmage: Learn tricks first, illusions, spells. There you go!
Offline
archmage wrote:
Yeah I am also quitting... at being lazy. I am ashamed to call myself archmage and not even know any magical spells. I am going to stop being lazy and drop out of school and devote my life to magical studies.
I hear card tricks are a hoot at parties.
Last edited by Kileymeister (2010-01-12 21:14:24)
Offline
Penguinsrock wrote:
cocoanut wrote:
I'm starting to like this Ace of Spades guy.
Same here!
@Archmage: Learn tricks first, illusions, spells. There you go!
WHAT?!! WHAT?!! SOMEONE CALL ME???!!! WHAT??!!
Offline
Uh so about the problem...?
Offline
Here's a screenshot of the game:
Offline
Ace-of-Spades wrote:
Here's a screenshot of the game:
http://img705.imageshack.us/img705/2053 … rdgame.png
Have you done Scratch before?
Offline
No, first time using Scratch.
Storing the coordinates? Would that be like if I click somewhere, the sprite automatically flies to that zone? That's impossible as the tiles have to interact with each other.
Offline
<when green flag clicked>
<forever>
<clear>
<go to x . )y .)>
<stamp>
<go to x . )y .)>
<stamp>
<go to x . )y .)>
<stamp>
<go to x . )y .)>
<stamp>
<go to x . )y .)>
<stamp>
<go to x . )y .)>
<stamp>
<go to x . )y .)>
<stamp>
<go to x . )y .)>
<stamp>
<go to x . )y .)>
<stamp>
This is ur stamping script that you should use
Offline
game_freak42_test wrote:
<when green flag clicked>
<forever>
<clear>
<go to x . )y .)>
<stamp>
<go to x . )y .)>
<stamp>
<go to x . )y .)>
<stamp>
<go to x . )y .)>
<stamp>
<go to x . )y .)>
<stamp>
<go to x . )y .)>
<stamp>
<go to x . )y .)>
<stamp>
<go to x . )y .)>
<stamp>
<go to x . )y .)>
<stamp>
This is ur stamping script that you should use
Ace of spade's problem is getting the detection right. The stamping is already there.
That's what I understand from reading this, tell me if I'm wrong.
Offline
Penguinsrock wrote:
cocoanut wrote:
I'm starting to like this Ace of Spades guy.
Same here!
@Archmage: Learn tricks first, illusions, spells. There you go!
But acrchmage is NOT illousinist!
Offline
One approach would be as you hinted...making 81 different sprites. That would be kind of tedious I expect but it would work. Be aware that you can duplicate sprites multiple times by holding down Shift key while clicking on the sprite with the duplicate tool. So if you can make the script identical on each sprite, it's pretty easy to crank out 80 copies. The Shift key also works with the scissors to help you delete a group of sprites.
So it could probably be done that way...if you elect to go that route, start with a smaller layout and extensively test the scripts...you don't want to have to go through that sprite duplication routine more than once!
It's also very possible that the entire project can be done with a single sprite and stamping, depending on what kind of interaction needs to happen between tiles. You can easily determine which square the user is attempting to interact with from the mouse coordinates...the rest of the program data maybe can be stored in lists indexed by the tile positions. Without knowing more about the game I really can't say if that approach makes sense. But I would certainly give it some thought before going down the 81 sprite route
Offline