Giter Site home page Giter Site logo

weakauras / weakaurasstopmotion Goto Github PK

View Code? Open in Web Editor NEW
6.0 6.0 1.0 21.21 MB

An addon to WeakAuras that adds a new region type that allows for stop motion animations.

Home Page: https://www.wowace.com/projects/weakauras-stop-motion

Lua 13.76% Scheme 86.24%
world-of-warcraft weakauras addon extension lua animation motion motion-animation

weakaurasstopmotion's Introduction

WeakAuras Stop Motion

This addon adds a new region type to WeakAuras that allows for stop motion animations. Stop Motion textures contain each frame of the animation as a separate image. The addon ships with a number of animations and it supports custom textures.

It is most useful for advanced WeakAuras users that want to graphically spice up their UI.

Also see: https://www.youtube.com/watch?v=ybhrGvPWEcc for a short overview of what the addon provides.

weakaurasstopmotion's People

Contributors

infusonwow avatar stanzilla avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

wiltonlazary

weakaurasstopmotion's Issues

No options

Creating or selecting a Stop Motion aura, or selecting a group containing a stop motion aura in the options window creates the following error. The options panel is then empty so can not be edited.

https://pastebin.com/DRDWL19A

Region no longer works with last WA update

This addon no longer works with the 2.14.4 update of WeakAuras. It is still possible to select a stop motion region during creation, but it then triggers an error and nothing shows up in the config frame. Here's the error I get :

6x WeakAuras\WeakAuras-2.14.4.lua:5477: attempt to call method 'Update' (a nil value)
WeakAuras\WeakAuras-2.14.4.lua:5477: in function <WeakAuras\WeakAuras.lua:5476>
WeakAuras\WeakAuras-2.14.4.lua:5566: in function <WeakAuras\WeakAuras.lua:5533>
WeakAuras\WeakAuras-2.14.4.lua:5650: in function 'UpdatedTriggerState'
WeakAuras\WeakAuras-2.14.4.lua:5417: in function 'UpdateFakeStatesFor'
WeakAuras\WeakAuras-2.14.4.lua:5390: in function 'FakeStatesFor'
...eGUI-Widgets\AceGUIWidget-WeakAurasDisplayButton.lua:1788: in function 'PriorityShow'
...eGUI-Widgets\AceGUIWidget-WeakAurasDisplayButton.lua:1651: in function 'Pick'
...dOns\WeakAurasOptions\OptionsFrames\OptionsFrame.lua:841: in function 'finishPicking'
...dOns\WeakAurasOptions\OptionsFrames\OptionsFrame.lua:898: in function 'PickDisplay'
WeakAurasOptions\WeakAurasOptions-2.14.4.lua:4446: in function 'PickDisplay'
...eGUI-Widgets\AceGUIWidget-WeakAurasDisplayButton.lua:545: in function <...eGUI-Widgets\AceGUIWidget-WeakAurasDisplayButton.lua:505>

Locals:
id = "New"
cloneId = ""
region = <unnamed> {
 0 = <userdata>
 xOffset = 0
 Expand = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:700
 yOffset = 0
 backgroundFrame = 64
 GetColor = <function> defined @WeakAurasStopMotion\RegionTypes\stopmotion.lua:249
 SetOffset = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:278
 SetBackgroundDesaturated = <function> defined @WeakAurasStopMotion\RegionTypes\stopmotion.lua:370
 SendChat = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:233
 PreShow = <function> defined @WeakAurasStopMotion\RegionTypes\stopmotion.lua:261
 toShow = false
 SetRegionHeight = <function> defined @WeakAurasStopMotion\RegionTypes\stopmotion.lua:383
 OptionsClosed = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:595
 Color = <function> defined @WeakAurasStopMotion\RegionTypes\stopmotion.lua:241
 scalex = 1
 regionType = "stopmotion"
 GetRegionAlpha = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:321
 relativePoint = "CENTER"
 SetForegroundDesaturated = <function> defined @WeakAurasStopMotion\RegionTypes\stopmotion.lua:366
 SoundPlay = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:215
 scaley = 1
 foregroundColor_r = 1
 SetXOffset = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:287
 SetRegionWidth = <function> defined @WeakAurasStopMotion\RegionTypes\stopmotion.lua:378
 RealClearAllPoints = <function> defined =[C]:-1
 RunCode = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:240
 GetYOffset = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:299
 SetAnimAlpha = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:325
 duration = 0
 expirationTime = Infinite
 startFrame = 1
 GetXOffset = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:295
 SetYOffset = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:291
 SetAnchor = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:266
 SetRegionAlpha = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:312
 height = 128
 endFrame = 64
 SetOffsetAnim = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:303
 triggerProvidesTimer = true
 states = <table> {
 }
 xOffsetAnim = 0
 yOffsetAnim = 0
 SetDurationInfo = <function> defined @WeakAurasStopMotion\RegionTypes\stopmotion.lua:338
 SoundRepeatStop = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:161
 state = <table> {
 }
 Scale = <function> defined @WeakAurasStopMotion\RegionTypes\stopmotion.lua:222
 SetTriggerProvidesTimer = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:333
 SoundStop = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:170
 Collapse = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:679
 background = <unnamed> {
 }
 ClearAllPoints = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:385
 relativeTo = WeakAurasFrame {
 }
 anchorPoint = "CENTER"
 ClickToPick = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:600
 id = "New"
 ResetPosition = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:260
 foregroundColor_g = 1
 width = 128
 UpdateTimerTick = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:355
 foregroundColor_b = 1
 foregroundColor_a = 1
 UpdateRegionHasTimerTick = <function> defined @WeakAuras\RegionTypes\RegionPrototype.lua:338
 SetBackgroundColor = <function> defined @WeakAurasStopMotion\RegionTypes\stopmotion.lua:374
 PixelSnapDisable

Feature Request - Additional Progress Animation Type

I'm working on a project at the moment where I'd like the frame rate to be dependent on a variable state. (Eg High Rage = Higher Framerate)

Variable Framerate as a new animation mode

  • Framerate with a configurable minimum and maximum state
  • Could take a resource such as power, buff stacks, haste, crit. (+inverse)
  • Frame rate variable, with a configurable modifier.
    Eg. Rage as the activation, Min Frame Rate of 4fps, Max of 12fps, 0% rage = 4fps, 100% rage = 12fps.
    Eg. Buff Stacks as the activation, Min Frame Rate of 1fps, Max of 6fps, minmum state of 0, maximum state of 3, When the buff >=3 stacks animation runs at 6fps.

Apologies if this isn't the right place to post. Thanks.

Stop Motion Auras Not Showing Any Configuration Tabs

Using the WeakAura version 2.17.12-7-ga3a028b5 and Stop Motion version 0.9.5 I am no longer getting any options for Stop Motion weakauras. The right hand panel (Where display, trigger, conditions, etc.. tabs usually are) is completely blank. I also receive the following error message:

1x ...Ons\WeakAurasStopMotion\RegionOptions\stopmotion.lua:287: attempt to call field 'PositionOptions' (a nil value)
[string "@WeakAurasStopMotion\RegionOptions\stopmotion.lua"]:287: in function create' [string "@WeakAurasOptions\DisplayOptions.lua"]:94: in function ?'
[string "@WeakAurasOptions\OptionsFrames\OptionsFrame.lua"]:820: in function EnsureOptions' [string "@WeakAurasOptions\OptionsFrames\OptionsFrame.lua"]:794: in function UpdateOptions'
[string "@WeakAurasOptions\OptionsFrames\OptionsFrame.lua"]:833: in function FillOptions' [string "@WeakAurasOptions\OptionsFrames\OptionsFrame.lua"]:1108: in function PickDisplay'
[string "@WeakAurasOptions\WeakAurasOptions-2.17.12-7-ga3a028b5.lua"]:1034: in function `PickDisplay'
[string "@WeakAurasOptions\AceGUI-Widgets\AceGUIWidget-WeakAurasDisplayButton.lua"]:579: in function <...eGUI-Widgets\AceGUIWidget-WeakAurasDisplayButton.lua:539>

I was able to fix the errant code.

Changing line 287 in RegionOptions\stopmotion.lua from
position = WeakAuras.PositionOptions(id, data, 2),
to
position = WeakAuras.commonOptions.PositionOptions(id, data, 2),
corrects the issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.