Sliding Map Transition
ORIGINAL CODE BY DAVE
Difficulty: 3/5 - Requires understanding
Backup your source!
Tutorial Subject to Change with new versions of MS4
Example: http://www.youtube.com/watch?v=wh77gAUOKSE
(Note: Game featured is Merrimint)
[Edit by Dave: tutorial removed because it was copy and paste]
[Edit by Robin: tutorial removed because it was just images with code in them]
Posts: 2,742
Threads: 115
Joined: Jun 2006
Reputation:
0
:roll:
Nice, just make it C&P.
At least write it out so people learn something from it.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Sorry, I meant to mention, I will add explanations tomorrow, I just wanted to actually get it up first, a bit busy IRL at the moment :roll:
Seems to me like it needs Optimized Surfaces, because it uses MiddleBuffer, LowerBuffer, and UpperBuffer.
Then again, I'm probably wrong. :|
Posts: 2,742
Threads: 115
Joined: Jun 2006
Reputation:
0
It's built for the latest version of Mirage, which comes with optimised surfaces.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
It works fine with a Vanilla MS3.43, not sure what DFA and Dave has changed/removed since then though.
Wouldn't it be better to just move the map on the same layer instead of doing it on another one? It would be harder, however...I think?
Ah well I guess I just think of hard ways to do things.
Nice work, though.
I've found a bug in the transition. When the map slides, it displays the tile at the top of the column that your tile is in, as opposed to the tile itself. I will have a look at the code and see what is wrong.
I made a copy of it too. I also don't intend to use it on my game (nor scrolling maps). Though I do have a project in mind that sliding maps would be use full for, I think I'm just gonna use MS4 (or whatever it's called these days)
Damnett, I didn't get a copy of it.. Lol.
Posts: 2,742
Threads: 115
Joined: Jun 2006
Reputation:
0
Asrrin29 Wrote:I had a feeling that would happen, which is why I made a copy for personal use 
not like I'm going to use it though, because I'm trying to get scrolling maps working on mine.
You mean Dugor is.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
Somebody PM this to me, please :?
I know I just want to see how you did it and since I've never tried to do it myself I don't know how to.
Download the source that has it? It's really not that hard.
Posts: 2,742
Threads: 115
Joined: Jun 2006
Reputation:
0
Download the patch file and add it in? :|
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
It's not in the source yet besides the SVC patch (right?) and I can't get subversion to work yet.
GIAKEN Wrote:It's not in the source yet besides the SVC patch (right?) and I can't get subversion to work yet.
It's plaintext. Open it in notepad or something.
Acruno Wrote:GIAKEN Wrote:It's not in the source yet besides the SVC patch (right?) and I can't get subversion to work yet.
It's plaintext. Open it in notepad or something.
No I did that and it was just a bunch of binary.
No..
Try again.
Trust me, it's in plaintext.
Oh...well I could have sworn it wasn't...
Well I got like 3 PMs and an email so I'm good. Thanks
*shrugs*
People enable people to be noobs Dave. You know that.
Giaken will forever be one. *shakes head* It's a shame.
Posts: 2,742
Threads: 115
Joined: Jun 2006
Reputation:
0
Perfekt Wrote:*shrugs*
People enable people to be noobs Dave. You know that.
Giaken will forever be one. *shakes head* It's a shame.
I spy, with my little eye, hypocrisy.
Quote:Robin:
Why aren't maps and shit loaded up in a dynamic array?
Jacob:
the 4 people that know how are lazy
Robin:
Who are those 4 people?
Jacob:
um
you, me, and 2 others?
A hypocrite is someone who...But then, who isn't?
|