Kon-Tiki |
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-
|
rwfromxenon |
I suppose you could use vars 2 & 11...
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){ ... ... ...
|
Kon-Tiki |
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-
|
smartguy240 |
are you meaning to expland the 320x168 picture...if not wouldnt oyu have to draw biggerones?
|
Kon-Tiki |
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-
|
Oliver |
Do you mean like in AGS?
|
Kon-Tiki |
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-
|
smartguy240 |
a swaying background...like on a boat?
|
Kon-Tiki |
Yep, could be used for that as well. Or a rolling background (what those pics should show, but kinda suck at it)
-Kon-Tiki-
|
AGI1122 |
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.
|
rwfromxenon |
You mean like the thingy in SQ2? Hmm....
|
smartguy240 |
YEAH! THATS WHERE IVE SEEN IT B4!!!!!
|
AGI1122 |
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.
|
Kon-Tiki |
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-
|
AGI1122 |
Very nicely done. :)
|
smartguy240 |
As for the scrolling...if just a scrolling part is that good...cant WAIT to play the game! Keep up the good work Raf! :D
-"Tricke"
|
Kon-Tiki |
Thankies, and yep, I'm trying to make this game top quality (unlike Little Pirate :-\ ), meaning I'm acting perfectionistic with it. I hope to release it end this week, but it can be somewhere next week as well. Depends on my research and testers.
-Kon-Tiki-
|
Oliver |
Wow raf! :D That's really cool. :)
|