Thread Tools Display Modes
07-08-15, 08:04 AM   #1
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
Z-Perl 2

Thoose who follow my GitHUB page (so basically noone), may noticed i started working something new. (not again!) I know right, i get bored so easily.

So this is gonna be a full rewrite of Z-Perl, without the unnecessary old crap in the code, and hopefully with no more xml.

What is worth mentioning is that the addon will use a very unique scaling method bypassing the terribad Blizzard one, which will allow almost pixel perfect scaling even on very small/big scale numbers, while the small textures on the frame won't get obliterated (like edges, borders and background positions):

https://www.youtube.com/watch?v=Nh77TEZBj6A

The player frame is almost fully functional but there are no options nor saved variables to handle the size/scale/position changes, but you can download it just to play with it, from here:

https://github.com/Resike/Z-Perl2
  Reply With Quote
12-29-15, 05:27 PM   #2
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
New functions:

- Incoming heals and absorb indicators.
- Cast and channel bars.
- Elite indicator texture.
- Class and leader icons.
- Buff/Debuff frames.
- Pet/Vehilce frame.

Mage POV:
https://www.youtube.com/watch?v=9EzZ_nUwUV0

Priest POV:
https://www.youtube.com/watch?v=z-TizIuINM4
  Reply With Quote
12-31-15, 01:26 PM   #3
JDoubleU00
A Firelord
 
JDoubleU00's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2008
Posts: 463
That looks great, especially the scaling. How long before you have a target frame? I wouldn't mind trying them out.
__________________
Author of JWExpBar and JWRepBar.
  Reply With Quote
12-31-15, 03:09 PM   #4
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
Originally Posted by rocnroll View Post
That looks great, especially the scaling. How long before you have a target frame? I wouldn't mind trying them out.
Soon, but since most of the code for the target and focus frames are just copypaste from the player one, i started working on the raid and party frames instead, which will be a copypaste for the arena and boss frames.
  Reply With Quote
02-03-16, 02:40 PM   #5
Resike
A Pyroguard Emberseer
AddOn Author - Click to view addons
Join Date: Mar 2010
Posts: 1,290
Quick update about the raid frames, here is a fully functional base raid frame mod in a 40 man raid combat at 60fps, and it's using around 0,05% cpu to update and draw frames in real time, while it's also handing the player and the pet frame:

  Reply With Quote
02-14-16, 12:34 PM   #6
pelf
Sentient Plasmoid
 
pelf's Avatar
Premium Member
Join Date: May 2008
Posts: 133
I've been using some form of Perl since ... well, since I got it with Cosmos, I think? Is that where I got it the first time? I think that one was Nymbia's version. After playing WoW with it for so long, it's pretty much impossible for me to change to something else; I've tried at least two separate times. So, I had just accepted the performance issues with X-Perl, which were, as I'm sure you remember, not insignificant.

So, for the sake of my sanity and of my framerate during raids, thanks for keeping the project going.

-----------------

I was just catching up on the development forums and noticed your thread here.

Your isDeveloper function and your "encrypted" battletag are pretty funny. I assume that's just to prevent it from getting scraped from GitHub?

Dat MakeScaleable function. Yikes. Do you think it would be possible to do something like this:
  1. Create a frame.
  2. Attach all of those scalability behaviors to that frame.
  3. Copy the size, location and scale of the frame being resized to the scaling frame.
  4. Make the frame being resized the child of the scaling frame and anchor it to fill.
Would that still work? If so, the build-up process would be nearly equivalent, but the tear down would be simpler, right? You could just pull the frame to be resized out of the scaling frame, copy the relevant resulting size, location and scale values and then make sure you destroy all references to the scaling frame. At that point, it should be a candidate for GC; I didn't see anything in the code scanning over it that should block it from being collected.

Or, if that would be viable and if you wanted to be super sneaky, you could create a scaling frames pool and never run the create code more than either once if the user doesn't ever resize more than one frame at a time or (assuming it will be possible to resize frames concurrently) n times, where n is the total number of frames (frame classes?) available to be resized concurrently.

I say "frame classes" because I'm not sure how much sense it would make to be able to make raid27 a different size and shape than raid12 (or party2target and party4target and so on).

Well, starred and watched. It's going to be arguably way more fun, for me, to watch you build some unit frames from the ground up than to (try to) build them myself .
  Reply With Quote

WoWInterface » AddOns, Compilations, Macros » Alpha/Beta AddOns and Compilations » Z-Perl 2

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off