Topic: Level Editor I - creating your first level
Moved to the wiki
Last edited by Alexandre (2011-05-29 00:02:31)
You are not logged in. Please login or register.
Moved to the wiki
Last edited by Alexandre (2011-05-29 00:02:31)
Okay, nice tutorial.
Maybe it would be a good idea to have a boolean var in order to enable or not stage editing.
f.e:
bool enable_level_edit;
If the stage is "official" then enable_level_edit = false;
Or something like that
Okay, nice tutorial.
Maybe it would be a good idea to have a boolean var in order to enable or not stage editing.f.e
bool enable_level_edit;If the stage is "official" then enable_level_edit = false;
Or something like that
This feature is already available. You can't edit the Master Quest levels.
All you have to do is to add a line with the word "readonly" (no quotes) in the .lev file. If you press the F12 key when playing on a "readonly" level, the game won't let you access the level editor. Try that on the Master Quest (main menu -> custom quests).
Of course someone could edit a .lev file manually and remove the "readonly" flag. But then the user would be trying to deliberately modify the level, so I won't forbid that.
Ahh it's true I did not see it at first.
There are some stuff about the physics that need a little fixing, I could give assistance if you want.
Thank you. Some people already complained about the friction because the characters take too long to brake (on version 0.1.0). This will be fixed for the next version. The modification is simple: all one must do is to change a number in the source code.
I bet it is friction var in player.c
Reducing it a little would do it.
But how much exactly?
You're right, it's in player.c
I'm also changing some other stuff like the gravity and the teleporters, see here
Thankyou i'm trying my first level...:lol: is realy awesome! i always wanted to make a level
Oww.. Start game and press F2 to get level editor? Not working to me....
Last edited by SuperTails (2009-07-21 15:10:45)
I'm Have Version 0.1.1
But i'm not have level editor how to get them?
press F12
Been messing around with Open sonic since the Dreamcast release and i would like to thank you for making dreams come true and something truly "way past cool" having a blast with the level editor,living my child hood dreams,cant wait to try make some sprites and go nuts once i get used to it.
I cant thank you guys enough*thumbs up*
Last edited by mdlmemorybank (2009-07-29 03:16:56)
somehow I can't play opensonic.why?
Hello Alexandre
Can i use this level editor for the flash game? Please inform me.
Petrov Young
------------------
Come and enjoy movie in 'spam' and 'more spam'
Last edited by SilverstepP (2010-11-05 02:21:17)
Hello Alexandre
Can i use this level editor for the flash game? Please inform me.Petrov Young
Hello, Petrov.
This game is not related to flash.
I have created my first level without any problem by using your mentioned way. Now I want to create second level. How can I do it?
I have created my first level without any problem by using your mentioned way. Now I want to create second level. How can I do it?
quick and easy way:
go to your open surge folder.
open the "levels" folder
with the right mouse button drag any level to an empty space in that folder
when you release the button a menu shows. choose "copy files here"
now you should have a level file named "copy of ...". rename it to something you want
open it
and delete everything after the end of the header
in the header you can edit the name, act number, brickset and background to whatever you want
save it and open it in O.S.
if your level fails to load or doesn't appear, you have done something wrong. start over
if you still can't open it in game, tell us what happened
Thanks for your nice tutorial KZR.
But i can't open it, it continuously fails to load.
Last edited by shefamariam (2011-02-26 18:32:25)
Thanks for your nice tutorial KZR.
But i can't open it, it continuously fails to load.
The process for creating a second level is exactly the same as creating the first one, however this time you will give it a name other than "Hello" both in file-name and within the level file. You may also change the specifications of background, brickset, and music from a plain text editor with your .lev file loaded.
Thanks for your nice tutorial KZR.
But i can't open it, it continuously fails to load.
maybe you deleted too much.
this is one of my headers, showing what your level header should have:
// header
name "Train Trial"
author "KZR"
version "1.0"
requires 0.2.0
act 2
theme "themes/train.brk"
bgtheme "themes/train.bg"
spawn_point 1192 656
music "musics/citychill.ogg"
everything below that is filled in by the level editor. if no bricks, objects, etc. are listed, then the level is blank, and should load fine. when loading a blank level you should press f12 to enter the editor, while your level's title is showing. otherwise your char dies because it falls off screen.
Thanks a lot everyone. I can open it in game. Thanks
Hello Alexandre
Can i use this level editor for the flash game? Please inform me.Petrov Young
------------------
Come and enjoy movie in 'spam' and 'more spam'
This guy is a spammer. If you see anyone edit like this, REPORT IT.
It is really a good post having a nice tutorial. i have created te first level and is working well but i can't edit this level. Could I expect a better answer?
Thanks.
Welcome jasonbill, nice to meet you
what is your problem?
Have you followed the tutorial from post 1?
that is the old version, look at post 20, maby this help.
Last edited by ssdw (2010-12-03 18:43:17)
good
Posts [ 1 to 25 of 36 ]
[ Generated in 0.086 seconds, 9 queries executed ]