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

#1 2011-04-24 23:36:03

TVflea
Scratcher
Registered: 2010-08-14
Posts: 1000+

something that has probably not been made in Scratch.

i don't know if this belong here so scratch team, if it doesn't, don't ban me like last time if it doesn't.

when you play a game, you are either playing as a default(already chosen for you)player or a player that you chose. what if you could change that. probably no one has done this but i'm willing. what if you could have one player that you could change the hair style, the color of the clothes, the gender, and the eye color.doesn't seem advanced?think of this, making it so you could choose four hair colors, four colors of clothes, four eye colors and two genders would take more than 120 costumes and over 150 scripts!

no one in scratch has made that feature in a game before so i'm wondering, how would you do that?
post your answer below.

please don't post "use interchangeable sprites hur hur hur"

Last edited by TVflea (2011-04-25 18:56:49)


-iNetMaster-'s not dead, get used to it. ! big_smile .
http://is.gd/YrQzXX

Offline

 

#2 2011-04-25 03:29:30

johnnydean1
Scratcher
Registered: 2010-02-12
Posts: 1000+

Re: something that has probably not been made in Scratch.

This should be in all about Scratch.

And I would just use the pen.


You can now reach me on Twitter @johnnydean1_

Offline

 

#3 2011-04-25 06:49:06

sparks
Community Moderator
Registered: 2008-11-05
Posts: 1000+

Re: something that has probably not been made in Scratch.

all about Scratch. Not really advanced. Use one sprite per changeable item. Then change costume/colour effect on each one - getting them all to follow one sprite.


http://img541.imageshack.us/img541/7563/scratchbetabanner.png

Offline

 

#4 2011-04-25 09:01:10

hello12345678910
Scratcher
Registered: 2009-07-11
Posts: 100+

Re: something that has probably not been made in Scratch.

Check this out: http://scratch.mit.edu/projects/hello12 … 10/1530381
Its a project i made that lets you draw your own character. it only runs in turbo speed, and provides nearly infinite combinations of pixels.


http://tinyurl.com/8yt32o9 http://tinyurl.com/6tgwp5r || Fish = F+I+S+H = 6+9+19+8 = 42<<The answer to Life, the Universe and Everything

Offline

 

#5 2011-04-25 09:55:26

TVflea
Scratcher
Registered: 2010-08-14
Posts: 1000+

Re: something that has probably not been made in Scratch.

hello12345678910 wrote:

Check this out: http://scratch.mit.edu/projects/hello12 … 10/1530381
Its a project i made that lets you draw your own character. it only runs in turbo speed, and provides nearly infinite combinations of pixels.

i meant character selection combinations like if you played a game, you would be able to change your hair color, your eye color, and you gender. not pen.(also, it's not a game)

Last edited by TVflea (2011-04-25 10:00:20)


-iNetMaster-'s not dead, get used to it. ! big_smile .
http://is.gd/YrQzXX

Offline

 

#6 2011-04-25 09:56:31

TVflea
Scratcher
Registered: 2010-08-14
Posts: 1000+

Re: something that has probably not been made in Scratch.

sparks wrote:

all about Scratch. Not really advanced. Use one sprite per changeable item. Then change costume/colour effect on each one - getting them all to follow one sprite.

true but how would i align them?


-iNetMaster-'s not dead, get used to it. ! big_smile .
http://is.gd/YrQzXX

Offline

 

#7 2011-04-25 09:59:38

TVflea
Scratcher
Registered: 2010-08-14
Posts: 1000+

Re: something that has probably not been made in Scratch.

johnnydean1 wrote:

This should be in all about Scratch.

And I would just use the pen.

that's alot of scripting and finding out the coordinates


-iNetMaster-'s not dead, get used to it. ! big_smile .
http://is.gd/YrQzXX

Offline

 

#8 2011-04-25 10:36:29

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: something that has probably not been made in Scratch.

So, as I'm understanding, you'd like to be able to change the looks of your player? You could easily do it with several sprites that all go to a central sprite (which could be a dot), and these sprites all have different rotation centers, adjusted so they blend together like one sprite. Then, you can allow the user to change the costumes for these sprites.

Offline

 

#9 2011-04-25 10:37:33

TVflea
Scratcher
Registered: 2010-08-14
Posts: 1000+

Re: something that has probably not been made in Scratch.

coolstuff wrote:

So, as I'm understanding, you'd like to be able to change the looks of your player? You could easily do it with several sprites that all go to a central sprite (which could be a dot), and these sprites all have different rotation centers, adjusted so they blend together like one sprite. Then, you can allow the user to change the costumes for these sprites.

true but that might be hard especially aligning them


-iNetMaster-'s not dead, get used to it. ! big_smile .
http://is.gd/YrQzXX

Offline

 

#10 2011-04-25 10:40:49

coolstuff
Community Moderator
Registered: 2008-03-06
Posts: 1000+

Re: something that has probably not been made in Scratch.

TVflea wrote:

coolstuff wrote:

So, as I'm understanding, you'd like to be able to change the looks of your player? You could easily do it with several sprites that all go to a central sprite (which could be a dot), and these sprites all have different rotation centers, adjusted so they blend together like one sprite. Then, you can allow the user to change the costumes for these sprites.

true but that might be hard especially aligning them

It just takes a bit of trial and error - it's been done before. Particularly in platformers, where there are sensors for each side, they all align to the center of the sprite.

Just sort of estimate, take a look, and make any changes that are necessary, and repeat. I'm afraid that's the minimum amount of work required to make this work, and it's been done before.

Offline

 

#11 2011-04-25 10:44:15

MoreGamesNow
Scratcher
Registered: 2009-10-12
Posts: 1000+

Re: something that has probably not been made in Scratch.

hello12345678910 wrote:

Check this out: http://scratch.mit.edu/projects/hello12 … 10/1530381
Its a project i made that lets you draw your own character. it only runs in turbo speed, and provides nearly infinite combinations of pixels.

Well, it is 20x21 pixels.  I thinks that means 420+(420*419)+(420*419*418)+(420*419*418*417)...

---------- Off Topic---------

Hey! I just found something out:
(10+(10*9)+(10*9*8)...(10*9*8*7*6*5*4*3*2*1 ) )/(10! )  =9864100/3628800=2.718281525...
Does that mean that the bigger number you plug in, the more accurate measure of E you get?

----------Off Off Topic--------------

And I'm sure I've seen a game that lets you chose different aspects of your character.  I just can't find it...

Last edited by MoreGamesNow (2011-04-25 10:44:41)


http://images2.layoutsparks.com/1/218929/rubiks-cube-animated-rotating.gif
"Cogito ergo sum" --  I think, therefore I am

Offline

 

#12 2011-04-25 14:35:45

TVflea
Scratcher
Registered: 2010-08-14
Posts: 1000+

Re: something that has probably not been made in Scratch.

MoreGamesNow wrote:

hello12345678910 wrote:

Check this out: http://scratch.mit.edu/projects/hello12 … 10/1530381
Its a project i made that lets you draw your own character. it only runs in turbo speed, and provides nearly infinite combinations of pixels.

Well, it is 20x21 pixels.  I thinks that means 420+(420*419)+(420*419*418)+(420*419*418*417)...

---------- Off Topic---------

Hey! I just found something out:
(10+(10*9)+(10*9*8)...(10*9*8*7*6*5*4*3*2*1 ) )/(10! )  =9864100/3628800=2.718281525...
Does that mean that the bigger number you plug in, the more accurate measure of E you get?

----------Off Off Topic--------------

And I'm sure I've seen a game that lets you chose different aspects of your character.  I just can't find it...

i didn't mean you drew the character


-iNetMaster-'s not dead, get used to it. ! big_smile .
http://is.gd/YrQzXX

Offline

 

#13 2011-04-25 15:21:34

MoreGamesNow
Scratcher
Registered: 2009-10-12
Posts: 1000+

Re: something that has probably not been made in Scratch.

Like this?

Last edited by MoreGamesNow (2011-04-25 15:23:06)


http://images2.layoutsparks.com/1/218929/rubiks-cube-animated-rotating.gif
"Cogito ergo sum" --  I think, therefore I am

Offline

 

#14 2011-04-25 16:40:02

TVflea
Scratcher
Registered: 2010-08-14
Posts: 1000+

Re: something that has probably not been made in Scratch.

MoreGamesNow wrote:

Like this?

yeah only you could see the sprite you were making


-iNetMaster-'s not dead, get used to it. ! big_smile .
http://is.gd/YrQzXX

Offline

 

#15 2011-04-25 18:39:42

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: something that has probably not been made in Scratch.

Really not that hard, to be honest. Just have a sprite for each changeable feature, have it switch to whatever costume you need, and go to the player position, just offset. It wouldn't even require that many scripts, depending on the project.


http://www.blocks.scratchr.org/API.php?action=random&amp;return=image&amp;link1=http://i.imgur.com/OZn2RD3.png&amp;link2=http://i.imgur.com/duzaGTB.png&amp;link3=http://i.imgur.com/CrDGvvZ.png&amp;link4=http://i.imgur.com/POEpQyZ.png&amp;link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#16 2011-04-25 18:56:05

TVflea
Scratcher
Registered: 2010-08-14
Posts: 1000+

Re: something that has probably not been made in Scratch.

Harakou wrote:

Really not that hard, to be honest. Just have a sprite for each changeable feature, have it switch to whatever costume you need, and go to the player position, just offset. It wouldn't even require that many scripts, depending on the project.

i don't WANT to do that. it's too hard!


-iNetMaster-'s not dead, get used to it. ! big_smile .
http://is.gd/YrQzXX

Offline

 

#17 2011-04-25 19:30:02

pika100chu
Scratcher
Registered: 2009-07-26
Posts: 500+

Re: something that has probably not been made in Scratch.

TVflea wrote:

Harakou wrote:

Really not that hard, to be honest. Just have a sprite for each changeable feature, have it switch to whatever costume you need, and go to the player position, just offset. It wouldn't even require that many scripts, depending on the project.

i don't WANT to do that. it's too hard!

Well there isn't really any other way.

Offline

 

#18 2011-04-25 19:46:10

TVflea
Scratcher
Registered: 2010-08-14
Posts: 1000+

Re: something that has probably not been made in Scratch.

pika100chu wrote:

TVflea wrote:

Harakou wrote:

Really not that hard, to be honest. Just have a sprite for each changeable feature, have it switch to whatever costume you need, and go to the player position, just offset. It wouldn't even require that many scripts, depending on the project.

i don't WANT to do that. it's too hard!

Well there isn't really any other way.

yes there is. first make all possible outcomes as costumes and then put in these scripts\/
http://fotos.fotoflexer.com/95e49b9fb9f134bf96b067324923053e.jpg
then make the same one for a boy

Last edited by TVflea (2011-04-25 19:46:23)


-iNetMaster-'s not dead, get used to it. ! big_smile .
http://is.gd/YrQzXX

Offline

 

#19 2011-04-25 21:24:12

soupoftomato
Scratcher
Registered: 2009-07-18
Posts: 1000+

Re: something that has probably not been made in Scratch.

Dude, sprite for each feature than make the center where you want them to "connect" and have them goto each other.

And then changing the features is the easy part.


I'm glad to think that the community will always be kind and helpful, the language will always be a fun and easy way to be introduced into programming, the motto will always be: Imagine, Program, Share - Nomolos

Offline

 

#20 2011-04-25 21:25:23

TVflea
Scratcher
Registered: 2010-08-14
Posts: 1000+

Re: something that has probably not been made in Scratch.

soupoftomato wrote:

Dude, sprite for each feature than make the center where you want them to "connect" and have them goto each other.

And then changing the features is the easy part.

no.


-iNetMaster-'s not dead, get used to it. ! big_smile .
http://is.gd/YrQzXX

Offline

 

#21 2011-04-25 21:26:12

Harakou
Community Moderator
Registered: 2009-10-11
Posts: 1000+

Re: something that has probably not been made in Scratch.

TVflea wrote:

pika100chu wrote:

TVflea wrote:


i don't WANT to do that. it's too hard!

Well there isn't really any other way.

yes there is. first make all possible outcomes as costumes and then put in these scripts\/
http://fotos.fotoflexer.com/95e49b9fb9f … 23053e.jpg
then make the same one for a boy

That is completely unnecessary; you could do it using much less code.


http://www.blocks.scratchr.org/API.php?action=random&amp;return=image&amp;link1=http://i.imgur.com/OZn2RD3.png&amp;link2=http://i.imgur.com/duzaGTB.png&amp;link3=http://i.imgur.com/CrDGvvZ.png&amp;link4=http://i.imgur.com/POEpQyZ.png&amp;link5=http://i.imgur.com/ZKJF8ac.png

Offline

 

#22 2011-04-25 21:30:22

archmage
Scratcher
Registered: 2007-05-18
Posts: 1000+

Re: something that has probably not been made in Scratch.

Harakou wrote:

Really not that hard, to be honest. Just have a sprite for each changeable feature, have it switch to whatever costume you need, and go to the player position, just offset. It wouldn't even require that many scripts, depending on the project.

This is the best way and the way it is done in commercial games. 1 sprite per character part, one script per sprite. This kind of thing is pretty basic.

Last edited by archmage (2011-04-25 21:31:02)


Hi, I am Archmage coder extraordinaire. I do Scratch,pascal,java,php,html, AS2 and AS3. Leave me a message if you want coding advice. Also check out my personal website, lots of good stuff about web development, Flash, and Scratch (v1 and v2) !

Offline

 

#23 2011-04-25 21:31:18

TVflea
Scratcher
Registered: 2010-08-14
Posts: 1000+

Re: something that has probably not been made in Scratch.

Harakou wrote:

TVflea wrote:

pika100chu wrote:


Well there isn't really any other way.

yes there is. first make all possible outcomes as costumes and then put in these scripts\/
http://fotos.fotoflexer.com/95e49b9fb9f … 23053e.jpg
then make the same one for a boy

That is completely unnecessary; you could do it using much less code.

i have no free time. today, i spent my time tagging all the projects on the front page with "i hate TVflea"


-iNetMaster-'s not dead, get used to it. ! big_smile .
http://is.gd/YrQzXX

Offline

 

#24 2011-04-25 21:43:30

TVflea
Scratcher
Registered: 2010-08-14
Posts: 1000+

Re: something that has probably not been made in Scratch.

soupoftomato wrote:

Dude, sprite for each feature than make the center where you want them to "connect" and have them goto each other.

And then changing the features is the easy part.

it's possible, go here to my test account.


-iNetMaster-'s not dead, get used to it. ! big_smile .
http://is.gd/YrQzXX

Offline

 

#25 2011-04-25 21:44:17

Kileymeister
Scratcher
Registered: 2008-04-17
Posts: 1000+

Re: something that has probably not been made in Scratch.

TVflea wrote:

soupoftomato wrote:

Dude, sprite for each feature than make the center where you want them to "connect" and have them goto each other.

And then changing the features is the easy part.

it's possible, go here to my test account.

It's possible, but not as practical.  But by all means, have it your way.  There's no "correct" way of doing it.

Last edited by Kileymeister (2011-04-25 21:44:56)


I'm back, and showcasing two new* projects!  Click left or right on the image below to see!
http://img109.imageshack.us/img109/7905/part1l.pnghttp://img859.imageshack.us/img859/6417/part2bf.png

Offline

 

Board footer