Jump to content


Photo
- - - - -

Easy, Fast, Advanced Level Editor - Fixed


  • Please log in to reply
57 replies to this topic

#21 nick1965

nick1965

    GMC Member

  • New Member
  • 88 posts

Posted 08 April 2009 - 05:17 AM

Craig,

I am working on a level editor system aswell that uses scripts. One of the features that I have is custom objects if thats what you mean. (The player can create his own objects). Also, I am building a script that writes and encrypts an archive for external sprites, etc.

//soon to be released

~Nick
  • 0

#22 Diventurer

Diventurer

    GMC Member

  • New Member
  • 732 posts
  • Version:GM8

Posted 11 April 2009 - 09:08 PM

Hey, I downloaded the level editor, I really like it.
But...
When I tried to merge it into my game, I got a few errors.
I fixed a few of them, but one error is still there and I can't fix it :rambo
Here is it:

___________________________________________
ERROR in
action number 1
of Draw Event
for object editor_controller:

In script lev_draw:
Error in code at line 7:
if(global.gridvis[i]=1)

at position 12: Unknown variable gridvis


I would appreciate if someone helped me.

~Segun24
  • 0

#23 -{Niwo}-

-{Niwo}-

    GMC Member

  • New Member
  • 103 posts

Posted 12 April 2009 - 03:43 PM

I would love to try it out, but it seems that I am not able to download it. Could you add an extra download link at another host?


Thanks.
  • 0

#24 Dragon Years

Dragon Years

    GMC Member

  • New Member
  • 33 posts

Posted 12 April 2009 - 09:23 PM

Holy ****....of course...HAS TO BE REGISTERD!!
  • 0

#25 supercat765

supercat765

    GMC Member

  • New Member
  • 20 posts

Posted 14 April 2009 - 02:15 AM

i tried to make a room that atomaticly loads a room with a sertan name so far i have
exists=lev_exists(1mf);//Check if the map exists or not!
if(exists=false){//if the map does not exist
show_message("That level doesn't exist!");//Say it doesn't exist
exit;//exit
}
lev_load(1mf)//The name of the room is the name specified when joining the game_room!
/*

we are loading the objects from the text now, not the room demensions!
*** You need to have a game controller in the game room, and you need to load the objects in that controller!


*/
it replies with

___________________________________________
FATAL ERROR in
action number 1
of Create Event
for object 1:

COMPILATION ERROR in code action
Error in code at line 1:
exists=lev_exists(1tf);//Check if the map exists or not!

at position 20: Symbol , or ) expected.
  • 0

#26 brett14

brett14

    GMC Member

  • GMC Member
  • 1150 posts
  • Version:GM8

Posted 14 April 2009 - 04:00 AM

Nobody use this ATM please, there seem to be alot of bugs (I'm fixing them atm, however can't do everything at once), so please dont use this until i uplaod a fixed version, thanks; brett
  • 0

#27 pandoracell

pandoracell

    GMC Member

  • New Member
  • 76 posts

Posted 19 April 2009 - 11:25 PM

So whens the new version coming out?
  • 0

#28 brett14

brett14

    GMC Member

  • GMC Member
  • 1150 posts
  • Version:GM8

Posted 19 April 2009 - 11:33 PM

Later today, just bug testing it atm

[EDIT]
Uploaded... I have made a level editor with the updated scripts and it worked, so I *THINK* I have fixed all the bugs. If you get any please reply with a description of what happened, thanks :P

~~Brett14;
[/EDIT]

Edited by brett14, 19 April 2009 - 11:53 PM.

  • 0

#29 tomkomaster

tomkomaster

    GMC Member

  • New Member
  • 81 posts

Posted 20 April 2009 - 04:17 PM

Ok I want to use this in my game. But I have a problem. Ive tried the old version (with bugs) and this new one (without bugs) . But there is a same problem with these two. I create a map in the level editor and when I load it in the game room, happens this: Firstly, there are created 5! players : 1 which is in the game and the other four are outside of the game (I see them in the minimap and thier laser sight is visible too, thats whz I know that). Secondly ,the AI doesnt works. I load the map and the enemies are in the same position that I loaded them and do nothing. But everything else works with them, I can shoot them, the effects are working, everything, except the AI. So my question is: Is there a codes, scripts or anything else that didnt work with your level editor engine? So I can rewrite those scripts of mine.
Maybe I can send you the gmk file to look at it, maybe you figure something out.
Thanks

Edited by tomkomaster, 20 April 2009 - 04:18 PM.

  • 0

#30 pandoracell

pandoracell

    GMC Member

  • New Member
  • 76 posts

Posted 20 April 2009 - 09:03 PM

Ok I want to use this in my game. But I have a problem. Ive tried the old version (with bugs) and this new one (without bugs) . But there is a same problem with these two. I create a map in the level editor and when I load it in the game room, happens this: Firstly, there are created 5! players : 1 which is in the game and the other four are outside of the game (I see them in the minimap and thier laser sight is visible too, thats whz I know that). Secondly ,the AI doesnt works. I load the map and the enemies are in the same position that I loaded them and do nothing. But everything else works with them, I can shoot them, the effects are working, everything, except the AI. So my question is: Is there a codes, scripts or anything else that didnt work with your level editor engine? So I can rewrite those scripts of mine.
Maybe I can send you the gmk file to look at it, maybe you figure something out.
Thanks


hmm everything seems to be working fine here?


And btw, what was fixed between this version and the old one? I never noticed any bugs in the old one.
  • 0

#31 brett14

brett14

    GMC Member

  • GMC Member
  • 1150 posts
  • Version:GM8

Posted 21 April 2009 - 12:31 AM

Ok I want to use this in my game. But I have a problem. Ive tried the old version (with bugs) and this new one (without bugs) . But there is a same problem with these two. I create a map in the level editor and when I load it in the game room, happens this: Firstly, there are created 5! players : 1 which is in the game and the other four are outside of the game (I see them in the minimap and thier laser sight is visible too, thats whz I know that). Secondly ,the AI doesnt works. I load the map and the enemies are in the same position that I loaded them and do nothing. But everything else works with them, I can shoot them, the effects are working, everything, except the AI. So my question is: Is there a codes, scripts or anything else that didnt work with your level editor engine? So I can rewrite those scripts of mine.
Maybe I can send you the gmk file to look at it, maybe you figure something out.
Thanks


hmm everything seems to be working fine here?


And btw, what was fixed between this version and the old one? I never noticed any bugs in the old one.

A bug with glob vars fixed along with just a few minor things.

Maybe I can send you the gmk file to look at it, maybe you figure something out.
Thanks

Please, as it is probably something stupid that either me or you did. BTW, this is NOT tested with D&D, so if you are using that it may be the error causing thing?
  • 0

#32 Craig Davidson

Craig Davidson

    GMC Member

  • GMC Member
  • 121 posts

Posted 24 April 2009 - 01:27 AM

But how do you use external background files and what not with this new Editor?
  • 0

#33 Craig Davidson

Craig Davidson

    GMC Member

  • GMC Member
  • 121 posts

Posted 27 April 2009 - 04:04 AM

Can somebody tell me how to use the external Background function in conjunction with the Open file pop-up screen built into the Language of Game Maker? So I can be able to load backgrounds in both the editor and the game?
  • 0

#34 VHProductions

VHProductions

    GMC Member

  • Banned Users
  • 161 posts

Posted 06 May 2009 - 04:51 PM

You made it very complicated. You can make a Level editor way easier.

#35 juniez

juniez

    GMC Member

  • New Member
  • 7 posts

Posted 25 May 2009 - 05:52 PM

sorry for the bit of a bump, but why does the level editor convert the objects into numbers while saving? (i.e. game_wall would be saved as "17")
  • 0

#36 brett14

brett14

    GMC Member

  • GMC Member
  • 1150 posts
  • Version:GM8

Posted 26 May 2009 - 10:33 PM

sorry for the bit of a bump, but why does the level editor convert the objects into numbers while saving? (i.e. game_wall would be saved as "17")

it's saves a smaller file, you could easily change it if you want though. Also it just makes it harder to read (or you could encrypt it...)
  • 0

#37 juniez

juniez

    GMC Member

  • New Member
  • 7 posts

Posted 26 May 2009 - 11:45 PM

sorry for the bit of a bump, but why does the level editor convert the objects into numbers while saving? (i.e. game_wall would be saved as "17")

it's saves a smaller file, you could easily change it if you want though. Also it just makes it harder to read (or you could encrypt it...)


how would I go about changing it?
  • 0

#38 -{Niwo}-

-{Niwo}-

    GMC Member

  • New Member
  • 103 posts

Posted 29 May 2009 - 12:03 PM

Please add a mirror. Thanks.
  • 0

#39 brett14

brett14

    GMC Member

  • GMC Member
  • 1150 posts
  • Version:GM8

Posted 30 May 2009 - 02:38 AM

sorry for the bit of a bump, but why does the level editor convert the objects into numbers while saving? (i.e. game_wall would be saved as "17")

it's saves a smaller file, you could easily change it if you want though. Also it just makes it harder to read (or you could encrypt it...)


how would I go about changing it?

In the saving code where it goes
file_text_write_string(file,"instance_create("+string(x)+","+string(y)+","+....) change the last one to the name of the object, the objects name string
  • 0

#40 Stevmay09

Stevmay09

    GMC Member

  • New Member
  • 120 posts

Posted 23 June 2009 - 02:02 PM

I have a problem with the editor.
i kinda used those scripts that are in it, and the lev_object_dir(false),
i set it to false, but the objects keep spinning around.
how can i make it not spin? and make it where that object is always in a specific angle?

EDIT: Never mind. i fixed it.

Thanks! Major credit going to you!

Edited by Stevmay09, 23 June 2009 - 02:33 PM.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users