Perfect Retro Tools
As Per Spec
$8.00
(no ratings)
Date |
Price |
---|---|
日期和时间 |
价钱($) |
07/03(2018) |
8.0 |
11/19(2024) |
8.0 |
Jump AssetStore
Now includes a pooling solution!
Includes 4-way/8-way Input restrictor and subpixel screen shake!
Making a retro or pixelated game, but having trouble with artifacts and smearing? Want black bars and a specific resolution?
Fix it! Drag in the prefab, set ppu, resolution and pixel aspect and hit apply.
Perfect Retro Tools is a set of tools to help you create retro games, featuring a solution to keep your pixels looking crisp (and more) at any resolution.
A prefab is included to replace your camera.
How does it compare to the 2d Pixel Perfect package by Unity? This lets you have your game screen in a rawimage inside a canvas that you can manipulate, so you can add border art, effects or even a high-res menu overlay if you wish.
Included features:
Pixel Camera Settings: a front-end component to set up the basics. Drag the prefab in the scene, set your desired resolution, pixels per unit (to match your art), pixel aspect ratio (allows for non-square pixel art!) and go. Move to a new layer and hide it, never to bother you again.
Pixel V Camera: a virtual camera that can track transforms or static positions at any given offset, smoothly or snapping to pixel grid, with AnimationCurve-driven static transition queuing. Includes a hi-bit zoom effect, for zooming without pixel swimming (restrictions apply!). Focus on characters or locations with a single line of code, or use the example component for NO code!
Screen Shake: a hi-bit subpixel screen shake, for subtle pixel perfect shaking without disorienting your player. Choose how many pixels to shake in each axis and much more. One line of code to activate.
Integer Scaler: mismatched resolutions can make your pixels scale irregularly. The scaler calculates the closest zoom for the current resolution that would give you integer pixels and applies it, updating if the resolution changes. No more irregular diagonals or missing screen lines!
Input Restrictor: How retro do you want your movement to be? Choose from 4-way, 8-way restrictors, with digital or analog speed. Use dynamic angle to help your player stay in a straight line until they really want to turn. Make modern analog sticks feel like you want them to!
Layer Flicker: need to blink a shadow layer at a given rate? need to blink more than one layer? This simple helper does it.
Camera Visibility: need to query the camera for the visibility of an object? This simple helper does it.
Camera Plane: do you want a multiplane 2D game? this simple helper lets you set it up in seconds.
Transform Snap: Slowly moving objects combined with a slowly moving camera may result in jitter under certain conditions. This helper eliminates the last reason for jitter, giving you the rock-solid pixel look.
Pixel Sprite shader: Sometimes a component is not an option. Eliminate jitter in your particles with a Pixel Sprite material, which will snap to integer pixel positions.
Pooler: don't create and destroy multiple objects too often, reuse them instead for better performance! Pooler let's you create a pool of inactive game objects (bullets, explosions, etc) that you can "borrow" and then return to the pool instead of creating and destroying, improving your game's performance. This flexible solution doesn't impose too much on your project's organization.