Welcome!

Join our community of MMO enthusiasts and game developers! By registering, you'll gain access to discussions on the latest developments in MMO server files and collaborate with like-minded individuals. Join us today and unlock the potential of MMO server development!

Join Today!

[JS] Avatargenerator from scratch [only JS]

pel

Skilled Illusionist
Joined
Jan 27, 2012
Messages
382
Reaction score
343
Hey.

I coded an Avatargenerator the last few days.
This works with Javascript - only Javascript. There is no library like jquery or prototype.

Livepreview:
Download:

Cya,
 
Newbie Spellweaver
Joined
Jan 11, 2015
Messages
15
Reaction score
0
Awesome work man. Looks sweet, even though it isn't in english.
 
Hakuna Matata
Joined
Sep 5, 2012
Messages
804
Reaction score
137
background-position-x & background-position-y isn't supported by Firefox. For Firefox support as well, replace it with background-position.

Change
Code:
background-position-y: -20x;
background-position-x: center;
to
Code:
background-position: center -40px;

Great release, thank you :).
 
Still alive.
Loyal Member
Joined
Apr 13, 2013
Messages
1,145
Reaction score
886
Good work Phil. I will use this I think.

Greetz + Like & Rep.
 
  • Like
Reactions: pel

pel

Skilled Illusionist
Joined
Jan 27, 2012
Messages
382
Reaction score
343
background-position-x & background-position-y isn't supported by Firefox. For Firefox support as well, replace it with background-position.

Change
Code:
background-position-y: -20x;
background-position-x: center;
to
Code:
background-position: center -40px;

Great release, thank you :).

Not? Well, thank you for the info. First time I use -x and -y and then its false xD.
 
Joined
Aug 10, 2011
Messages
7,398
Reaction score
3,301
97c16007bcd9d1e82cbdb8cc8d14e93b - [JS] Avatargenerator from scratch [only JS] - RaGEZONE Forums


Needs some improvements. Not bad nonetheless ^^
 

Attachments

You must be registered for see attachments list

pel

Skilled Illusionist
Joined
Jan 27, 2012
Messages
382
Reaction score
343
97c16007bcd9d1e82cbdb8cc8d14e93b - [JS] Avatargenerator from scratch [only JS] - RaGEZONE Forums


Needs some improvements. Not bad nonetheless ^^

You mean the avatar?
http://www.habbo.de/habbo-imaging/avatarimage?figure="+Avatargenerator.currentSet+"-"+element+"-"+color+"
credits to habbo ^_^
 

Attachments

You must be registered for see attachments list
Experienced Elementalist
Joined
Aug 26, 2012
Messages
248
Reaction score
49
Hey.

I coded an Avatargenerator the last few days.
This works with Javascript - only Javascript. There is no library like jquery or prototype.

Livepreview:
Download:

Cya,

This Brillaint just need to make standalone ver so it doesnt use habbo's avatar data :p gunna use this to make choose looks while registering thanks!
 

pel

Skilled Illusionist
Joined
Jan 27, 2012
Messages
382
Reaction score
343
Joined
Sep 10, 2011
Messages
778
Reaction score
138
You dont need an standalone avatarimager when you will use it for the register. If you make a html5 Habbo, it shouldnt be wrong but not for a register..
I personally incorporate it into all of my projects, as it makes page load times faster & is generally nice to have.
 
Newbie Spellweaver
Joined
Apr 15, 2015
Messages
6
Reaction score
0
This is amazing. I will be implementing this into the CMS im developing aswell.

Regards,
 
Back
Top