Skip to content

New: App Starter Pack — 368 files for a new app at $199 (Save 64%)See the pack

RocketsGiftsVAP

Rocket gifts in VAP: gift, lucky burst and launch at five levels

Rockets are where VAP shines: fire, light and starfields that would be heavy frame by frame. How the Rocket LV, Rocket Large Level and Crystal Sky Rocket packs are built, and how to play them in sequence.

svgastore team3 min read

Crystal Sky Rocket Lv 3 animation
Crystal Sky Rocket Lv 3

A rocket gift is a promise of spectacle: smoke, flame, a streak of light and a sky full of stars. Those are exactly the things that frame-by-frame formats find expensive, because every glowing pixel has to be stored as an image. VAP stores them as video instead. A VAP file is an MP4 that carries its colour and its transparency side by side, so a rocket can fly across a live room with real lighting and still weigh well under a megabyte.

October added three rocket families in VAP.

The three-part rocket

Both the Rocket LV and Rocket Large Level series split each rocket into three files, and the split is worth copying for any rocket feature:

  1. Gift. A short one-second clip of the rocket itself, for the moment it is sent or shown in the gift panel.

  2. Luck (burst). A two- to four-second burst, for the moment the rocket pays out to the room.

  3. Launch. The full-screen take-off, three to five seconds long.

Splitting them lets your app play the parts at different times: the gift when someone sends it, the launch when the rocket's progress bar fills, and the burst when the reward drops.

Rocket LV: five colour pairs

The Rocket LV Full Pack has five levels: gold and blue, sapphire and silver, purple and gold, crimson and gold, and ruby and gold. Each rocket sits under a winged TOP 1 crest, and the launch heads into a galaxy.

PieceCanvasLengthSize
Gift750×13341 s at 20 fps174–246 KB
Luck750×13342 s at 20 fps362–444 KB
Launch750×16243 s at 20 fps795–811 KB

Rocket Large Level: bigger, with sound

The Rocket Large Level Full Pack is the heavier series: copper, silver and emerald, gold and sapphire, gold and amethyst, and gold and ruby. Every file is 750×1624 at 15 fps, and the bursts and launches carry their own sound, ten files with audio in all.

PieceLengthSize
Gift1 s203–244 KB
Luck, with sound3.9 s945–957 KB
Launch, with sound4.7 s1.13–1.23 MB

Both series are also sold one level at a time, three files each, so you can start with level 1 and add more as your rocket feature grows.

Crystal Sky Rocket: three showpieces

The Crystal Sky Rocket Pack takes a different approach. Instead of a three-part rocket, each level is one long full-screen gift at 750×1334 and 30 fps:

  • Lv 1 (7 s, 3.16 MB): a silver rocket that ends in a shower of gold coins.

  • Lv 2 (7 s, 2.77 MB): a rocket through lightning into a rain of gift boxes.

  • Lv 3 (8 s, 3.35 MB): a crystal rocket off a red planet into the biggest gift-box blast.

These are top-of-the-panel gifts. At around 3 MB each, pre-download them on Wi-Fi so the first send never waits.

Playing VAP in your app

VAP needs its own player, separate from your SVGA player. The open-source VAP player has versions for Android, iOS and the web, and each reads the alpha layout from the file itself. A few practical points:

  • Hardware decoding does the heavy lifting, so VAP is usually smooth even on budget phones. Test on your lowest supported device anyway.

  • Sound is part of the MP4. Decide whether rocket sounds play by default and respect the user's sound setting.

  • One full-screen VAP at a time. Queue launches rather than overlapping them.

  • Keep a fallback. If a device cannot decode the file, show a still and the reward text rather than nothing.

Next step

Decide how many rocket levels your feature has and whether you want the three-part rocket or one showpiece per level. Then play the files in the free viewer, which plays VAP with transparency, over a screenshot of your room. All rocket sets are pack-only.

In this post

The files we talked about

All posts