Level Builder...

For questions about using Classic.

Post » Sun Dec 07, 2008 11:14 pm

I wanted to make a level builder for my current game...Ive had a few ideas but I cant seem to figure out a good way to do it...

I had an Idea using inis to save the positions/size of all the objects but Im having trouble getting them to save right but other than that I don't have any Idea on how I would do it...
B
5
S
2
G
4
Posts: 632
Reputation: 2,829

Post » Sun Dec 07, 2008 11:30 pm

Yeah I had an idea like that too, something where users could make there own maps.
Take a look at the wiki here: [url:3goy3wxu]http://apps.sourceforge.net/mediawiki/construct/index.php?title=Image_List_Object[/url:3goy3wxu]
Then some information on ini: [url:3goy3wxu]http://apps.sourceforge.net/mediawiki/construct/index.php?title=INI_Object[/url:3goy3wxu]
But it suggests using Array instead.
I guess starting out it would be
for each object (ordered) get x,y coords
Image Image
B
161
S
48
G
90
Posts: 7,347
Reputation: 66,749

Post » Sun Dec 07, 2008 11:42 pm

Well its more or less for our own use not for user created levels... our current project wont lend itself well to a create your own level style play... We also really want to do our best to stay away from the the grid style game...
B
5
S
2
G
4
Posts: 632
Reputation: 2,829

Post » Sun Dec 07, 2008 11:55 pm

See here:

viewtopic.php?p=11221#p11221

David made a non-linear level editor that will allow you to place objects wherever you want and whatever angle you want. It's a little cumbersome to create things with, and it only exports a string of numbers but those are things that can be changed. You can always translate that string of numbers into a map file. It should give you an idea at least how to go about making the editor.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Mon Dec 08, 2008 12:01 am

Deadeye all I have to say to you is you are quite possibly the greatest help ive ever had. thank you so much for all your help with this.
B
5
S
2
G
4
Posts: 632
Reputation: 2,829

Post » Mon Dec 08, 2008 12:40 am

Hey, don't thank me, thank David :P. He made the thing. I've never made a level editor in my life (though I plan to for a couple of future projects).
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Mon Dec 08, 2008 1:49 am

Still anytime I ask a question you always answer it... And quick too. I would have never have found that cap and I think that is exactly what I need. Just saying thanks thats all.
B
5
S
2
G
4
Posts: 632
Reputation: 2,829

Post » Mon Dec 08, 2008 3:27 am

I have a question about David's Level Editor. I know how to Save/Load levels, but how do you exactly move around and view it? :S
B
2
G
4
Posts: 10
Reputation: 1,070

Post » Mon Dec 08, 2008 4:59 am

It's just a simple building example, there's no game engine in it.
Moderator
B
5
S
2
G
6
Posts: 4,348
Reputation: 10,971

Post » Mon Dec 08, 2008 3:06 pm

If you want to make your maps save into an INI file, you can use my example i made for SuperV [url:2no3jfi4]http://www.scirra.com/phpBB3/viewtopic.php?f=16&t=1721[/url:2no3jfi4] (scroll down to the latest version of loader and editor)

Using INI style grouping and values can make 3rd party editing easier/possible, that way you can just tell people who don't like your editing program to go make their own XD
"Construct 4 lets YOU make advanced games! (maybe)" Construct Classic - Examples Kit
B
86
S
28
G
13
Posts: 2,092
Reputation: 15,009

Next

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 1 guest