![]() |
Dynamic tileset type 1
This won't work with type 0 tilesets.
Anyways, all the way to the right of type 1 tilesets is nothing but the top being non-blocking and the bottom being blocking. Because of this, I figure this idea might work. Have it so we can 'extend' our type 1 tilesets to the right, and just let it carry on the type of tile(blocking/non). If this doesn't make sense, just imagine being able to add on to the right of type 1 tilesets. |
Yes, please!
I've been wanting to be able to extend tilesets forever, but I never got around to making a thread. Total approval :) |
You mean for larger tilesets than 2048x512 ?
|
1 Attachment(s)
Yes... but, only adding tiles to the right of the tileset to keep things simple... look at the attachment.
In this example, the area on the right of the black lines is what I 'added' on--beyond the default tileset size. |
Cool idea
|
Do you understand how .nw files work? Each tile bit can only be a number between 0 and 4095 which means there can only be 4096 possibilities. Extending the tileset would make it impossible to place the new tiles as they would just be modulated back to the beginning tiles.
You should also take note that the blocking/non-blocking tiles on the right of type 1 and the ones to the left of them are not the same. One is foreground and one is background. |
But Stefan wouldn't be Stefan if he couldn't work around it? ^^
|
Quote:
|
Quote:
As for foreground background... I have absolutely no idea what you're talking about. |
Quote:
Just make a new, simpler format maybe? NW is pretty simple, but it could probably be made more simple. Imagine a format like this: PHP Code:
|
I support this idea.
|
All NW files have "GLEVNW01" as a header.
Stefan can just make a new format with "GLEVNW02" that would indicate that the level file is in the newer format. That way none of the old levels would be broken. Of course then Stefan has to be willing to update the level editor and all that other good stuff to support the new format if he chooses to add it. GLEVNW02 BOARD 0 0 10 0 "1,45,235,5325,533,2,42,4,25,535,324" BOARD 0 1 10 0 "1,45,44,234,124,2345,2314,123,123,412" BOARD 0 2 10 0 "34,4223,200,200,200,200,200,200,200,45" BOARD 0 3 10 0 "34,4223,200:7,45" Example of new board format (not to full size obviously) where an array of tile numbers are used. In the last line one of the entries is 200:7 meaning that 200 appears 7 times, making it identical to the line above it. A simple compression technique. |
We changed from .graal to .nw. Why not from .nw to .g5? and Maybe in this format Enable GS2! >:O
|
The problem with going to a new format is then we'd never be able to use the external level editor... that would suck :(
|
If they made a decent internal one, there would be no need for the external one.
|
| All times are GMT +2. The time now is 01:18 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.