Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Scrolling Maps
#1
So I asked this a few times now. But havnt gotten a good answer yet, or any at all really. What scrolling map code do you use? Who made it? I need one for k2h and I honestly dont know how to start it. So if anybody want to learn together or somebody want to teach me or something, or show me a url to a working one. That'd be great.
Reply
#2
There is no fully finished tut. There never will be. But Misunderstood's tut is a very good optimization of Verrigan's original tutorial. That's the one I used for FPO.
Reply
#3
Wanna url me? But I know Ive seen finished tuts out there before.
Reply
#4
http://www.animerealm.co.uk/uploads/tut ... 0Maps.html

The scrolling part is finished, but the seamless isn't.
Reply
#5
I never really unerstood the difference. Seamless is when there is one big map? I dont want that, I just want the basic scrolling 40*40maps.
Reply
#6
No, seamless is when npcs can transfer maps and such, I think. Or at least be able to see items, players, npcs, etc on the other maps.

As for 40x40, this works with w/e size your picscreen is. So your picscreen would have to be 1280x1280. That's a really big resolution that most people don't have, myself included. ^_^
Reply
#7
I dont understand what you mean? Would I need that resolution for it to work?
Reply
#8
No will, once wanted scrolling maps like you want here, but it does add to the lag factor quite alot >.<

especialy with actions, dying can take like 5 seconds xD
Reply
#9
You can use the es scrolling with maps bigger than the picscreen, but not this system.

My maps fit to an 800x600 res.

And that's like 24x18 in map size.
Reply
#10
Hmm, but es scrolling can have any size of the picscreen? Thought I heared that or something.
Reply
#11
Pretty much. If you want to rip the code.
Reply
#12
Perfekt Wrote:Pretty much. If you want to rip the code.
I dont see any other choises.
Reply
#13
You do understand the ES system only scrolls for a little while then you hit the end of the map and it's like the default ms for transferring maps. But if you use the tut I posted, it's a never ending scrolling, unless you keep the bit of code Mis added to stop the scrolling if there is no map connected. But honestly, Verrigan has even told me it's not hard to finish the seamless, it's just time consuming. But it looks so much better in the long run.
Reply
#14
I just want something that works, Im trying to get my game up and running. And I dont have any experience in doing seamless scrolling. Ill try and rip es, how hard can it be.
Reply
#15
As bad as it's coded? Pretty damn hard. Going to be a lot of useless stuff involved.

Good luck. I personally wouldn't use the system. I had problems with it when I was testing Konfuze. =\
Reply
#16
I tried their scrolling maps, if you have another person on the map with you, it lags like hell. Wouldn't recommend using it.
Reply
#17
Their scrolling maps code is fine.

Of course, if you aren't gonna do a simple optimisation to the way it's loaded and blted, you're gonna lag like a penguin!
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?
Reply
#18
Perfekt Wrote:There is no fully finished tut. There never will be.
Perfekt Wrote:As bad as it's coded? Pretty damn hard. Going to be a lot of useless stuff involved.

Good luck. I personally wouldn't use the system. I had problems with it when I was testing Konfuze. =\
Hypocrite. If it's so badly coded, do it better and make a tutorial about it. Also, if you had problems with it, it's probably your own fault, cause the scrolling stuff works 100%.
Reply
#19
Joost Wrote:
Perfekt Wrote:There is no fully finished tut. There never will be.
Perfekt Wrote:As bad as it's coded? Pretty damn hard. Going to be a lot of useless stuff involved.

Good luck. I personally wouldn't use the system. I had problems with it when I was testing Konfuze. =\
Hypocrite. If it's so badly coded, do it better and make a tutorial about it. Also, if you had problems with it, it's probably your own fault, cause the scrolling stuff works 100%.

Stfu. I'm talking about when GSD and Fox and Unreal all had the ENGINE not the source out. I joined when they first released, just to help test. There was bugs. It's still buggy. I don't need to make it better and release a tut. I don't care. I was just trying to help William. So again, stfu. You annoying prick.
Reply
#20
What exactly is seamless scrolling maps? I didn't quite get what Fox was trying to say. Does that mean that you have on big map, or every little map is connected to form one large map, but you load all of them at the same time?
Reply
#21
Seamless scrolling loads 9 maps around you. True seamless would also load surrounding NPCs, players, and items, and allow npcs to walk from map to map. So far there is no full tutorial for seamless scrolling.

One big map would be sharding. Sharding only loads the tiles that are visible on the game screen. It is possible to combine seamless and sharding, so that only visible tiles from the 9 surrounding maps get loaded.

Elysium has more what I would call "camera scrolling". As the maps are too big for the screen, so it only scrolls when you leave one edge of the map.
Reply
#22
Sonire Wrote:Seamless scrolling loads 9 maps around you. True seamless would also load surrounding NPCs, players, and items, and allow npcs to walk from map to map. So far there is no full tutorial for seamless scrolling.

One big map would be sharding. Sharding only loads the tiles that are visible on the game screen. It is possible to combine seamless and sharding, so that only visible tiles from the 9 surrounding maps get loaded.

Elysium has more what I would call "camera scrolling". As the maps are too big for the screen, so it only scrolls when you leave one edge of the map.

Just so you know, Mis already combined that with the seamless. The tut he posted, which is a optimization of Verrigan's tut, only loads the tiles shown.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)