<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB">
	<id>https://wiki.gideros.rocks/index.php?action=history&amp;feed=atom&amp;title=GTween.nextTween</id>
	<title>GTween.nextTween - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.gideros.rocks/index.php?action=history&amp;feed=atom&amp;title=GTween.nextTween"/>
	<link rel="alternate" type="text/html" href="https://wiki.gideros.rocks/index.php?title=GTween.nextTween&amp;action=history"/>
	<updated>2026-11-17T20:08:30Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.11</generator>
	<entry>
		<id>https://wiki.gideros.rocks/index.php?title=GTween.nextTween&amp;diff=24826&amp;oldid=prev</id>
		<title>MoKaLux: Created page with &quot;__NOTOC__ &#039;&#039;&#039;Available since:&#039;&#039;&#039; Gideros 2010-2011&lt;br/&gt; &#039;&#039;&#039;Class:&#039;&#039;&#039; GTween&lt;br/&gt;  === Description === Simple sequenced tweens. &lt;syntaxhighlight lang=&quot;lua&quot;&gt; GTween.nextTwee...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.gideros.rocks/index.php?title=GTween.nextTween&amp;diff=24826&amp;oldid=prev"/>
		<updated>2025-12-08T06:20:53Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;__NOTOC__ &amp;#039;&amp;#039;&amp;#039;Available since:&amp;#039;&amp;#039;&amp;#039; Gideros 2010-2011&amp;lt;br/&amp;gt; &amp;#039;&amp;#039;&amp;#039;Class:&amp;#039;&amp;#039;&amp;#039; &lt;a href=&quot;/index.php/GTween&quot; title=&quot;GTween&quot;&gt;GTween&lt;/a&gt;&amp;lt;br/&amp;gt;  === Description === Simple sequenced tweens. &amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt; GTween.nextTwee...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Available since:&amp;#039;&amp;#039;&amp;#039; Gideros 2010-2011&amp;lt;br/&amp;gt;&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Class:&amp;#039;&amp;#039;&amp;#039; [[GTween]]&amp;lt;br/&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Description ===&lt;br /&gt;
Simple sequenced tweens.&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
GTween.nextTween = GTween.new(target,duration,values,props)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
=== Example ===&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;lua&amp;quot;&amp;gt;&lt;br /&gt;
require &amp;quot;easing&amp;quot;&lt;br /&gt;
&lt;br /&gt;
application:setBackgroundColor(0x626262)&lt;br /&gt;
&lt;br /&gt;
local x, y = 8*32, 8*32&lt;br /&gt;
local pixel = Pixel.new(math.random(0xffffff), 1, 32, 32)&lt;br /&gt;
pixel:setAnchorPoint(0.5, 0.5)&lt;br /&gt;
pixel:setPosition(x, y)&lt;br /&gt;
stage:addChild(pixel)&lt;br /&gt;
&lt;br /&gt;
--function GTween:init(target, duration, values, props)&lt;br /&gt;
local tween = GTween.new(&lt;br /&gt;
	pixel, 1,&lt;br /&gt;
	{ x=x, y=y-4*32, alpha=1.7, scaleY=2.5, },&lt;br /&gt;
	{ delay=4, ease=easing.outBack, repeatCount=1, dispatchEvents=true, }&lt;br /&gt;
)&lt;br /&gt;
tween.nextTween = GTween.new(&lt;br /&gt;
	pixel, 0.7,&lt;br /&gt;
	{ y=y, alpha=1, scaleY=1, },&lt;br /&gt;
	{ ease=easing.outBounce, repeatCount=1, }&lt;br /&gt;
)&lt;br /&gt;
&lt;br /&gt;
tween:addEventListener(&amp;quot;change&amp;quot;, function()&lt;br /&gt;
	print(&amp;quot;change!&amp;quot;, tween:getPosition())&lt;br /&gt;
end)&lt;br /&gt;
&lt;br /&gt;
tween:addEventListener(&amp;quot;complete&amp;quot;, function()&lt;br /&gt;
--	tween:toEnd() -- toBeginning(), toEnd()&lt;br /&gt;
--	tween:setPosition(0.75)&lt;br /&gt;
	print(&amp;quot;tweened!&amp;quot;)&lt;br /&gt;
end)&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
{{GTween}}&lt;/div&gt;</summary>
		<author><name>MoKaLux</name></author>
	</entry>
</feed>