I'm trying to make a turret defense game with scratch. sorda like xeno tacttics if youve played it. I want to know if any one knows how to scale your stage so it's in incraments that work better for your project. And if Any one knows how to grid the stage with out drawing on all the those lines. Another thing about the drawing is their a way to make it like draw a circle like if you give it the information like the radius and stuff?
Last edited by Mushroom (2007-10-31 12:05:09)
Offline
Hi, Mushroom.
You can have one sprite appear in multiple places at once and you can't make new copies of sprites during game play. However, you can have a bunch of hidden sprites and you can make these "show" at the right moment, so they look like they have just been created.
The size of the "stage" area cannot be changed. But you can use "presentation mode" to make it fill your screen. Just press the button on the left side below the stage.
You might be able to write a script that uses the pen to draw the lines and circle on the stage.
-- John
Offline
Ok thanks, but for the hidden sprite thing is im trying to make a turret defense game, you know you build your turrets and waves come through, and i want it to be so the click one sprite then another will apear and go to where the mouse is and then they click again or something and it drops. If i do the hidden sprite thing I'll have to have like a million sprites like every where its possible for them to place one. won't it bogg down my program. Also are all the commands in the program the only one's there are or can you download more. And is their a way to draw a cirlce with the pen like "draw circle".
Last edited by Mushroom (2007-11-01 11:48:15)
Offline
You only need as many sprites as are visible at one time.
Offline
That would be a pretty cool game to make, and I don't know of anything that would prevent you from emulating it pretty well in Scratch. It WOULD be a bit ambitious, so it could be a lot of work, just start simple, maybe two turrets of one type, and a single enemy (or maybe two) trying to run the blockade.
You can have a sprite start in a "tray" or pick area, and when it is clicked, have it follow the mouse cursor until "mouse click" happens again. As soon as it is picked, you could have another sprite (just like the first, but a separate sprite) take its place (show) in the pick area. You have to have multiple sprites, but they can be pretty much identical except for their name. So; once you get the turret acting the way you want, copy the turret sprite and start working on how to do "pick and place" action. You may want to look at some games that use multiple bullets (those are usually identical sprites) and see how these are handled to get some ideas.
Offline