Jump to content

  • Log In with Google      Sign In   
  • Create Account


Needed non tiled based Level editor 2D


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
6 replies to this topic

#1 shubhamm   Members   -  Reputation: 111

Like
0Likes
Like

Posted 12 July 2013 - 06:24 AM

Hi i am not sure what to ask exact in words for non tile based editor

 

i am making a Hill Racing 2D Game for that i have to make levels which have to be non Linear,Horizontal type

 

For example bezier curve type

 

i tried Tiled Map ,Box2d WCK (Slow on Mobile) so i am looking for a level editor in which i can draw level and then import it to Citrus game engine(Flash) or Libgdx (Java)

 

only Free Editors i have checked R.U.B.E for Box2d but it's Paid

 

Thanks



Sponsor:

#2 Krohm   Crossbones+   -  Reputation: 3044

Like
1Likes
Like

Posted 12 July 2013 - 12:00 PM

Can you afford to rasterize everything or are you memory constrained? If you have the RAM to afford a properly authored asset you might just use Inkscape and then hit the rasterize button!



#3 shubhamm   Members   -  Reputation: 111

Like
0Likes
Like

Posted 12 July 2013 - 10:12 PM

RAM is 8 GB no prob. in it

 

but now the Question is if we make level in inkscape and then export it to SVG 

 

How should we import it to Citrus Engine ?

 

How the collision will be happen in box2d ?

 

Thanks Krohm for Reply..



#4 Servant of the Lord   Crossbones+   -  Reputation: 18483

Like
1Likes
Like

Posted 12 July 2013 - 10:28 PM

Try GLEED2D - I haven't used it personally, but it looks like it might have potential.


It's perfectly fine to abbreviate my username to 'Servant' rather than copy+pasting it all the time.
All glory be to the Man at the right hand... On David's throne the King will reign, and the Government will rest upon His shoulders. All the earth will see the salvation of God.
Of Stranger Flames - [indie turn-based rpg set in a para-historical French colony] | Indie RPG development journal

[Fly with me on Twitter] [Google+] [My broken website]

[Need web hosting? I personally like A Small Orange]


#5 shubhamm   Members   -  Reputation: 111

Like
0Likes
Like

Posted 12 July 2013 - 11:44 PM

Try GLEED2D - I haven't used it personally, but it looks like it might have potential.

GLEED2D Is outdated and and the path made by the GLEE2D can not be used in Citrus Engine

 

so i am thinking to buy R.U.B.E for 28$ 



#6 Krohm   Crossbones+   -  Reputation: 3044

Like
1Likes
Like

Posted 16 July 2013 - 12:19 AM


but now the Question is if we make level in inkscape and then export it to SVG 
 
How should we import it to Citrus Engine ?

Don't import the SVG - unless you're targeting JavaScript as in Chrome or Firefox I'm afraid this will only end in tears. Rasterize everything at the appropriate resolution. If not oversampling too much it's possible to get a quality similar to vector yet using no vectors at all.

It is also possible you could use an intermediate step to convert to distance maps but in general you're being very vague about what you really need so I cannot give you an accurate answer.



#7 Kryzon   Prime Members   -  Reputation: 2925

Like
1Likes
Like

Posted 21 July 2013 - 02:21 PM

First set up your units in Inkscape as 'pixels' and work from that, considering the scale in actual pixel sizes and how it will look in the final game.

 

After you finished, rasterize the graphics with Inkscape to PNG (to keep actual the pixel size, use 90 DPI - look in the output size if it matches the size you want).

You'll end up with a very wide PNG (it's your entire level, after all). Then you can use GIMP to 'crop' that big image into several smaller ones with power-of-two sizes so you can load them as textures. EDIT: You can alread crop the level with Inkscape, as it supports rasterizing selections or parts of a bigger graphic, but it's better you do it in GIMP as you'll be dealing with already rasterized pixels and you can edit the level's appearance much better - brightness, contrast, saturation etc.

So you have your level split as several different, transparent images and only need to draw these images whose boundaries intersect the screen.

 

You will have to define some shapes for the physics, so you can also use Inkscape for that: draw polygons to follow your level's silhouette, and save these paths in a Plain SVG file from Inkscape - then you can interpret the SVG file (it's like an XML file) back in your game engine and build physics objects from that.


Edited by Kryzon, 21 July 2013 - 02:23 PM.





Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS