ActionScript 3 TweenMax and TweenLite Animation Techniques
TweenLite.to(targetSprite, 1.5, {x:100});
targetSprite is the animated object, 1.5 is duration in seconds, and {x:100} defines the final horizontal position after easing completes. This creates a linear movement from the sprite’s current x to 100 over 1.5 seconds.
TweenLite.from(targetSprite, 1.5, {x:100});
This reverses the direction: the sp ...
Posted on Wed, 19 Aug 2026 16:42:09 +0000 by fr600
Building Lottery Wheel Animations in CocosCreator
Animation ApproachesSpinning wheel mechanics can be driven by different animation models. A basic approach utilizes cc.tween with easing functions, which is straightforward but lacks dynamic pacing control. A more advanced method employs time interpolation combined with cc.tween.by, allowing for precise acceleration and deceleration phases whil ...
Posted on Fri, 14 Aug 2026 16:44:46 +0000 by malec
AS3 TransitionManager Built-in Transition Effects
Reference: https://www.cnblogs.com/wonderKK/archive/2012/08/22/2650475.html
TransitionManager
Contains the following 10 transition types:
1. Blinds
--------Uses gradually disappearing or appearing rectangles to display a movie clip object.
(Parameters: numStrips - number of strips in the blinds effect, recommended range 1-50; dimension - inte ...
Posted on Sat, 08 Aug 2026 16:43:01 +0000 by Virtuali
Displaying Animated GIFs as Objects in Qt Main Window Using QGraphicsView
Overview
This approach enables embedding multiple animated GIFs as individual objects within a single window. Each GIF becomes a separate entity that can potentially suport its own functionality.
Core Componnets
The implementation requires three main classes:
QGraphicsView: Provides the viewport widget for displaying graphics
QGraphicsScene: M ...
Posted on Wed, 05 Aug 2026 16:16:43 +0000 by simflex
Mastering Scene Hierarchy and Interactive Elements in LibGDX
In 2D game development, managing visual components and user interactions efficiently requires a structured rendering pipeline. LibGDX provides the com.badlogic.gdx.scenes.scene2d package, which introduces two foundational concepts: the Stage and Actors. A Stage acts as a centralized manager that handles event dispatching, coordinate transformat ...
Posted on Sun, 26 Jul 2026 16:39:31 +0000 by tony-kidsdirect
Understanding CSS Animation Properties: Transition, Animation, and Transform
CSS provides three main properties for creating motion effects on web pages: transition, animation, and transform. Each serves a distinct purpose: transition requires a trigger (e.g., :hover) to start, animation runs immediately or on demand, and transform is not itself an animation but a fundamental building block for animations.
Transition
...
Posted on Mon, 20 Jul 2026 17:32:26 +0000 by fierdor
Creating a Fireworks Display in Python with Multiple AI Models
The idea began after watching a fireworks simulation video on Bilibili, allegedly generated by a Python script. The uploader required viewers to follow, like, and comment before sending a private message to receive the source code. After jumping through several hoops—inlcuding forum registration and virtual currency purchases—the promised code ...
Posted on Thu, 09 Jul 2026 17:15:44 +0000 by sweetmaster
Journey into CSS Shape Functions: From Geometry Basics to Creative Design
In the vast landscape of digital art, CSS shape functions have emerged as a favorite tool for designers. These seemingly simple code snippets can create breathtaking visual effects. Ranging from minimalist geometric elements to complex abstract compositions, CSS shape functions offer a unique artistic expression path for web design.
Minimalist ...
Posted on Fri, 03 Jul 2026 16:18:17 +0000 by ericm
Advanced CSS Properties and Techniques
Display Property Fundamentals
/* Understanding block vs inline elements
Block elements: Always start on a new line and take up full width available
Inline elements: Do not start on new lines and only occupy necessary width
*/
element {
rendering-mode: ;
}
Value
Description
none
Element will not be displayed
block
Element display ...
Posted on Sun, 28 Jun 2026 16:20:01 +0000 by jakebur01
Implementing Tab Title Animation Effect in Android
The animation effect involves a tab title that appears to sink into place.
Here's the layout structure:
<?xml version="1.0" encoding="utf-8"?>
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
android:orientation="vertical" android:layout_width="match_parent"
...
Posted on Sat, 27 Jun 2026 17:26:18 +0000 by Elizabeth