• Global community
    • Language:
      • Deutsch
      • English
      • EspaƱol
      • FranƧais
      • PortuguĆŖs
  • ę—„ęœ¬čŖžć‚³ćƒŸćƒ„ćƒ‹ćƒ†ć‚£
    Dedicated community for Japanese speakers
  • ķ•œźµ­ ģ»¤ė®¤ė‹ˆķ‹°
    Dedicated community for Korean speakers
Exit
1

How do make animate cc assemble a avatar in memory

Participant ,
Oct 26, 2023 Oct 26, 2023

Copy link to clipboard

Copied

i have a very old set of game files thats been baffling me for ages how they did this and wondering if anyone has any insights how the as3 code works.

i am looking at this code due to how elegant it , but over time the  actionsript f files that combined them all are long lost and this is the missing step i need to use

this method for my own projects. 

 

This thing loads 400 character files /9 species and they fit into ONE wireframe and have no less than 16 types of clothing. i got as far as being able to in the TIMELINE being able to assemble them by dropping and replacing assets but the as3 code is baffling me how its done.

 

here is how the files are setup: 

character file->wireframe

16 pieces of clothing->wireframe

the files themselves are as follows

wireframe has NOTHING but placement data on it 

character file has nothing but limited cell animation pieces

all characters have their pieces in one place as far as i can tell(i can if i name them the as3 name they will combine perfectly) 

 

as3 names match for wireframe and character files

clothing pieces match as3 names in the wireframe 

 

its glued together by a sql script that has things like color+species and then files for the clothing

are literally stored at example var1 (website)/ + var2 +var3 and for instance a yellow dog is 

sitename/yellow/Dog/YellowDog.swf 

i have not found the exact path for the clothes but its the same concept

 

 

 

i don't think this is method is copyrghted as its not a unique concept but just seems like its not hitting me how they got in the memory of flash to get it to work. the last time i tried i had to extract the files into

their own swfs and place the x and y data manually on the wireframe as a separate layer for every piece, im clearly missing something.

oh all the character files also are ONE swf, so im assuming this may be a adobe air loader doing this not the normal one as  i believe that can load one symbol from a swf vs the 

whole file.

 

 

 

TOPICS
ActionScript , Code , How to

Views

499

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 27, 2023 Oct 27, 2023

Copy link to clipboard

Copied

Hi.

 

It's really hard to tell what's really going on without seeing the FLAs and/or SWFs.

 

Do you mind sharing a link?

 

Regards,

JC

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Oct 27, 2023 Oct 27, 2023

Copy link to clipboard

Copied

this is the game im using as a reference file to this method of avatar development.

its been closed for many many years....2014 exactly. IF you rename the "name" to the as3 class name and drag them into the wireframe, they assemble perfectly. ive not got past this point and know what the sql server did was have two varables "blue" and the "species" it would like to put this method in my toolkit to its efficency., its been bugging me forever as its like i can see the result

manually...but can;t see how the code worked. theirs also no no less than 16 types of clothing so its a nice example to

look at as well.

 

https://web.archive.org/web/20130312000000*/http://www.petpetpark.com/games/versionedAssets/startup_...

https://web.archive.org/web/20130312193347/http://www.petpetpark.com/games/assets/itemSwfs/NewSpecie...

there is 3 other avatar files and all load into that same wirreframe. this why im trying to figure how it was done.....as

this method also looks usable in html5....if i can figure how they did it.

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 27, 2023 Oct 27, 2023

Copy link to clipboard

Copied

i don't see any fla files or as3 files.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Oct 27, 2023 Oct 27, 2023

Copy link to clipboard

Copied

i had to make a fla using jpexs extractor to get into these.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 27, 2023 Oct 27, 2023

Copy link to clipboard

Copied

ok

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Oct 27, 2023 Oct 27, 2023

Copy link to clipboard

Copied

wireframescreenshot.pngred_oukin.jpg.png

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Oct 27, 2023 Oct 27, 2023

Copy link to clipboard

Copied

the top one is ONLY position data, the bottom is only graphics and they have the same as3 names so my first assumption was they *replaced* the pieces but i checked 5 as3 books and nothing explains how to do this.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Oct 27, 2023 Oct 27, 2023

Copy link to clipboard

Copied

what make me wonder so much about this code is how *efficent* this thing is for what it does. im pretty sure its good programming and not tied to one company but none of the books on as3 coding i have mention this which is

rather specific to flash mmos id have to say, but looks to have so many other uses.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 27, 2023 Oct 27, 2023

Copy link to clipboard

Copied

Thanks for the files and info.

 

I could see the character assembled and walking but not the actual game.

image.png

 

Can you show us the game running so that we have an idea of what type of avatar making you're talking about?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Oct 27, 2023 Oct 27, 2023

Copy link to clipboard

Copied

you got the problem solved that was puzzling me. what did you do to make it load the files?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Oct 27, 2023 Oct 27, 2023

Copy link to clipboard

Copied

as for the maps none were saved in the archive. it was closed in 2014 but maps someone did save but their not animated at all, just stills. this is the skill i wanted to put in my toolkit as that game had 400 avatar files that loaded exactly as that one did and enough clothes to make hello kittys closet look small. this is a useful thing to keep around for many things like big slideshows, etc where i want to keep a single layout and display hundreds of

things. it would of sat right behind the walking pet and had a table taht told it where it could/could not walk.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Oct 27, 2023 Oct 27, 2023

Copy link to clipboard

Copied

video of the game when it was around. https://www.youtube.com/watch?v=0sx9AXhb-r0&t=260s.

they didnt even pay for its domain a year after tis closed and im pretty all the devs are long gone. reason i wanted to

know how this one worked was it was the most in depth game as far as avatars went.....learn from the best šŸ™‚

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 27, 2023 Oct 27, 2023

Copy link to clipboard

Copied

I decompiled both SWFs using JPEXS, renamed the symbols in both FLAs using @Vladin M. Mitov's script and then copied and pasted the library symbols from BLUE_Dipni.fla to the library of WireframeLibrary.fla.

 

Then I just used the Test command in the WireframeLibrary.fla.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 27, 2023 Oct 27, 2023

Copy link to clipboard

Copied

I have a very simple avatar making example in this link:
https://github.com/joao-cesar/adobe/tree/master/animate%20cc/as3/character_creator

 

I'm not sure if it will be helpful though.

 

But I can make a sample later on of a an animated avatar creator if needed. I just cannot guarantee anything because my time is very limited.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Oct 27, 2023 Oct 27, 2023

Copy link to clipboard

Copied

Also, if you want, join the Ruffle's Discord server and ask for help in the #flash-games or #flash-development channels.

 

People there know a lot about old Flash games.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Oct 27, 2023 Oct 27, 2023

Copy link to clipboard

Copied

i asked there a while back and also assist anothr flash group on the park stuff if it needs it(mostly avatar stuff). so far  there is rebuild efforts not in flash, take a look at all the spaces the left fo clothes in this one, i mean these things are

like those airport travelers that wear all their luggage šŸ™‚

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Oct 27, 2023 Oct 27, 2023

Copy link to clipboard

Copied

LATEST

if you look at the forum with that script, you'll see why im trying to get the code. i already know how to get nearly 100 of the color bottles rebuilt by color

swapping but....i don't want 100 wireframes obviously.

 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Oct 27, 2023 Oct 27, 2023

Copy link to clipboard

Copied

oh totally understand this one. what they did was ran a sql server that literally passed the following to the

loader(s) it looks like var 1-"blue", var2-"dipni" and it grabbed it out of a very specifllly named folder and the file was named the same thing. this is the elegence that im in awe at and totally confused on how it was done.

the problem before, i tried a general loader, it loaded  like a webpage....the only time i got a loader to do this so far was under apache flex(formely flash builder?) and manaully pasted a x and y coordianate in the wireframe. why flex? it had a feature to pull one symbiol from a swf in one of my as3 books.

allow loading ONE symbol out of a swf.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines