Display 2 image sequences over each other in Delphi
$30-99 USD
Скасований
Опублікований over 13 years ago
$30-99 USD
Оплачується при отриманні
Play a game card animation built by 2 image sequences (layers) with alpha, over each other, forwards or backwards. So the resulting code can be used to show an animation with any given 2 cards like the video in the attachment, by playing the sequence forward, waiting and playing backward.
A user interface is not needed, just a very primitive one to test it works. The code you'll provide will be used for showing an opening-closing animation after an image of closed cards waiting on the display.
## Deliverables
Requirements :
- no flicker with 320x180, 15fps
- 2 layers with alpha
- content will be selected using 2 card names and symbols, from set of premade image sequences I provide, which are already named conventionally
- play forward or backwards
- displayable on a background (sequences already has proper alpha for the shadow)
Preferable :
Images of 2 layers have the same content, the only difference is the alpha channel. And the alpha is same on all sequences in a layer. That means there are only 2 unique alpha sequences, 1 per layer.
So if we can inject related alpha during runtime, we can get rid of 'layer 2', even use jpegs for images, taking the data size down from 300+ MB.
You may;
- do an initialization in the beginning if you need (eg. to combine layers before playing)
- use images from a directory, or keep them in a resource
- use another format (like a .mov rather than a .png sequence)
In the attachment :
- 2 sample sequences from both layers (don't worry about the grayish shadows, it's not in our scope). I'll give you the full set.
- Sample video (just for an idea)
Image naming convention :
'[login to view URL]'
'l1' : layer ('l1' or 'l2'), '1' is the bottom, '2' is the top
'd4' : card name (like 'D'iamonds, '4')
'0001' : image number in sequence