![]() |
I'll just say it's pointless to try to recolor pics1 to your liking. There are a few reasons as to why:
1) It rarely looks better. 2) Because of what you did... just messed with contrast/brightness. 3) People are familiar with pics1. Changing it invokes familiarity but with a huge topping of "eww, I hate change." Especially when combined with above reasons. 4) What's the point? Also, ditch the emphasized shadows. Rarely does a game pull it off artfully, and I can't say I've ever seen a 2d game do it. In fact, only a few games come to mind. One is Okami, and the other are a few comic-book-based artstyle games... which I can't even recall by name. Again, like I said... can't say I've ever seen it in any 2d games... Though I guess NES games did it, but that had more to do with limitations than anything. Never on a top-down game, only platformers. Just don't waste the effort. |
new problem. i am using this code to try and use my tileset (not that one a new one i made with alot more stuff) on the offline editor. i saved it as revernia_tileset. Any tips on what i did wrong?
//#CLIENTSIDE if (created) { addtiledef revernia_tileset.png} 1 } |
Quote:
2:Your code is wrong! Hint: //#CLIENTSIDE function onCreated() { addtiledef revernia_tileset.png,#L,1; } #L can be replaced by the level name but will do if you try it on one level in offline editor 1 being the type of the tileset. I guess you're going for the organized type, if it was made on a template such as pics1.png, then the type is 0. |
PHP Code:
PHP Code:
If the tileset is a 'type 1' tileset you will need to change the '0' at the end to a '1'. Type 0 tilesets are laid out like pics1.png whereas type 2 tilesets are laid out like Era's, GK's, etc. You should delete the script before uploading to a server. The GS2 equivalent (for online use) is: PHP Code:
Quote:
He said he was using the offline editor, so he needs to use GS1. In addition, the "hint" you gave was even worse than the original snippet he provided in that it combines GS1 and GS2. |
Quote:
also, I'm no scripter, but what I did usualy works for me. Do you mean I forgot like the () and ""? I never thought those were really needed, my bad. |
cbk i copied and pasted the second code onto it and the original pics1 tileset got deleted and the entire level went black.
|
Quote:
|
Quote:
Quote:
Quote:
PHP Code:
Quote:
|
1 Attachment(s)
|
Shouldn't techno doggeh be in that tileset?
|
Your tileset name is different than the one used in the script and it is also a 24bit png.
I can't really remember if 24bit png's work in offline editor, but best would be to make it 8bit. Try using the correct filename in the script first and see if it changes anything, if not then just make a second version of your tileset to use in offline editor only, and as 8bit png, then use the first one (24bit) online. |
24-bit PNGs don't work in the editor. Soala is correct, you should use two different tilesets if you require >256 colors (one online, one offline).
|
Quote:
|
Quote:
|
i did the same thing as before again only this time i saved it as an 8 bit file and renamed the 8 bit file to revernia_tileset2.png copied the code, changed it to the new files name, clicked close, and everything went black again.
|
All times are GMT +2. The time now is 07:58 PM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.