Building level editors

Anything related in any way to game development as a whole is welcome here. Tell us about your game, grace us with your project, show us your new YouTube video, etc.

Moderator: PC Supremacists

User avatar
Arce
Jealous Self-Righteous Prick
Jealous Self-Righteous Prick
Posts: 2153
Joined: Mon Jul 10, 2006 9:29 pm

Re: Building level editors

Post by Arce »

An entire topic dedicated to level editors!? What's wrong with you guys!? How lame! I'd be caught dead before working on one of them! :shock:
<qpHalcy0n> decided to paint the office, now i'm high and my hands hurt
User avatar
MarauderIIC
Respected Programmer
Respected Programmer
Posts: 3406
Joined: Sat Jul 10, 2004 3:05 pm
Location: Maryland, USA

Re: Building level editors

Post by MarauderIIC »

by Arce on Thu Apr 02, 2009 9:49 am
Choose the best reply:
a) Quit dawdling at work!
b) Pay attention in class!
I realized the moment I fell into the fissure that the book would not be destroyed as I had planned.
User avatar
Arce
Jealous Self-Righteous Prick
Jealous Self-Righteous Prick
Posts: 2153
Joined: Mon Jul 10, 2006 9:29 pm

Re: Building level editors

Post by Arce »

MarauderIIC wrote:
by Arce on Thu Apr 02, 2009 9:49 am
Choose the best reply:
a) Quit dawdling at work!
b) Pay attention in class!
HEY. Clearcase is acting up, and the manager guy who can help isn't here!

Eh, I guess I can be checking out why this test failed...;p
<qpHalcy0n> decided to paint the office, now i'm high and my hands hurt
User avatar
MadPumpkin
Chaos Rift Maniac
Chaos Rift Maniac
Posts: 484
Joined: Fri Feb 13, 2009 4:48 pm
Current Project: Octopia
Favorite Gaming Platforms: PS1-3, Genesis, Dreamcast, SNES, PC
Programming Language of Choice: C/++,Java,Py,LUA,XML
Location: C:\\United States of America\Utah\West Valley City\Neighborhood\House\Computer Desk

Re: Building level editors

Post by MadPumpkin »

Arce wrote:An entire topic dedicated to level editors!? What's wrong with you guys!? How lame! I'd be caught dead before working on one of them! :shock:
says the creator of quite possibly the best level editor ever :}

i love you Arce!!! LEVEL EDITORS ROCK! AND YOURS IS BOMBB!!!!!
While Jesus equipped with angels, the Devil's equipped with cops
For God so loved the world that he blessed the thugs with rock
Image
Image
Image
Ewan
Chaos Rift Cool Newbie
Chaos Rift Cool Newbie
Posts: 62
Joined: Mon Mar 23, 2009 11:46 am

Re: Building level editors

Post by Ewan »

MadPumpkin wrote:
Arce wrote:An entire topic dedicated to level editors!? What's wrong with you guys!? How lame! I'd be caught dead before working on one of them! :shock:
says the creator of quite possibly the best level editor ever :}

i love you Arce!!! LEVEL EDITORS ROCK! AND YOURS IS BOMBB!!!!!
Kissass.










You're amazing Arce :worship:
They pull out the truncheon, that's when the trouble starts.

'Cause when you've got a badge, the laws don't apply.
User avatar
eatcomics
ES Beta Backer
ES Beta Backer
Posts: 2528
Joined: Sat Mar 08, 2008 7:52 pm
Location: Illinois

Re: Building level editors

Post by eatcomics »

MadPumpkin wrote:
Arce wrote:An entire topic dedicated to level editors!? What's wrong with you guys!? How lame! I'd be caught dead before working on one of them! :shock:
says the creator of quite possibly the best level editor ever :}

i love you Arce!!! LEVEL EDITORS ROCK! AND YOURS IS BOMBB!!!!!
Are you kidding I could have done better when I was in third grade! no just kidding, keep up the good work fellas...
Image
User avatar
MadPumpkin
Chaos Rift Maniac
Chaos Rift Maniac
Posts: 484
Joined: Fri Feb 13, 2009 4:48 pm
Current Project: Octopia
Favorite Gaming Platforms: PS1-3, Genesis, Dreamcast, SNES, PC
Programming Language of Choice: C/++,Java,Py,LUA,XML
Location: C:\\United States of America\Utah\West Valley City\Neighborhood\House\Computer Desk

Re: Building level editors

Post by MadPumpkin »

Ewan wrote:
MadPumpkin wrote:
Arce wrote:An entire topic dedicated to level editors!? What's wrong with you guys!? How lame! I'd be caught dead before working on one of them! :shock:
says the creator of quite possibly the best level editor ever :}

i love you Arce!!! LEVEL EDITORS ROCK! AND YOURS IS BOMBB!!!!!
Kissass.
possibly... but its true i love level editors, StarCrafts is the best 2d editor EVER
While Jesus equipped with angels, the Devil's equipped with cops
For God so loved the world that he blessed the thugs with rock
Image
Image
Image
User avatar
RyanPridgeon
Chaos Rift Maniac
Chaos Rift Maniac
Posts: 447
Joined: Sun Sep 21, 2008 1:34 pm
Current Project: "Triangle"
Favorite Gaming Platforms: PC
Programming Language of Choice: C/C++
Location: UK
Contact:

Re: Building level editors

Post by RyanPridgeon »

Arce wrote:An entire topic dedicated to level editors!? What's wrong with you guys!? How lame! I'd be caught dead before working on one of them! :shock:
Sarcasm is the lowest form of wit.
Ryan Pridgeon
C, C++, C#, Java, ActionScript 3, HaXe, PHP, VB.Net, Pascal
Music | Blog
User avatar
Arce
Jealous Self-Righteous Prick
Jealous Self-Righteous Prick
Posts: 2153
Joined: Mon Jul 10, 2006 9:29 pm

Re: Building level editors

Post by Arce »

RyanPridgeon wrote:
Arce wrote:An entire topic dedicated to level editors!? What's wrong with you guys!? How lame! I'd be caught dead before working on one of them! :shock:
Sarcasm is the lowest form of wit.
What, really? I never knew!

;)
Sarcasm is the lowest form of wit.
Naw, I'd classify "useless interjection" right before that.

Also, good luck and some nice discussion here. Hopefully I didn't kill the useful elements of this topic, haha.
<qpHalcy0n> decided to paint the office, now i'm high and my hands hurt
User avatar
avansc
Respected Programmer
Respected Programmer
Posts: 1708
Joined: Sun Nov 02, 2008 6:29 pm

Re: Building level editors

Post by avansc »

i have noticed that alot if people do something like this

<image 01>
bla.jpg
</image>
...
...
00 00 00 00 00 00
00 00 00 00 00 00
00 00 00 00 00 00
01 01 01 01 01 01


well i would not do it this way, but if you are doing this. (and especially if you have multi layerd levels)
use some compression. this same map can be represented as something like this

<image 01>
bla.jpg
</image>
...
...
<pat 00>
18
</pat>
<pat 01>
6
</pat>

which would cut down on alot of loading time.

again, i would not recommend using something like this. you can save alot of time and effort if you just write object directly as binary to files
Some person, "I have a black belt in karate"
Dad, "Yea well I have a fan belt in street fighting"
User avatar
RyanPridgeon
Chaos Rift Maniac
Chaos Rift Maniac
Posts: 447
Joined: Sun Sep 21, 2008 1:34 pm
Current Project: "Triangle"
Favorite Gaming Platforms: PC
Programming Language of Choice: C/C++
Location: UK
Contact:

Re: Building level editors

Post by RyanPridgeon »

That compression is actually a damn good idea. I'm making a small tile-based platformer at the moment and currently it is done with

spritesheet.bmp
32 32
5 4
0 0 0 0 0
0 1 1 1 0
0 2 1 3 0
0 0 0 0 0

I might change it to implement something like you just said.

:)
Ryan Pridgeon
C, C++, C#, Java, ActionScript 3, HaXe, PHP, VB.Net, Pascal
Music | Blog
User avatar
Arce
Jealous Self-Righteous Prick
Jealous Self-Righteous Prick
Posts: 2153
Joined: Mon Jul 10, 2006 9:29 pm

Re: Building level editors

Post by Arce »

WAYY back in the day, when Gyro was just a lad, Null loaded files like

01 11 12 00 00 00
00 00 00 00 00 00
00 00 00 00 00 00

Which is pretty stupid and more easily just
01
11
12
00
00
00
00
00
,,,
00
;p
<qpHalcy0n> decided to paint the office, now i'm high and my hands hurt
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Re: Building level editors

Post by Falco Girgis »

That was so that we could edit it by hand if we noticed that the level editor had fucked something up.
User avatar
eatcomics
ES Beta Backer
ES Beta Backer
Posts: 2528
Joined: Sat Mar 08, 2008 7:52 pm
Location: Illinois

Re: Building level editors

Post by eatcomics »

GyroVorbis wrote:That was so that we could edit it by hand if we noticed that the level editor had fucked something up.
I think that was a bash to your face arce :lol:
Image
User avatar
Arce
Jealous Self-Righteous Prick
Jealous Self-Righteous Prick
Posts: 2153
Joined: Mon Jul 10, 2006 9:29 pm

Re: Building level editors

Post by Arce »

eatcomics wrote:
GyroVorbis wrote:That was so that we could edit it by hand if we noticed that the level editor had fucked something up.
I think that was a bash to your face arce :lol:
Naw, that was before I did the editor for him. He wrote his own in SDL.
<qpHalcy0n> decided to paint the office, now i'm high and my hands hurt
Post Reply