The Daily Click ::. Forums ::. Digital Works ::. Show off your editor here!
 

Post Reply  Post Oekaki 
 

Posted By Message

nim



Registered
  17/05/2002
Points
  7229
12th March, 2007 at 20:49:25 -

This is the engine for a game I just released. No menus here - just mouse clicks to plot tiles, cursor keys to scroll around the level and other keyboard commands for other misc crap, like playing ff7chocobo.mid while I work. Worst editor ever, I know, but I had to make it in about two evenings.

And ain't she a beauty! :

Image

 
//

nim



Registered
  17/05/2002
Points
  7229
12th March, 2007 at 21:18:59 -

All of the other editors are looking great, especially the first one by Fifth!

In response to Eternal Entertainment, I guess there are only 2 methods you could use: recording the values in an ini file, or using an array.

If making an editor is not your thing, then you could derive the level layout from a small gif image, or, if it's a single screen game, "draw" the level layout in a text file with numbers, e.g.

1="1000000001"
2="1000000001"
3="1999999991"

(where 1 equals walls and 9 equals, like, crocodiles)

Really though, I think most people will agree that using arrays would be the best system to use. inis are okay but everyone will laugh at you and it's a switch you'll have to make eventually. Think underpants to boxer shorts.

 
//

viva/volt

Awesome Sauce

Registered
  26/08/2006
Points
  1694

Game of the Week WinnerSilverNova MemberKlikCast StarVIP Member
13th March, 2007 at 09:24:44 -

Arrays work a lot better, especially for externally loaded tilesets.

 
Image
http://bfollington.tumblr.com

Eternal Man [EE]

Pitied the FOO

Registered
  18/01/2007
Points
  2976

Game of the Week WinnerHero of TimeLOL SignI am an April Fool
13th March, 2007 at 09:31:48 -

?
I'm not using inis. I use in-game textfiles, it's bad for patches since you need to update the whole application and not only the levels, but it's good in the way that the player can never now if he has found all areas and such since their's not any external files to tip the player off. But I agree on arrays probably being the most suitable object for the task. And alas, I too will, in time, switch to boxers...

Image Edited by the Author.

 
Eternal Entertainment's Code'n'Art Man

E_E = All Indie


...actually Ell Endie, but whatever.
Image
Image

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
13th March, 2007 at 09:33:34 -

Yeah, but arrays waste much more space just to store a few numbers.

The last editor I made (for a game I never finished anyway) would load a normal text file, where each ASCII character represented one tile. Then, I just used String Parser to get the ASCII index of that character, and plotted the corresponding tile to that position.

Image Edited by the Author.

 
n/a

Retired Kliker Lazarus

The Ed Wood JR of TDC

Registered
  18/07/2003
Points
  7363
13th March, 2007 at 16:29:38 -

This thread makes me feel great, because now I know I really DO have a life.

 
Fine Garbage since 2003.
CURRENT PROJECT:
-Paying off a massive amount of debt in college loans.
-Working in television.

Tim

I'm on here way too much

Registered
  25/08/2006
Points
  132

You've Been Circy'd!Clickzine StaffSilverNova MemberVIP MemberTurtle Power!Evil klikerWii OwnerHero of TimeGhostbuster!Pokemon Ball!
13th March, 2007 at 16:57:22 -

That's it's purpose

 
http://www.SilverNova.co.uk


DeadmanDines

Best Article Writer

Registered
  27/04/2006
Points
  4758
13th March, 2007 at 18:56:21 -

I mainly use editors when I need additional power from MMF. For example, having different sounds when you walk over certain tiles, or making some tiles carry your scent (grass) and some not (water).

I really feel like making another editor just as a chance to develop some interface ideas I've had recently.

 
191 / 9999 * 7 + 191 * 7

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14450

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
14th March, 2007 at 00:33:55 -

I didn't realise until now that making an editor was usefull for making your own game. I though people only used it for players to make custom levels.

So as you can guess from that, ive never made one before.

 
.

Radix

hot for teacher

Registered
  01/10/2003
Points
  3139

Has Donated, Thank You!VIP MemberGOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!
14th March, 2007 at 03:10:22 -

Yeah, but arrays waste much more space just to store a few numbers.
Not, as I've said before, if you structure your data properly. Given that we know the exact size of each element it's possible to parse your data so that multiple values are stored in each cell, effectively producing a 3+-dimensional array without the control data you usually need in text-based storage. In an ideal implementation, this approach could very well produce smaller files than a text system.

Of course you can create simple vector-style text-based storage without control data, but it would be next to impossible to manipulate manually so there wouldn't be any real advantage to it.

 
http://www.klikscene.com

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
14th March, 2007 at 08:34:58 -

Sure, you could optimize the array system. But why take crap and make gold out of it? Besides, the average klikker can't be arsed (and doesn't know how) to do that anyway.

Image Edited by the Author.

 
n/a

Eternal Man [EE]

Pitied the FOO

Registered
  18/01/2007
Points
  2976

Game of the Week WinnerHero of TimeLOL SignI am an April Fool
14th March, 2007 at 10:13:00 -

Just how big is an array anyway? It sounds like they're hugh, but I know they're not. So confusing...

 
Eternal Entertainment's Code'n'Art Man

E_E = All Indie


...actually Ell Endie, but whatever.
Image
Image

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
14th March, 2007 at 12:59:00 -

An array can be any size you give it.

 
Old member (~2004-2007).

Radix

hot for teacher

Registered
  01/10/2003
Points
  3139

Has Donated, Thank You!VIP MemberGOTW WINNER CUP 1!GOTW WINNER CUP 2!GOTW WINNER CUP 3!GOTW WINNER CUP 4!
15th March, 2007 at 02:52:30 -

axel: Writing a parsed array system requires exactly the same amount of effort as a parsed text engine, and has the added functionality of being an array.

And if your criticism is that the 'average klikker' is disinclined to do something like that, the same could be said of caring about size wasted with vanilla arrays.

 
http://www.klikscene.com

Eternal Man [EE]

Pitied the FOO

Registered
  18/01/2007
Points
  2976

Game of the Week WinnerHero of TimeLOL SignI am an April Fool
16th March, 2007 at 07:36:50 -

DaVince: Not cell size, kb size. An empty array, how big?

 
Eternal Entertainment's Code'n'Art Man

E_E = All Indie


...actually Ell Endie, but whatever.
Image
Image
   

Post Reply



 



Advertisement

Worth A Click