Official Everybody Edits Forums

Do you think I could just leave this part blank and it'd be okay? We're just going to replace the whole thing with a header image anyway, right?

You are not logged in.

Advertisement

Hello, visitor! These forums are run off of the revenue generated from these ads. If you'd like to support us, please whitelist us or consider donating:

#1 2018-01-09 18:33:40

Gosha
Dev Team
From: Russia
Joined: 2015-03-15
Posts: 5,351

Aura Colors changer

Stop big aura shapes images with different colors in it!

You can change color of the aura via code and filters.

works like this:
6au7V5p.png V9PNUio.png 3SKhWAb.png

Code is very simple.

      public static function changeColor(auraBMD:BitmapData) : BitmapData
      {
         var filter:ColorTransform = new ColorTransform();
         filter.color = Global.AuraColor;
         auraBMD.colorTransform(auraBMD.rect,filter);
         return auraBMD;
      }

You can make enum of colors.

   public class AuraColours
   {
      public static const RED:uint = 16711680;
      public static const GREEN:uint = 65280;
      public static const BLUE:uint = 255;
      public static const PURPLE:uint = 16711935;
      public static const CYAN:uint = 65535;
      public static const YELLOW:uint = 16776960;
    }
//etc

and use it like

player.aura = ItemManager.getAuraByIdAndColor(auraid, AuraColors.YELLOW);

      public static function getAuraByIdAndColor(param1:int, param2:int) : ItemAura
      {
         var _loc3_:int = 0;
         while(_loc3_ < auraShapes.length)
         {
            if(auraShapes[_loc3_].id == param1)
            {
               return auraShapes[_loc3_].bmd = this.changeColor(auraShapes[_loc3_].bmd, param2);
            }
            _loc3_++;
         }
         return null;
      }


     EDIT: my bad, auraShapes[_loc3_] returns AuraShape, but not ItemAura. But you got the idea and it's easy to make it work.

it will probably save a lot of space in the client because you have to store only white version on the aura

Last edited by Gosha (2018-01-10 11:41:06)

Offline

#2 2018-01-09 18:41:24

Jet
Wiki Mod (Formerly zyhrllos)
Joined: 2015-11-08
Posts: 1,971

Re: Aura Colors changer

this hasn’t occurred ingame at all, what are you trying to do?

besides auras are way more elaborate than you think, they aren’t complete recolors

Last edited by Jet (2018-01-09 18:42:32)

Offline

#3 2018-01-09 18:42:40

Gosha
Dev Team
From: Russia
Joined: 2015-03-15
Posts: 5,351

Re: Aura Colors changer

zyhrllos wrote:

this hasn’t occurred ingame at all, what are you trying to do?

this is a suggestion. I suggested a code to change aura color using filters, but not images from game files.

zyhrllos wrote:

besides auras are way more elaborate than you think, they aren’t complete recolors

most of the auras are just recolors. "special ones" can be stored as usual

Last edited by Gosha (2018-01-09 18:43:34)

Offline

Wooted by:

HG

#4 2018-01-09 19:17:14

Latif
Member
From: The Netherlands
Joined: 2015-03-13
Posts: 1,102

Re: Aura Colors changer

They are just recolors. Except for the gold aura, but how you make it is some kind of secret. I don't know why.

Offline

#5 2018-01-09 19:20:22

Gosha
Dev Team
From: Russia
Joined: 2015-03-15
Posts: 5,351

Re: Aura Colors changer

Latif wrote:

They are just recolors. Except for the gold aura, but how you make it is some kind of secret. I don't know why.

it seems like golden aura is regular aura with golden thing on top.
you can edit color of original aura and add gold one on top.

Offline

Wooted by:

HG

#6 2018-01-09 23:29:46

Jet
Wiki Mod (Formerly zyhrllos)
Joined: 2015-11-08
Posts: 1,971

Re: Aura Colors changer

Gosha wrote:

this is a suggestion. I suggested a code to change aura color using filters, but not images from game files.

"Stop big aura shapes images with different colors in it!"

Gosha wrote:

it seems like golden aura is regular aura with golden thing on top.
you can edit color of original aura and add gold one on top.

wrong, golden auras use a special formula

Offline

#7 2018-01-09 23:41:23

Gosha
Dev Team
From: Russia
Joined: 2015-03-15
Posts: 5,351

Re: Aura Colors changer

zyhrllos wrote:

wrong, golden auras use a special formula

why are you arguing so much all the time?
see the pattern?
JavQV74.png

just color the thing and then add gold cross.

Offline

Wooted by:

HG

#8 2018-01-10 00:22:54

Vinyl Melody
Formerly BananaMilkShake
From: Ponies and Harmony
Joined: 2016-06-19
Posts: 602

Re: Aura Colors changer

add shader support :^


c5094df540.png

Official%20Discord%20Server-Melody-blue.svg?style=flat-square Support%20Me!-Register%20on%20Dropbox-red.svg?style=flat-square
Avatars: Latif (Old)
Thanks to: Ernesdo (Current Avatar)

Offline

Wooted by:

HG

#9 2018-01-10 01:17:19

LukeM
Dev Team
From: England
Joined: 2016-06-03
Posts: 2,388
Website

Re: Aura Colors changer

zyhrllos wrote:

wrong, golden auras use a special formula

The point is that there is a formula, and if there's a formula it can easily be automated within the EE client

And to me it looks a lot like it's just done with a base image and a tinted mask image... I guess I'll check later (I happen to have written a program previously that inputs several images and brute-forces them back to two images and a tint //forums.everybodyedits.com/img/smilies/tongue)


- Luke Miles

Offline

Wooted by:

HG

#10 2018-01-10 01:35:30

Jet
Wiki Mod (Formerly zyhrllos)
Joined: 2015-11-08
Posts: 1,971

Re: Aura Colors changer

Gosha wrote:
zyhrllos wrote:

wrong, golden auras use a special formula

why are you arguing so much all the time?
see the pattern?
https://i.imgur.com/JavQV74.png

just color the thing and then add gold cross.

use grammar then? i thought you were talking about the golden aura color

LukeM wrote:

The point is that there is a formula, and if there's a formula it can easily be automated within the EE client

it literally cant

Offline

#11 2018-04-23 09:33:31

Gosha
Dev Team
From: Russia
Joined: 2015-03-15
Posts: 5,351

Re: Aura Colors changer

somebody said it was impossible
guess again //forums.everybodyedits.com/img/smilies/cool:cool::cool::cool: //forums.everybodyedits.com/img/smilies/cool //forums.everybodyedits.com/img/smilies/cool //forums.everybodyedits.com/img/smilies/cool:cool: //forums.everybodyedits.com/img/smilies/cool

Offline

Wooted by:

HG

#12 2018-04-23 10:18:04

peace
Member
From: the netherlands
Joined: 2015-08-10
Posts: 2,424

Re: Aura Colors changer

Gosha wrote:

somebody said it was impossible
guess again //forums.everybodyedits.com/img/smilies/cool:cool::cool::cool: //forums.everybodyedits.com/img/smilies/cool //forums.everybodyedits.com/img/smilies/cool //forums.everybodyedits.com/img/smilies/cool:cool: //forums.everybodyedits.com/img/smilies/cool

yeah add it //forums.everybodyedits.com/img/smilies/big_smile add shade suport for gold member so they can us etheir gold color


1HIqRW7.png MYaIIs9.png
ty anatoly and blueclued

Offline

#13 2018-04-23 10:19:06

Gosha
Dev Team
From: Russia
Joined: 2015-03-15
Posts: 5,351

Re: Aura Colors changer

peace wrote:
Gosha wrote:

somebody said it was impossible
guess again //forums.everybodyedits.com/img/smilies/cool:cool::cool::cool: //forums.everybodyedits.com/img/smilies/cool //forums.everybodyedits.com/img/smilies/cool //forums.everybodyedits.com/img/smilies/cool:cool: //forums.everybodyedits.com/img/smilies/cool

yeah add it //forums.everybodyedits.com/img/smilies/big_smile add shade suport for gold member so they can us etheir gold color

it has been already added yesterday.

Offline

#14 2018-04-23 10:21:26

peace
Member
From: the netherlands
Joined: 2015-08-10
Posts: 2,424

Re: Aura Colors changer

Gosha wrote:
peace wrote:
Gosha wrote:

somebody said it was impossible
guess again //forums.everybodyedits.com/img/smilies/cool:cool::cool::cool: //forums.everybodyedits.com/img/smilies/cool //forums.everybodyedits.com/img/smilies/cool //forums.everybodyedits.com/img/smilies/cool:cool: //forums.everybodyedits.com/img/smilies/cool

yeah add it //forums.everybodyedits.com/img/smilies/big_smile add shade suport for gold member so they can us etheir gold color

it has been already added yesterday.

wt fwhy i didnt se eit?! et me se eit!

EDIT: nop ecant see it

Last edited by peace (2018-04-23 10:23:22)


1HIqRW7.png MYaIIs9.png
ty anatoly and blueclued

Offline

#15 2018-04-23 10:26:02

Gosha
Dev Team
From: Russia
Joined: 2015-03-15
Posts: 5,351

Re: Aura Colors changer

peace wrote:
Gosha wrote:
peace wrote:
Gosha wrote:

somebody said it was impossible
guess again //forums.everybodyedits.com/img/smilies/cool:cool::cool::cool: //forums.everybodyedits.com/img/smilies/cool //forums.everybodyedits.com/img/smilies/cool //forums.everybodyedits.com/img/smilies/cool:cool: //forums.everybodyedits.com/img/smilies/cool

yeah add it //forums.everybodyedits.com/img/smilies/big_smile add shade suport for gold member so they can us etheir gold color

it has been already added yesterday.

wt fwhy i didnt se eit?! et me se eit!

EDIT: nop ecant see it

You can't see it because you should not see it. Colors are controlled by code now, here is and old and new aura image:

old
new

Last edited by Gosha (2018-04-23 10:26:33)

Offline

#16 2018-04-23 11:55:19

peace
Member
From: the netherlands
Joined: 2015-08-10
Posts: 2,424

Re: Aura Colors changer

Gosha wrote:
peace wrote:
Gosha wrote:
peace wrote:
Gosha wrote:

somebody said it was impossible
guess again //forums.everybodyedits.com/img/smilies/cool:cool::cool::cool: //forums.everybodyedits.com/img/smilies/cool //forums.everybodyedits.com/img/smilies/cool //forums.everybodyedits.com/img/smilies/cool:cool: //forums.everybodyedits.com/img/smilies/cool

yeah add it //forums.everybodyedits.com/img/smilies/big_smile add shade suport for gold member so they can us etheir gold color

it has been already added yesterday.

wt fwhy i didnt se eit?! et me se eit!

EDIT: nop ecant see it

You can't see it because you should not see it. Colors are controlled by code now, here is and old and new aura image:

so you just cleaned the mess and made sure you can easily add new colors without having to recreate like 16-17 aura's nice

Last edited by peace (2018-04-23 11:55:35)


1HIqRW7.png MYaIIs9.png
ty anatoly and blueclued

Offline

#17 2018-04-23 14:01:40

TaskManager
Formerly maxi123
From: i really should update this
Joined: 2015-03-01
Posts: 6,491

Re: Aura Colors changer

Gosha wrote:
peace wrote:
Gosha wrote:
peace wrote:
Gosha wrote:

somebody said it was impossible
guess again //forums.everybodyedits.com/img/smilies/cool:cool::cool::cool: //forums.everybodyedits.com/img/smilies/cool //forums.everybodyedits.com/img/smilies/cool //forums.everybodyedits.com/img/smilies/cool:cool: //forums.everybodyedits.com/img/smilies/cool

yeah add it //forums.everybodyedits.com/img/smilies/big_smile add shade suport for gold member so they can us etheir gold color

it has been already added yesterday.

wt fwhy i didnt se eit?! et me se eit!

EDIT: nop ecant see it

You can't see it because you should not see it. Colors are controlled by code now, here is and old and new aura image:

well now thats a possibility to add a lot more aura colors to the shop! colors that constantly change (for example: aura color constantly fades between red/blue), custom #HEX color, gradient (example: aura is red closer to smiley and blue on the edges), and so on!


i8SwC8p.png
signature by HG, profile picture by bluecloud, thank!!
previous signature by drstereos

Offline

Wooted by: (3)

#18 2018-04-23 22:30:57

Jet
Wiki Mod (Formerly zyhrllos)
Joined: 2015-11-08
Posts: 1,971

Re: Aura Colors changer

Gosha wrote:
peace wrote:
Gosha wrote:
peace wrote:
Gosha wrote:

somebody said it was impossible
guess again //forums.everybodyedits.com/img/smilies/cool:cool::cool::cool: //forums.everybodyedits.com/img/smilies/cool //forums.everybodyedits.com/img/smilies/cool //forums.everybodyedits.com/img/smilies/cool:cool: //forums.everybodyedits.com/img/smilies/cool

yeah add it //forums.everybodyedits.com/img/smilies/big_smile add shade suport for gold member so they can us etheir gold color

it has been already added yesterday.

wt fwhy i didnt se eit?! et me se eit!

EDIT: nop ecant see it

You can't see it because you should not see it. Colors are controlled by code now, here is and old and new aura image:

xjxOA1I.png
THANK YOU FOR GETTING RID OF THAT AWFUL PINWHEEL ANIMATION

Offline

Wooted by:

#19 2018-04-24 09:56:31

peace
Member
From: the netherlands
Joined: 2015-08-10
Posts: 2,424

Re: Aura Colors changer

TaskManager wrote:
Gosha wrote:
peace wrote:
Gosha wrote:
peace wrote:

yeah add it //forums.everybodyedits.com/img/smilies/big_smile add shade suport for gold member so they can us etheir gold color

it has been already added yesterday.

wt fwhy i didnt se eit?! et me se eit!

EDIT: nop ecant see it

You can't see it because you should not see it. Colors are controlled by code now, here is and old and new aura image:

well now thats a possibility to add a lot more aura colors to the shop! colors that constantly change (for example: aura color constantly fades between red/blue), custom #HEX color, gradient (example: aura is red closer to smiley and blue on the edges), and so on!

yes add please the #hex will be a bit pricy and the normal colors we have now ca nbecome a bit cheaper then because with #hex you can come close to them multi colors are also nice sooo @gosha letys add this


1HIqRW7.png MYaIIs9.png
ty anatoly and blueclued

Offline

#20 2018-04-24 14:41:30

John
Guest

Re: Aura Colors changer

Nice job!

Wooted by:
John1524577290703976

Board footer

Powered by FluxBB

[ Started around 1537769285.9354 - Generated in 0.057 seconds, 12 queries executed - Memory usage: 1.53 MiB (Peak: 1.78 MiB) ]