A sprite is a 2D image created from a bitmap file and the S4P library supports creating, moving, resizing and rotating sprites. In addition S4P supports sprite image animation and pixel level transparency (see the ghost example). A sprite's movement can be defined in terms of speed, acceleration and direction leaving S4P to take care of the movement for you. Once moving then sprites can collide - S4P has 4 collision detection modes of varying speed and accuracy.
S4P considers all sprites created move inside a single infinite 2D space called the world and the user can set the boundaries of the world to display and then zoom in and out of the display. (try out the showcase example)
Follow Sprites for Processing
Other Useful Business Software
Earn up to 16% annual interest with Nexo.
Generate interest, access liquidity without selling, and execute trades seamlessly. All in one platform.
Geographic restrictions, eligibility, and terms apply.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Sprites for Processing!