Category: Graphic UI Mods
Addon Information
Works with 3.2
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
zork's Portal Bug Reports Feature Requests
Author:
Version:
001
Date:
08-06-2009 04:09 PM
Size:
46.29 Kb
Downloads:
250
Favorites:
1
MD5:
Pictures
Click to enlarge
cpu
Click to enlarge
shot1
Click to enlarge
shot2
Click to enlarge
added to ontop of other textures
rGalaxy
WHAT IS THIS?
This is my testmod that is using the new Blizzard animation system that is bugged like crap but still works in some ways.

This mod shows how you can create a rotating texture...in fact I create 3 of them at different size, rotationspeed, alpha and position.

Its even posible to do a translation of the positions aswell but I had no luck doing it until now.

WHY?
Because Blizzard killed the m2-files and I am looking for an alternative. Blackbox showed me the general idea.

Code:
http://code.google.com/p/rothui/sour...trunk/rGalaxy/

Code:
  --Blizzard documentation
  --http://forums.worldofwarcraft.com/thread.html?sid=1&topicId=15443414368
  
  --Black box
  --http://wow.curseforge.com/addons/blackboxlua/

  local function createme(x,y,size,alpha,dur)
    local h = CreateFrame("Frame",nil,UIParent)
    h:SetHeight(size)
    h:SetWidth(size)		  
    h:SetPoint("CENTER",x,y)
    h:SetAlpha(alpha)
  
    local t = h:CreateTexture()
    t:SetAllPoints(h)
    t:SetTexture("Interface\\AddOns\\rGalaxy\\galaxy")
    h.t = t
    
    local ag = h:CreateAnimationGroup()
    h.ag = ag
    
    local a1 = h.ag:CreateAnimation("Rotation")
    a1:SetDegrees(360)
    a1:SetDuration(dur)
    h.ag.a1 = a1
    
    h:SetScript("OnUpdate",function(self,elapsed)
      local t = self.total
      if (not t) then
        self.total = 0
        return
      end
      t = t + elapsed
      if (t<1) then
        self.total = t
        return
      else
        h.ag:Play()
      end
    end)
    
    return h
  
  end
  
  local a = createme(0,0,100,0.8,20)
  local b = createme(5,0,130,0.5,10)
  local c = createme(5,5,120,0.6,15)
  Optional Files - rGalaxy
Sorry, there are currently no optional files available.
  Comments - rGalaxy
Post A Reply Comment Options
Old 10-24-2009, 02:23 PM  
vlakarados
A Deviate Faerie Dragon

Forum posts: 16
File comments: 41
Uploads: 0
any chance seeing some cool animation for bars?
my oUF status bars are missing it
vlakarados is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 09-03-2009, 03:24 PM  
zork
A Flamescale Wyrmkin
 
zork's Avatar
Interface Author - Click to view interfaces

Forum posts: 146
File comments: 1079
Uploads: 28
This mod is for addon developers only. Don't hurt yourself.
__________________
| Simple is beautiful.
| Blog | Roth UI | Roth UI mini | Roth UI FAQ | GoogleCode | DevShots | TheBigOne | Guild
zork is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 09-03-2009, 02:38 PM  
Noth
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
Re: how

Quote:
Originally posted by DDjusD
ok I downloaded this to try and place it on a party of my UI cause it kinda looks cool so how do I move it?
Same for me. Although since this addon havent got an addon manager, but i have figured as far that you need to modify the LUA for changing the location. but i have no experience in lua editing and all so i have no clue were to change... if the author could provide with the needed info it would be appreaciated. also, i see that you have "2" of your galaxy addon on your screenshot, i'd really like to know how this is done.
Noth is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 09-01-2009, 07:07 PM  
DDjusD
A Defias Bandit

Forum posts: 2
File comments: 13
Uploads: 0
how

ok I downloaded this to try and place it on a party of my UI cause it kinda looks cool so how do I move it?
DDjusD is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:




The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOInterface | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


©2009 MMOUI / ZAM Network
vBulletin - Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.