Author Topic: Picture on Picture?  (Read 1626 times)

0 Members and 1 Guest are viewing this topic.

Offline Parabola

Picture on Picture?
« on: August 30, 2002, 07:33:50 PM »
i have noticed in some games (Dave's Quest, Goldrush) that there apear to be picture files with something like a tree that end up on top of another picture in the game. like the cut away stairwell in Dave's Quest.

Could someone please explain this technique or point me in the direction of some info about it? thanx :-\


We are etenal, Pain is an illusion.

Offline Chris Cromer

Re:Picture on Picture?
« Reply #1 on: August 30, 2002, 08:10:17 PM »
It is really simple to do:

Code: [Select]
   v38 = x;
    load.pic(v38);
    overlay.pic(v38);
    discard.pic(v38);
    show.pic();

Just change x to the picture you want to overlay over your current pic.

All it does is draw the new pic on the old pic.
« Last Edit: August 30, 2002, 08:10:50 PM by Chris Cromer »
Chris Cromer

It's all fun and games until someone get's hurt then it's just fun. ;)

Offline Parabola

Re:Picture on Picture?
« Reply #2 on: August 30, 2002, 08:14:53 PM »
thanx for that chris :)
We are etenal, Pain is an illusion.

Offline Andrew_Baker

Re:Picture on Picture?
« Reply #3 on: August 31, 2002, 01:13:40 AM »
In fact, if you're really clever, you can create multiple pic files that when used in different combinations, can create a polynomially greater number of total pictures.

EX:

----------------------------
| **** ** *****   *(*|
|  **       **      ***    |
----------------------------
night pic (upper half)
----------------------------
|   -*-                         |
|   /|\                          |
----------------------------
day pic (upper half)
----------------------------
|/\/\/\/\/\/\/\/\/\/\/\/\/\|
----------------------------
mountains (lower half)

This is a small and crappy example, but you could use these three pics to make the mountains be under a day-time or night-time sky.  With additional lower-half pics, the same day or night sky would double the possibilities.  Just a suggestion.
I hope you realize that one day I will devour the Earth.

Kon-Tiki

  • Guest
Re:Picture on Picture?
« Reply #4 on: August 31, 2002, 06:06:55 AM »
Wow, never knew that was possible. That certainly saves a lot of time


SMF 2.0.19 | SMF © 2021, Simple Machines
Simple Audio Video Embedder

Page created in 0.03 seconds with 16 queries.