1 decade ago
by Joncom
I'm playing with the thought of seemless maps, kind of like how the game World of Warcraft works (no load times between areas).
I'm just trying to get an idea of what the best way to come at this would be...
Perhaps by adding in data dynamically to the "currently loaded map", and removing data that the user is "far away from".
Anybody done something like this before?
1 decade ago
by paulh
you an just teleport between maps and repeat the join, it will make your level designers/testing easier?
1 decade ago
by Joncom
Teleporting between maps creates a "jumping" or "jerky" feel that I'm trying to avoid. I'd like the player to feel like they are in one giant world, not many small maps.
1 decade ago
by paulh
i mena you can make the "teleport" invisible by duplicating scenary, it a simpler version of what a lot of games use :-) no need for their to be any jump or jerk, you can essentialy stream the next load when player approaches a border.
That sounds like a good solution that could work in most situations and wouldn't require any kind creative code solutions just stock Impact.
1 decade ago
by Joncom
I'm mulling over the map system right now and I'm curious about x and y positions. Let's say I have a map loaded, then that means x:0, y:0 is the top left of the map.
If the player walks to the left-most point of the map and keeps walking (and another map should have gotten tacked on as if a part of the same map), then won't the x position be moving into the negatives?
Would this simply mean that the players coordinates are always relative to the
first map they spawn in?
edit: I found a very interesting article on the subject:
http://scottbilas.com/files/2003/gdc_san_jose/continuous_world_paper.pdf
edit2: It turns out the whole idea is a bit overkill. I've got a 800x380 tile map in Weltmeister right now and performance (in-game and out) is just fine. The map is only about 2MB so far.
1 decade ago
by paulh
wow, let us know how that performs on mobile if you test it?
1 decade ago
by Joncom
Quote from paulh
wow, let us know how that performs on mobile if you test it?
Ran on my iPad first with a 20x20 tile map pre-rendered map, ran with 30+ fps.
Ran again using the 800x380 tile map, got the following error:
JavaScript: Error
undefined
INDEX_SIZE_ERR: DOM Exception 1: Index or size was negative, or greater than the allowed value.
Lame.
1 decade ago
by paulh
:-) thanks for the answer, good luck ...
Page 1 of 1
« first
« previous
next ›
last »