PDA

View Full Version : Interactive Graphics in Flash!


theneedforsex
11-30-2004, 06:37 AM
Hi, im an 14 year old programmer (riiiiiight 8) ), and i still need to learn.
In Flash, i seem to have a lack of knowledge when it comes to graphics.
Well, im bad at drawing, but that aint the problem .

what i wanna do is to, for example:
Make a man in a platform game. You can give him two diffirent outfits. then in a level, the clothes have to stay on him and with some expressions be changed to the other... I know its possible, but how?
thanks!

arkhan
11-30-2004, 09:25 AM
I didnt understand what you are trying to do..

Nexus
11-30-2004, 03:43 PM
So basically, the user can select which clothes that the person wears, and then for each successive level that person is wearing the same outfit? Or does it change each level?

You'd have to create a different garment for each part of the body, or just have a select few different people that have all the same animations and such but different clothes.

There are so many ways you could do this I'm not sure where to start. What exactly are you trying to create?

c00lryguy
11-30-2004, 04:11 PM
nice to know a programmer, but then again i was coding vb at 10

how about when you click an outfit, the clothes on him change

for that you would make 2 frames one with him in one outfit, in the second another outfit

then in the button to switch outfits put this code:


gotoandstop(2){


that might help...maybe

Bodadem
11-30-2004, 09:20 PM
Have the clothes on seperate frames of a MC. Then just have it somewhere so that if variable "clothes" is 1, it's one colour/style... If variable "clothes" is 2, it's another colour/style..And then just make the button where you choose switch the variable..

theneedforsex
12-01-2004, 02:38 AM
hey,
well, the last reply was good. I'll try it when i get home :D
To other users: i'm trying to make a car game.
You have the main stage, with an arrow in each side.
A car on a layer in the background. Then when you push the arrow a diffrient body kit is put on the car.
THen in a level, you can see the effects of your choise. That meaning you don't have to make to kind of levels, with all new animations!
Did that make it more clear? :D

it's because, i dont wanna spend hours of time, drawing the same person with diffirient clothes, its just to much unnecesary work. When i know its possible to do it another way!

Again THANKS!

theneedforsex
12-01-2004, 02:41 AM
By the way, coolrygyu:
That is way to simple! haha... :D
but i wasnt expressing myself clearly enough

Swas
12-01-2004, 07:10 AM
obviously your gonna have to draw the clothes on top of the person on the frames make it a movie clip which runs in time with your main character above then couldnt you make 2 buttons and in number 1 (maybe to get red clothes)

red :
_root.red._visible = true;
_root.blue._visible = false;


then in a second mc instance name blue,
blue :
_root.blue._visible = true;
_root.red._visible = false;


just a suggestion [/code]

theneedforsex
12-01-2004, 07:36 AM
Okay swas, sounds bright... I'll give it a try :D

Swas
12-01-2004, 11:20 AM
doubt it :p , glad you could understand what i said because i cant.

theneedforsex
12-02-2004, 03:55 AM
Hey.. I tried the one with the variables...
Did'nt work...

Ill try the other! :D