Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

easy tween (test)

An asset by display
The page banner background of a mountain and forest

Quick Information

No ratings yet
easy tween (test) icon image
display
easy tween (test)

Easy tween (kind of useless)

Supported Engine Version
4.0
Version String
1.0
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL
Download ZIP

tw

Easy tween

Default parameters:

tw.tw(
    node = null, #required
    time = 0.1, #required
    property_dict = {}, #required
    easing_style = 'linear',
    easing_direction = 'out', 	
    delay = null
)

Configuration:

tw.set_default_time(1.0)

tw.set_default_easing(style := '', direction := '')
tw.set_default_easing('quint')
tw.set_default_easing('quint', 'out')

Usage:

tw.set_default_time(1.0)
tw.set_default_easing('quint')


tw.tw(self, 1.0, {modulate = Color.RED})
tw.tw($Node, 1.0, {modulate = Color.RED, rotation = 360}, 'quint', 'out')
tw.tw(self, 1.0, {modulate = Color.RED, "position:x" = 20}, 'QuiNT', 'OuT')
tw.tw(self, 1.0, {modulate = Color.RED}, 'quint', 'in')
tw.tw(self, 1.0, {modulate = Color.RED}, 'elastic', 'out')
tw.tw(self, 1.0, {modulate = Color.RED}, 'elastic')

tw.tw(self, 0.0, {modulate = Color.RED}, 'elastic')
#equivalent to      "self.modulate = Color.RED"

tw.tw(self, -2.0, {modulate = Color.RED}, 'elastic')
#equivalent to      "self.modulate = Color.RED"

Easy tween (kind of useless)

Reviews

0 total reviews
No ratings yet

Your Rating

How do you rate this asset?
Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

No ratings yet
easy tween (test) icon image
display
easy tween (test)

Easy tween (kind of useless)

Supported Engine Version
4.0
Version String
1.0
Support Level
community
Modified Date
1 year ago
Git URL
Issue URL
Download ZIP

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers