## OGMO Editor Importer

elGabe
Prole
Posts: 2
Joined: Sun Mar 22, 2020 11:11 pm
Contact:

### OGMO Editor Importer

Howdy!

I'm writing an importer to load levels from OGMO Editor into love2D and I decided I should also probably ask the community what sort of features people would want that I might've not anticipated. What I have right now is as simple as this:

Code: Select all

ogmo = require "ogmo"

local map_texture = love.graphics.newImage(PATH_TO_IMAGE)

-- or

end

function love.draw()

map:draw()

end
I have collisions working, but that's done with my personal library. I thought about adding a map:collide(object, table_of_solids) kinda function but idk if people would actually care for that.

Please let me know if you'd like to use OGMO with love2d and if there are any features you'd like on an importer. I'm basically working on this for myself, but I'd love to make it available on GitHub!

Cheers!

- Gabe
Conifer
Prole
Posts: 4
Joined: Thu Oct 22, 2020 9:48 pm

### Re: OGMO Editor Importer

I love using OGMO and I can't wait to this to come out.
Would you also be able to spawn entities through the data?
D0NM
Party member
Posts: 250
Joined: Mon Feb 08, 2016 10:35 am
Contact:

### Re: OGMO Editor Importer

I loved OGMO so much... cool.
LÖVE & Lua Video Lessons in Russian / Видео уроки по LÖVE и Lua
elGabe
Prole
Posts: 2
Joined: Sun Mar 22, 2020 11:11 pm
Contact:

### Re: OGMO Editor Importer

Howdy all!

I've been on a long break since I started a new job in AAA and didn't really have it in me to code after the 9 to 5. But after many months, I'm ready to start a side project and I've also decided to revive this one.

I added a bunch of new code to it to make it more useful than what I had before (we are supporting layers now yay!) but it's still pretty bare-bones. As it is now, it basically just renders an ogmo map. I have some plans to include instantiating, collisions, etc; but those will come later.

Anyways, if anyone is still interested in using OGMO with love2d, this code will be maintained semi-regularly now.

PixelHero
Prole
Posts: 28
Joined: Sat Apr 16, 2022 3:16 am

### Re: OGMO Editor Importer

elGabe wrote: Fri Mar 11, 2022 9:43 pm Anyways, if anyone is still interested in using OGMO with love2d, this code will be maintained semi-regularly now.
I NEED this. Tiled doesn't work for me. PLEASE finish this.
DRAGONS AND GRIFFONS ARE OUR EQUALS! NO MORE DRAGON DEATHS!
Current Collab: https://github.com/PixelHeroFromLove2d/Collab-1 It's a platformer... Wanna help? PM me...

### Who is online

Users browsing this forum: Bing [Bot] and 7 guests