Level editor

Got an idea for enhancing PureBasic? New command(s) you'd like to see?

Was this a great idea?

Yes
6
14%
Yes
6
14%
No
16
36%
No
16
36%
 
Total votes: 44

User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Level editor

Post by Joakim Christiansen »

I just got a great idea:

Include a 2d level editor (for games) in PB, and some commands for using it's levels with PB.
Last edited by Joakim Christiansen on Mon Jan 17, 2005 9:57 pm, edited 2 times in total.
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

well, pb is a real programming language, not some sort of game-making package.. If you want a level editor, program one ;)

and: The methods to READ the levels are based on how the programmer wants. So if you include a level editor, you need some sort of easy reading of them. And should it be 2d or 3d?
While we are at it, why dont we just ship a model editor, a 2d and 3d level editor, sound editor and code-generater with pb????? (well thats ironic ;D)


so i vote for no. If you want a level editor, program it. Or use someone elses.


0
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Post by Joakim Christiansen »

I knew you would say that, hehe.
Ok, maybe ill make one and make a lib for it.
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

yeah hehe :P

Well if you make an nice level maker and an userlib/include so people can use it easily, im sure that i will try it out.
GPI
PureBasic Expert
PureBasic Expert
Posts: 1394
Joined: Fri Apr 25, 2003 6:41 pm

Post by GPI »

The problem is: A good Level-Editor is game-spezific.

For Example: My Crillion-Level-Editor is perfect for crillion, but when you create games like Rayman 1, it is useless...
User avatar
Joakim Christiansen
Addict
Addict
Posts: 2452
Joined: Wed Dec 22, 2004 4:12 pm
Location: Norway
Contact:

Post by Joakim Christiansen »

Maybe you're right GPI, but i still think it's possible to make a usefull level editor for most 2d games.
User avatar
Psychophanta
Always Here
Always Here
Posts: 5153
Joined: Wed Jun 11, 2003 9:33 pm
Location: Anare
Contact:

Post by Psychophanta »

Joakim Christiansen wrote:Maybe you're right GPI, but i still think it's possible to make a usefull level editor for most 2d games.
I'd use it. :)
http://www.zeitgeistmovie.com

while (world==business) world+=mafia;
thefool
Always Here
Always Here
Posts: 5875
Joined: Sat Aug 30, 2003 5:58 pm
Location: Denmark

Post by thefool »

if it was there, i would probaly use it when i first learn about how to program games. A good general level editor. But i would use it too if someone else made it. I think that there are _much_ more important things to update before making minor things.
User avatar
GedB
Addict
Addict
Posts: 1313
Joined: Fri May 16, 2003 3:47 pm
Location: England
Contact:

Post by GedB »

A map editor would definately make a good advanced example, alongside the webserver and stuff. A useful tool that shows off what the language can do.
User avatar
Paul
PureBasic Expert
PureBasic Expert
Posts: 1282
Joined: Fri Apr 25, 2003 4:34 pm
Location: Canada
Contact:

Post by Paul »

Like GPI said, a Level Editor is pretty specific for the game you are trying to create. For example, here is an editor I made to create the levels for Hostile Skies...

Game:
http://www.reelmedia.org/hs

Editor:
http://www.pureproject.net/archive411/g ... apEdit.zip

It worked great for that project but is not of much use for anything else :)
Image Image
freddix
Enthusiast
Enthusiast
Posts: 100
Joined: Sun Feb 08, 2004 7:22 pm
Location: South France
Contact:

Post by freddix »

The problem is: A good Level-Editor is game-spezific.
I'm not sure it's right ;)

You can make a good level editor that will only include :
- Object support [ position,move,rotate,scale,texture;apply effects ]
- Light support
- Sound support
- Entities support with script
It will not be a game specific level editor because, user can program his own camera system [ to create FPS, resident evil, etc ... ], his own player support and other features that are game specific.

The editor will give source code that load the map made with it but, no more.

I think it's the best choice :)
freedimension
Enthusiast
Enthusiast
Posts: 613
Joined: Tue May 06, 2003 2:50 pm
Location: Germany
Contact:

Post by freedimension »

We're talking about 2D here ;)
<°)))o><²³
freddix
Enthusiast
Enthusiast
Posts: 100
Joined: Sun Feb 08, 2004 7:22 pm
Location: South France
Contact:

Post by freddix »

oups :oops: sorry for the 1 dimension in exceed :(

But my sample can easily be adapted to 2D tiling system ;)
Post Reply