Discuss Scratch

Griftor05
Scratcher
13 posts

Help with a draw-your-own components kind of game

Hi, I'm trying to make a game where you can draw your own space ship, part by part (head, body, and rocket engine), then you can use that ship in game. I have a good idea on how to do the rest of the game, I just need to know how to make something you draw in game into a sprite. Any advice will help. Thanks!
dracae
Scratcher
1000+ posts

Help with a draw-your-own components kind of game

I feel like this should be in requests, but whatever, let's get back on topic.
Doing this Draw-Your-Own component is very difficult.
There's 2 ways, one of which is simple, but is VERY limiting.
I will explain the simple way:
Have the pen tool, and have the player draw the ship.
Next, have EVERYTHING ELSE be scrolling.
By doing this, you will not really need to have the pen-drawn figure move.
Hope I helped!

Griftor05
Scratcher
13 posts

Help with a draw-your-own components kind of game

Oh well… Thanks for the help!
dracae
Scratcher
1000+ posts

Help with a draw-your-own components kind of game

Griftor05 wrote:

Oh well… Thanks for the help!
You're welcome…
If you want to hear the terrifyingly difficult way, just ask.
BEWARE! It involves having costumes of EVERY. POSSIBLE. COMBINATION. OF. THE. SHIP.
D:

mwiedmann
Scratcher
100+ posts

Help with a draw-your-own components kind of game

You could have a bunch of different ship “pieces” that the player can put together using the mouse. They would be given a starting “body” that they have to attach the pieces to. When dropping a piece on the body, the piece would record its x/y distance from the body. Each piece would be a sprite, so when the game starts, each piece would just move to a location on the body (using the x/y distance it captured earlier). All the pieces they didn't use would just be hidden.

Maybe the more pieces they use the ship gets stronger but also slower. Adding more guns gives more firepower, and more engines makes it faster, but both of these drain the fuel more quickly. All kinds of things you can do here.

Not the same as drawing it, but there could be something here.
dracae
Scratcher
1000+ posts

Help with a draw-your-own components kind of game

mwiedmann wrote:

You could have a bunch of different ship “pieces” that the player can put together using the mouse. They would be given a starting “body” that they have to attach the pieces to. When dropping a piece on the body, the piece would record its x/y distance from the body. Each piece would be a sprite, so when the game starts, each piece would just move to a location on the body (using the x/y distance it captured earlier). All the pieces they didn't use would just be hidden.

Maybe the more pieces they use the ship gets stronger but also slower. Adding more guns gives more firepower, and more engines makes it faster, but both of these drain the fuel more quickly. All kinds of things you can do here.

Not the same as drawing it, but there could be something here.

Oooh, it's like that upgrade complete game or whatever, I forgot the name.
This way could work too.
As of now, at least, Draw-Your-Own-Character types of games are fairly limited.

Tezliov
Scratcher
71 posts

Help with a draw-your-own components kind of game

You could make a list remember where they drew and have it constantly draw/render it when they move.
Here's an example: http://scratch.mit.edu/projects/10729924/

Last edited by Tezliov (June 8, 2013 15:20:42)


xlk
Scratcher
100+ posts

Help with a draw-your-own components kind of game

it makes zig-zag lines, as it moves vertically and horizontally seperatly. Use the “go to x) y)” block instead…

Tezliov
Scratcher
71 posts

Help with a draw-your-own components kind of game

xlk wrote:

it makes zig-zag lines, as it moves vertically and horizontally seperatly. Use the “go to x) y)” block instead…
It was just a quick example. Fixed though. Thanks.

Last edited by Tezliov (June 8, 2013 16:52:57)


dracae
Scratcher
1000+ posts

Help with a draw-your-own components kind of game

Tezliov wrote:

xlk wrote:

it makes zig-zag lines, as it moves vertically and horizontally seperatly. Use the “go to x) y)” block instead…
It was just a quick example. Fixed though. Thanks.
Wow, that's AWESOME!
I would've never though of that!
That's really cool!

Powered by DjangoBB