Author Topic: Scrolling effect  (Read 3616 times)

0 Members and 1 Guest are viewing this topic.

Kon-Tiki

  • Guest
Scrolling effect
« on: March 29, 2003, 09:30:33 AM »
Everybody, put your minds together. Scrolling is something that hasn't been figured out in AGI yet. It's something that would drastically increase the quality of our games as well. Just think of that scrolling intro where your character climbs up that huge tree to pick an apple.

I've considered doing it with views, but the problem with that is that the graphical quality's pretty low (it's too squary) and it eats up tons of memory. What'd be best is if there're as much pics and as less big views used as possible.

-Kon-Tiki-



Offline Allen

Re:Scrolling effect
« Reply #1 on: March 29, 2003, 09:43:12 AM »
I suppose you could use vars 2 & 11...
Code: [Select]
if(v2 == ?){
v11 = 0;
 if(v11 == 1){
  load.pic(?);
  draw.pic(?);
  disard.pic(?);
  v11 = 0;
   if(v11 == 1){
   load.pic(?);
   draw.pic(?);
   disard.pic(?);
   v11 = 0;  
    if(v11 == 1){
     ...
     ...
     ...
http://www.mizpro.co.uk
The new home of Mizar Productions.

It is a sign!

Kon-Tiki

  • Guest
Re:Scrolling effect
« Reply #2 on: March 29, 2003, 09:54:29 AM »
The main idea of scrolling is that the character stays in the middle of the screen (or wherever he/she is). That code'd work with some adaptions, but it would require ego to move around, not the background. Scrolling is mainly moving the background and keeping the objects on their place.

-Kon-Tiki-

Offline Patrick

Re:Scrolling effect
« Reply #3 on: March 29, 2003, 10:05:12 AM »
are you meaning to expland the 320x168 picture...if not wouldnt oyu have to draw biggerones?


Kon-Tiki

  • Guest
Re:Scrolling effect
« Reply #4 on: March 29, 2003, 10:21:38 AM »
Seems like there's some confusion about what kind of scrolling I mean. It's that the main character stays in place while the background moves, making it look like the main character is moving through changing scenery.

-Kon-Tiki-

Offline Oliver

Re:Scrolling effect
« Reply #5 on: March 29, 2003, 10:32:45 AM »
Do you mean like in AGS?
You got it!
The New website of Extime is ready!
http://www.hot.ee/extime
Also, there is a message-board at:
http://www.zone.ee/eostuff/forum/index.php

Kon-Tiki

  • Guest
Re:Scrolling effect
« Reply #6 on: March 29, 2003, 11:00:10 AM »
Nope, not scrolling to a different part of the screen when touching the horizon.  What I mean is this (& = ego):

1) ----------------------------------------------------------
       O           O          O          O          /-----\     O
        |            |  &       |           |           |       |     |
     ---------------------------------------------------------

2) ----------------------------------------------------------
    O           O          O          O          /-----\     O    
     |            |     &    |           |           |       |     |
     ---------------------------------------------------------
3) ----------------------------------------------------------
             O          O          O          /-----\     O     O
              |         &|           |           |       |     |      |
     ---------------------------------------------------------
4) ----------------------------------------------------------
          O          O          O          /-----\     O     O
           |           | &        |           |       |     |      |
    ---------------------------------------------------------
5) ----------------------------------------------------------
       O          O          O          /-----\     O     O
        |           |    &     |           |       |     |      |
   ---------------------------------------------------------

I hope this makes it clear.

-Kon-Tiki-

Offline Patrick

Re:Scrolling effect
« Reply #7 on: March 29, 2003, 12:37:59 PM »
a swaying background...like on a boat?


Kon-Tiki

  • Guest
Re:Scrolling effect
« Reply #8 on: March 29, 2003, 02:15:37 PM »
Yep, could be used for that as well. Or a rolling background (what those pics should show, but kinda suck at it)

-Kon-Tiki-

Offline Chris Cromer

Re:Scrolling effect
« Reply #9 on: March 29, 2003, 02:47:05 PM »
It "might" be possible, but the AGI engine wouldn't be the solution. You would have to draw all the pictures as views instead of picture resources. Then make those animated views look like they where moving backward.

As for the ego, just erase him, then draw a second character that responds to the arrow keys by walking in place.

It would be very complicated/hard, especially since the engine doesn't support such a thing.
Chris Cromer

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

Offline Allen

Re:Scrolling effect
« Reply #10 on: March 30, 2003, 04:03:41 AM »
You mean like the thingy in SQ2? Hmm....
http://www.mizpro.co.uk
The new home of Mizar Productions.

It is a sign!

Offline Patrick

Re:Scrolling effect
« Reply #11 on: March 30, 2003, 07:58:34 AM »
YEAH! THATS WHERE IVE SEEN IT B4!!!!!


Offline Chris Cromer

Re:Scrolling effect
« Reply #12 on: March 30, 2003, 03:51:56 PM »
That isn't an actually scrolling thing. All it is, is just a picture of a tree moving to the right repeadily to give the illusion your moving.
Chris Cromer

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

Kon-Tiki

  • Guest
Re:Scrolling effect
« Reply #13 on: March 30, 2003, 04:13:21 PM »
That's what I meant. Anyways, I did it with a view and it came out ok (thanks to Tricke for checking if the effect was as I wanted it to be). You can find it here


Edit: Damnit, 30Kb attachment? That took half an hour of my time (uploading program acting up, internet falling out, etc)

-Kon-Tiki-

Offline Chris Cromer

Re:Scrolling effect
« Reply #14 on: March 30, 2003, 04:15:55 PM »
Very nicely done. :)
Chris Cromer

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


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

Page created in 0.032 seconds with 17 queries.