Author Topic: Tile-Cat Map Editor  (Read 13593 times)

0 Members and 1 Guest are viewing this topic.

Offline Scipi

  • Omni Kitten Meow~ =^ω^=
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1547
  • Rating: +192/-3
  • Meow :3
    • View Profile
    • ScipiSoftware
Tile-Cat Map Editor
« on: June 22, 2011, 08:50:39 pm »
TileCat is a computer based tile mapper. My inspiration for this project was a utility for Daemons but I've made it its own project.

At the moment I have a usable release which supports creating tilemaps for visual, collision, and transitional data (or whatever you specify for each)

It produces a file with a simple format ([MapWidth],[MapHeight],[data])
(Each tile is a single byte)

Eventually I want it to export the data into an AppVar or a String for use in calculator games. I even want it to send it directly to the calculator from the program.

Here's a screenshot:



You can download here: http://dl.dropbox.com/u/10573921/Tile%20Map%20Editor.zip

Edit: Here: http://sourceforge.net/projects/tilecat/

Note the README is pretty bad but I suggest reading it nonetheless.

Future updates:

-Non-Visual modes will have background visual data updated in real time
-Better README
-Ctrl+N will start a new window in Collision or Transitional modes (right now you have to run the program and set it to those modes, in the next release it will start in visual mode by default)

NOTE:
Every Collision and Transitional map MUST have an accompanying  visual map of the same name or the program might crash.
« Last Edit: December 06, 2012, 05:11:25 pm by HOMER-16 »

Imma Cat! =^_^= :3 (It's an emoticon now!)
Spoiler For Things I find interesting:
Spoiler For AI Programming:
Spoiler For Shameless advertising:

Spoiler For OldSig:





Spoiler For IMPORTANT NEWS!:
Late last night, Quebec was invaded by a group calling themselves, "Omnimaga". Not much is known about these mysterious people except that they all carried calculators of some kind and they all seemed to converge on one house in particular. Experts estimate that the combined power of their fabled calculators is greater than all the worlds super computers put together. The group seems to be holding out in the home of a certain DJ_O, who the Omnimagians claim to be their founder. Such power has put the world at a standstill with everyone waiting to see what the Omnimagians will do...

Wait... This just in, the Omnimagians have sent the UN a list of demands that must be met or else the world will be "submitted to the wrath of Netham45's Lobster Army". Such demands include >9001 crates of peanuts, sacrificial blue lobsters, and a wide assortment of cherry flavored items. With such computing power stored in the hands of such people, we can only hope these demands are met.

In the wake of these events, we can only ask, Why? Why do these people make these demands, what caused them to gather, and what are their future plans...

Offline Scipi

  • Omni Kitten Meow~ =^ω^=
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1547
  • Rating: +192/-3
  • Meow :3
    • View Profile
    • ScipiSoftware
Re: A small, multi-purpose tile map editor utility for the computer
« Reply #1 on: June 23, 2011, 11:31:44 am »
Sorry for the double post but I finished a new version of the program.

Changes: You can now have as many images as you want as long as they are stored in the "data/" folder and are numbered png's. ie: "0.png", "1.png", "2.png", etc. Note that they must start from 0 and increment by one.

Imma Cat! =^_^= :3 (It's an emoticon now!)
Spoiler For Things I find interesting:
Spoiler For AI Programming:
Spoiler For Shameless advertising:

Spoiler For OldSig:





Spoiler For IMPORTANT NEWS!:
Late last night, Quebec was invaded by a group calling themselves, "Omnimaga". Not much is known about these mysterious people except that they all carried calculators of some kind and they all seemed to converge on one house in particular. Experts estimate that the combined power of their fabled calculators is greater than all the worlds super computers put together. The group seems to be holding out in the home of a certain DJ_O, who the Omnimagians claim to be their founder. Such power has put the world at a standstill with everyone waiting to see what the Omnimagians will do...

Wait... This just in, the Omnimagians have sent the UN a list of demands that must be met or else the world will be "submitted to the wrath of Netham45's Lobster Army". Such demands include >9001 crates of peanuts, sacrificial blue lobsters, and a wide assortment of cherry flavored items. With such computing power stored in the hands of such people, we can only hope these demands are met.

In the wake of these events, we can only ask, Why? Why do these people make these demands, what caused them to gather, and what are their future plans...

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: A small, multi-purpose tile map editor utility for the computer
« Reply #2 on: June 24, 2011, 08:02:40 am »
Does it use any Windows-Only Library? I'd like to know so I can try and make a Linux Build.

Either way, this is a nice project!

Offline Scipi

  • Omni Kitten Meow~ =^ω^=
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1547
  • Rating: +192/-3
  • Meow :3
    • View Profile
    • ScipiSoftware
Re: A small, multi-purpose tile map editor utility for the computer
« Reply #3 on: June 24, 2011, 08:23:09 am »
SFML is available for Linux, in fact, the first few builds were Linux builds.

I tried to get my friend who has Linux to compile it for Linux but he was getting errors. It might have been his setup though, I don't use any Windows-only stuff. :)

Imma Cat! =^_^= :3 (It's an emoticon now!)
Spoiler For Things I find interesting:
Spoiler For AI Programming:
Spoiler For Shameless advertising:

Spoiler For OldSig:





Spoiler For IMPORTANT NEWS!:
Late last night, Quebec was invaded by a group calling themselves, "Omnimaga". Not much is known about these mysterious people except that they all carried calculators of some kind and they all seemed to converge on one house in particular. Experts estimate that the combined power of their fabled calculators is greater than all the worlds super computers put together. The group seems to be holding out in the home of a certain DJ_O, who the Omnimagians claim to be their founder. Such power has put the world at a standstill with everyone waiting to see what the Omnimagians will do...

Wait... This just in, the Omnimagians have sent the UN a list of demands that must be met or else the world will be "submitted to the wrath of Netham45's Lobster Army". Such demands include >9001 crates of peanuts, sacrificial blue lobsters, and a wide assortment of cherry flavored items. With such computing power stored in the hands of such people, we can only hope these demands are met.

In the wake of these events, we can only ask, Why? Why do these people make these demands, what caused them to gather, and what are their future plans...

Offline calcfreak89

  • LV2 Member (Next: 40)
  • **
  • Posts: 25
  • Rating: +1/-0
    • View Profile
    • Ayebear.com
Re: A small, multi-purpose tile map editor utility for the computer
« Reply #4 on: June 24, 2011, 12:18:45 pm »
Some improvements that should be done:

  • It should draw a thin huge rectangle that isn't black around the entire map, so you can see the boundaries. EDIT: Maybe just stop the user from panning outside of the boundaries.
  • The tile selection could me more intuitive if we figured out a way to click on the tiles (I know how to do that, but I would have to combine everything into 1 window)
  • A major performance increase for huge maps would be to not draw the stuff that you can't see

I will do this later, and I will try to get it working on Linux. I have never had this issue before for building my other games/SFML programs for Linux.
« Last Edit: June 24, 2011, 12:32:35 pm by calcfreak89 »

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: A small, multi-purpose tile map editor utility for the computer
« Reply #5 on: June 24, 2011, 12:32:05 pm »
SFML is available for Linux, in fact, the first few builds were Linux builds.

I tried to get my friend who has Linux to compile it for Linux but he was getting errors. It might have been his setup though, I don't use any Windows-only stuff. :)

"||=== Tile Map Editor, Release ===|
/home/david/Documents/Calculators/Random Calculator Stuff/Tile Map Editor/main.cpp|2|fatal error: SFML/Graphics.hpp: No such file or directory|
||=== Build finished: 1 errors, 0 warnings ===|"

It seems like I have to install SFML on Linux.

Offline calcfreak89

  • LV2 Member (Next: 40)
  • **
  • Posts: 25
  • Rating: +1/-0
    • View Profile
    • Ayebear.com
Re: A small, multi-purpose tile map editor utility for the computer
« Reply #6 on: June 24, 2011, 12:35:00 pm »
SFML is available for Linux, in fact, the first few builds were Linux builds.

I tried to get my friend who has Linux to compile it for Linux but he was getting errors. It might have been his setup though, I don't use any Windows-only stuff. :)

"||=== Tile Map Editor, Release ===|
/home/david/Documents/Calculators/Random Calculator Stuff/Tile Map Editor/main.cpp|2|fatal error: SFML/Graphics.hpp: No such file or directory|
||=== Build finished: 1 errors, 0 warnings ===|"

It seems like I have to install SFML on Linux.

Yes. Install libsfml-dev (it also depends on about 5 other packages) if your using Ubuntu or an Ubuntu based distro, and then it should automatically work with your IDE. I use Code::Blocks and it works perfectly with it without configuring anything.

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: A small, multi-purpose tile map editor utility for the computer
« Reply #7 on: June 24, 2011, 12:38:14 pm »
"How big do you want", what is that? Also after installing libsfml-dev and it's dependencies, it compiled and then when I tried running it sort of crashed, but I need to try different values in the terminal.

EDIT: It always crashes
« Last Edit: June 24, 2011, 12:38:53 pm by Scout »

Offline Scipi

  • Omni Kitten Meow~ =^ω^=
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1547
  • Rating: +192/-3
  • Meow :3
    • View Profile
    • ScipiSoftware
Re: A small, multi-purpose tile map editor utility for the computer
« Reply #8 on: June 24, 2011, 12:41:02 pm »
Quote
"How big do you want"

How large you want the tile map to be. Two values X then Y.

Is it crashing after you input the values to use? Try loading the map.

Imma Cat! =^_^= :3 (It's an emoticon now!)
Spoiler For Things I find interesting:
Spoiler For AI Programming:
Spoiler For Shameless advertising:

Spoiler For OldSig:





Spoiler For IMPORTANT NEWS!:
Late last night, Quebec was invaded by a group calling themselves, "Omnimaga". Not much is known about these mysterious people except that they all carried calculators of some kind and they all seemed to converge on one house in particular. Experts estimate that the combined power of their fabled calculators is greater than all the worlds super computers put together. The group seems to be holding out in the home of a certain DJ_O, who the Omnimagians claim to be their founder. Such power has put the world at a standstill with everyone waiting to see what the Omnimagians will do...

Wait... This just in, the Omnimagians have sent the UN a list of demands that must be met or else the world will be "submitted to the wrath of Netham45's Lobster Army". Such demands include >9001 crates of peanuts, sacrificial blue lobsters, and a wide assortment of cherry flavored items. With such computing power stored in the hands of such people, we can only hope these demands are met.

In the wake of these events, we can only ask, Why? Why do these people make these demands, what caused them to gather, and what are their future plans...

Offline calcfreak89

  • LV2 Member (Next: 40)
  • **
  • Posts: 25
  • Rating: +1/-0
    • View Profile
    • Ayebear.com
Re: A small, multi-purpose tile map editor utility for the computer
« Reply #9 on: June 24, 2011, 12:41:05 pm »
"How big do you want", what is that? Also after installing libsfml-dev and it's dependencies, it compiled and then when I tried running it sort of crashed, but I need to try different values in the terminal.

EDIT: It always crashes

That is the size of the map in tiles, just type in "20 30" without quotes if you want a 20 by 30 map.

Edit: HOMER-16 ninja'd me by 3 seconds :'(
« Last Edit: June 24, 2011, 12:42:25 pm by calcfreak89 »

Offline Munchor

  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6199
  • Rating: +295/-121
  • Code Recycler
    • View Profile
Re: A small, multi-purpose tile map editor utility for the computer
« Reply #10 on: June 24, 2011, 12:43:34 pm »
Well this is looking good, but it seems like we can't replace the already drawn tiles, that's important.

Offline calcfreak89

  • LV2 Member (Next: 40)
  • **
  • Posts: 25
  • Rating: +1/-0
    • View Profile
    • Ayebear.com
Re: A small, multi-purpose tile map editor utility for the computer
« Reply #11 on: June 24, 2011, 12:44:58 pm »
Well this is looking good, but it seems like we can't replace the already drawn tiles, that's important.

Yes you can; try changing the selected tiles by using the number pad (for left click) and ctrl + number pad (for right click).

Offline Scipi

  • Omni Kitten Meow~ =^ω^=
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1547
  • Rating: +192/-3
  • Meow :3
    • View Profile
    • ScipiSoftware
Re: A small, multi-purpose tile map editor utility for the computer
« Reply #12 on: June 24, 2011, 12:45:22 pm »
You should be able to. Num keys change the tile you are using. There should be another window that shows you your tiles. For all the controls there's a readme included.


Edit:

Quote
It should draw a thin huge rectangle that isn't black around the entire map, so you can see the boundaries.

I can add that easily. In fact.. there, it's already done.  ;D
« Last Edit: June 24, 2011, 12:53:20 pm by HOMER-16 »

Imma Cat! =^_^= :3 (It's an emoticon now!)
Spoiler For Things I find interesting:
Spoiler For AI Programming:
Spoiler For Shameless advertising:

Spoiler For OldSig:





Spoiler For IMPORTANT NEWS!:
Late last night, Quebec was invaded by a group calling themselves, "Omnimaga". Not much is known about these mysterious people except that they all carried calculators of some kind and they all seemed to converge on one house in particular. Experts estimate that the combined power of their fabled calculators is greater than all the worlds super computers put together. The group seems to be holding out in the home of a certain DJ_O, who the Omnimagians claim to be their founder. Such power has put the world at a standstill with everyone waiting to see what the Omnimagians will do...

Wait... This just in, the Omnimagians have sent the UN a list of demands that must be met or else the world will be "submitted to the wrath of Netham45's Lobster Army". Such demands include >9001 crates of peanuts, sacrificial blue lobsters, and a wide assortment of cherry flavored items. With such computing power stored in the hands of such people, we can only hope these demands are met.

In the wake of these events, we can only ask, Why? Why do these people make these demands, what caused them to gather, and what are their future plans...

Offline Scipi

  • Omni Kitten Meow~ =^ω^=
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1547
  • Rating: +192/-3
  • Meow :3
    • View Profile
    • ScipiSoftware
Re: A small, multi-purpose tile map editor utility for the computer
« Reply #13 on: July 13, 2011, 06:24:14 pm »
New update: There is now support for multiple types of tile maps be they, collision, transitional, or visual. Just make sure there is a visual of the same name for Collision and transitional modes.

http://dl.dropbox.com/u/10573921/Tile%20Map%20Editor.zip

Imma Cat! =^_^= :3 (It's an emoticon now!)
Spoiler For Things I find interesting:
Spoiler For AI Programming:
Spoiler For Shameless advertising:

Spoiler For OldSig:





Spoiler For IMPORTANT NEWS!:
Late last night, Quebec was invaded by a group calling themselves, "Omnimaga". Not much is known about these mysterious people except that they all carried calculators of some kind and they all seemed to converge on one house in particular. Experts estimate that the combined power of their fabled calculators is greater than all the worlds super computers put together. The group seems to be holding out in the home of a certain DJ_O, who the Omnimagians claim to be their founder. Such power has put the world at a standstill with everyone waiting to see what the Omnimagians will do...

Wait... This just in, the Omnimagians have sent the UN a list of demands that must be met or else the world will be "submitted to the wrath of Netham45's Lobster Army". Such demands include >9001 crates of peanuts, sacrificial blue lobsters, and a wide assortment of cherry flavored items. With such computing power stored in the hands of such people, we can only hope these demands are met.

In the wake of these events, we can only ask, Why? Why do these people make these demands, what caused them to gather, and what are their future plans...

Offline Scipi

  • Omni Kitten Meow~ =^ω^=
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1547
  • Rating: +192/-3
  • Meow :3
    • View Profile
    • ScipiSoftware
Re: Tile-Cat Map Editor
« Reply #14 on: July 15, 2011, 10:57:25 am »
New Update: I gave this project a name. I felt that, since now I'm driven to improve this project until it becomes one of the best, it should have an actual title.

Edit: A screenshot of the project

« Last Edit: July 15, 2011, 11:04:07 am by HOMER-16 »

Imma Cat! =^_^= :3 (It's an emoticon now!)
Spoiler For Things I find interesting:
Spoiler For AI Programming:
Spoiler For Shameless advertising:

Spoiler For OldSig:





Spoiler For IMPORTANT NEWS!:
Late last night, Quebec was invaded by a group calling themselves, "Omnimaga". Not much is known about these mysterious people except that they all carried calculators of some kind and they all seemed to converge on one house in particular. Experts estimate that the combined power of their fabled calculators is greater than all the worlds super computers put together. The group seems to be holding out in the home of a certain DJ_O, who the Omnimagians claim to be their founder. Such power has put the world at a standstill with everyone waiting to see what the Omnimagians will do...

Wait... This just in, the Omnimagians have sent the UN a list of demands that must be met or else the world will be "submitted to the wrath of Netham45's Lobster Army". Such demands include >9001 crates of peanuts, sacrificial blue lobsters, and a wide assortment of cherry flavored items. With such computing power stored in the hands of such people, we can only hope these demands are met.

In the wake of these events, we can only ask, Why? Why do these people make these demands, what caused them to gather, and what are their future plans...