UnderwareDESIGN

PlayBASIC => Show Case => Topic started by: slayer93 on July 06, 2009, 09:00:23 PM

Title: Tile Based(Platform) Level Editor
Post by: slayer93 on July 06, 2009, 09:00:23 PM
Woo! Another Level Editor...

Well after looking through my PlayBasic projects I realized I didn't release the level editor for my Heroes Compo game. So here it is, although lacking a lot of features that I wanted(which I may add once I rewrite my platform game). It does have the basic features you need in a level editor, however it uses its own file format for the maps (at the time I never realized that PlayBasic had its own format for maps I could use).

I've included the source and the tile set I used for my game. Its also fairly easy to use, scroll the map using the arrowkeys and place/select tiles using the mouse. You will also be able to select and hide layers with the buttons on the side (only 3 layers but I may make it dynamic). And although it says Platform Editor I'm sure its basic enough where it can apply to different tile based games however if I do update it, it will be geared towards Platform games.

I think that's it, hope someone finds it useful for their games :).
Title: Re: Tile Based(Platform) Level Editor
Post by: Makeii Runoru on July 06, 2009, 11:23:10 PM
Perhaps you could also use a tool for collision, such as a box, slope, harmtile, etc.
Title: Re: Tile Based(Platform) Level Editor
Post by: slayer93 on July 07, 2009, 07:20:08 PM
I may make something like that if/when I start working on this again although that would come after I add in a bunch of the things I wanted :P.
Title: Re: Tile Based(Platform) Level Editor
Post by: Makeii Runoru on July 27, 2009, 10:05:03 PM
I just noticed FPS 19 in the screenshot. Does the software bog own RAM too much?
Title: Re: Tile Based(Platform) Level Editor
Post by: slayer93 on July 29, 2009, 11:32:42 AM
I don't think it should of but it was my first project in PB and I was rushing for the competition so there are plenty of problems in it.
Title: Re: Tile Based(Platform) Level Editor
Post by: Makeii Runoru on August 02, 2009, 01:22:28 AM
I ran it alright. I was also running some auto-macros for a game, and when it used it, it slowed down the FPS a bit, but other than that, it ran around 45-55 FPS alright. Is the FPS setting on 60?
Title: Re: Tile Based(Platform) Level Editor
Post by: kevin on August 02, 2009, 03:05:53 AM

It's seems like a good editor, but using sprites for the map isn't the best the idea, coupled with the tile size you get lots of dead rendering time.. As per    Economizing Image Blitting (drawing!) (http://www.underwaredesign.com/forums/index.php?topic=1799.0)

Title: Re: Tile Based(Platform) Level Editor
Post by: slayer93 on August 04, 2009, 11:24:21 AM
QuoteI ran it alright. I was also running some auto-macros for a game, and when it used it, it slowed down the FPS a bit, but other than that, it ran around 45-55 FPS alright. Is the FPS setting on 60?

Yeah its been set to 60

QuoteIt's seems like a good editor, but using sprites for the map isn't the best the idea, coupled with the tile size you get lots of dead rendering time.. As per    Economizing Image Blitting (drawing!)

Seems like I still have a bit to learn about PB, anyways if I start working on this again I might just remake the entire thing :P
Title: Re: Tile Based(Platform) Level Editor
Post by: Makeii Runoru on August 06, 2009, 02:03:45 PM
Indeed. Sometimes it is necessary to write a rough draft before refining and possibly rewriting it altogether.
Title: Re: Tile Based(Platform) Level Editor
Post by: kevin on August 06, 2009, 04:08:06 PM
Slayer93,

QuoteSeems like I still have a bit to learn about PB,

     Well,  I wouldn't worry too much about it, as if you look through a lot of PB programs you'll notice it's a pretty common mistake.