Page 1 of 1

OD Prototype in Lips of Suna Engine

PostPosted: 14 Dec 2012, 18:28
by TheAncientGoat
Screenshots: http://imgur.com/a/MVcv4

Just a mockup of how it could look like, using an old verision of the Lips engine I had lying around. It will look a lot better once I import some of OD's assets, and make OD like voxel blocks and materials, such as "owned" tiles, gold and gems.

Also note that I'm running it on an intel gfx card, so the game doesn't use the more advanced opengl3 shaders.

Re: OD Prototype in Lips of Suna Engine

PostPosted: 14 Dec 2012, 21:56
by charlie
Good start!

Re: OD Prototype in Lips of Suna Engine

PostPosted: 15 Dec 2012, 08:24
by Skorpio
That looks cool. I've played a little bit Lips of Suna and the biggest problems for me are the low frame rate at some places and the interface. Also, the look of the environment/voxels is a bit crude, but it's cool that there are texture transitions between the blocks. The editor needs some work, too. There surely is a lot of stuff that needs to be improved and optimized, but because of the big feature list, it still seems that a switch to LoS might be a good alternative. What do the other guys here think?

Re: OD Prototype in Lips of Suna Engine

PostPosted: 15 Dec 2012, 13:15
by charlie
I think for this you should set up a git repo so people can quickly check it out.

Re: OD Prototype in Lips of Suna Engine

PostPosted: 15 Dec 2012, 16:12
by TheAncientGoat
Skorpio: Which version did you use? I'm not sure if the pre-compiled versions have lua-jit enabled, or if the latest release has the scripting + threading optimizations that are in the git... Anyhow, I agree on the UI not being that pretty/intuitive, it's definitely one of the major things that will need working on.

Also, what part of the voxels did you find crude? Did you travel below-ground through the portals, as that is a more accurate representation of what we'd use.

Charlie: My internet is horribad :( 1gig cap, and the LoS datafiles etc is 500mb already. It will most probably take half a day to upload. I can maybe make patches that can be applied to that latest LoS git though, which will save my bandwidth.

Re: OD Prototype in Lips of Suna Engine

PostPosted: 15 Dec 2012, 17:46
by Julius
Great start! Please keep the Dungeon Master idea in mind when developing it ;) Doesn't have to be an ARPG, LoS like 1st or 3rd person view for the action players is fine too ;)

I gather that you do all that via LUA scripting? I really need to learn that ;) Maybe I will find the time. Got a pretty bad internet connection here too, and since there seem to be no online servers for the games I play anywhere near (e.g. with a good enough ping :( ) all the time spend on online gaming has to be used otherwise now...

Re: OD Prototype in Lips of Suna Engine

PostPosted: 15 Dec 2012, 18:20
by paul424
I would deeply vote no , for the code base change , first of reading and learning current Big Picture of OD took my some time ( and with LOS would be the same ), second I contributed some code , so I don't want it to be lost .

Re: OD Prototype in Lips of Suna Engine

PostPosted: 16 Dec 2012, 07:52
by charlie
TheAncientGoat {l Wrote}:Charlie: My internet is horribad :( 1gig cap, and the LoS datafiles etc is 500mb already. It will most probably take half a day to upload. I can maybe make patches that can be applied to that latest LoS git though, which will save my bandwidth.

Surely this is a mod for LoS and just a few lua files... I'm specifically talking about sharing those.

Then all you need is instructions i.e. 1. download LoS, 2. download ODmod, 3. place ODmod files in/overwriting X, 4. run Y!

Re: OD Prototype in Lips of Suna Engine

PostPosted: 16 Dec 2012, 10:10
by Skorpio
paul424 {l Wrote}:I would deeply vote no , for the code base change , first of reading and learning current Big Picture of OD took my some time ( and with LOS would be the same ), second I contributed some code , so I don't want it to be lost .

Maybe we should simply stick to OD. What do you think? Could we perhaps copy some features of LoS like the voxel terrain?

Re: OD Prototype in Lips of Suna Engine

PostPosted: 17 Dec 2012, 09:32
by TheAncientGoat
Here's the start of a protoype of the behaviours in Love2d:
ODAI.love
Use Love2d to run
(61.11 KiB) Downloaded 213 times


Code is kind of crappy, only items.lua is properly documented, but it works.

Features: Jobs, creatures, items, tiles, start to implement multiplayer system. Creatures can do jobs, tiles can be flagged to have possible jobs, creatures can be picked up and placed, items can be picked up and placed.

Re: OD Prototype in Lips of Suna Engine

PostPosted: 17 Dec 2012, 11:21
by Skorpio
Oh nice, another Dwarf Fortress clone! :) It's amazing how fast you could program this. Why has our development been so slow?!? :p It doesn't matter that the code is crappy if we get something playable very quickly, as Bart pointed out in his new article.

Re: OD Prototype in Lips of Suna Engine

PostPosted: 17 Dec 2012, 14:07
by TheAncientGoat
C++ runs fast, but you pay for the performance in development speed.

You can script something up in a jiffy, and keep on hacking away, until it reaches a point where your pc crashes from inefficent code :P

Re: OD Prototype in Lips of Suna Engine

PostPosted: 17 Dec 2012, 15:08
by TheAncientGoat
Implemented basic UI, increased map size, fixed movement, implemented imp spawner, implemented menu screen (hope you don't mind, Skorpio):
ODAI.love
Open with Love2d
(278.26 KiB) Downloaded 228 times

Re: OD Prototype in Lips of Suna Engine

PostPosted: 17 Dec 2012, 15:26
by Skorpio
Haha, nice! :D

Re: OD Prototype in Lips of Suna Engine

PostPosted: 17 Dec 2012, 17:04
by Julius
heh, nice idea to prototype it in 2D first. Maybe you can make a de-evolved retro/pixel DK out of it too :)

Re: OD Prototype in Lips of Suna Engine

PostPosted: 17 Dec 2012, 17:52
by TheAncientGoat
A pixel DK that can advertise OD :D Something "fun" and playable can maybe spread more easily online, and people love de-makes in general. Maybe use the Love webplayer, to maximize reach..

But that tempts me to make a love-webplayer hosting and online editing site :(

Re: OD Prototype in Lips of Suna Engine

PostPosted: 18 Dec 2012, 15:18
by Skorpio
I think Open Dungeons will actually need a 2D mode like your prototype, something similar to Total Annihilation/Spring/Supreme Commander. The lowest LoD versions of the creatures should probably be simple 2D icons and the walls need to be simplified as well when you zoom out.

Re: OD Prototype in Lips of Suna Engine

PostPosted: 22 Dec 2012, 12:06
by TheAncientGoat
Yes, but that would just be a 2d rendering of the game-state, not two different game states running at once. The in-game representation will be quite different code wise; I'm currently sitting with the results of not designing a lot and just writing gameplay: jobs get duplicated when tiles are mined after re-structuring for performance..

Re: OD Prototype in Lips of Suna Engine

PostPosted: 22 Dec 2012, 14:11
by Skorpio
Do you know how the texture splatting between different materials in Lips of Suna works? We haven't found a good solution for Open Dungeons yet.

Re: OD Prototype in Lips of Suna Engine

PostPosted: 22 Dec 2012, 14:49
by TheAncientGoat
The texture splatting in LoS is actually quite basic; just a third texture, defined in the material script, with feathered edges that gets drawn on top of the seams between textures; it isn't autogenerated or anything.

Fixed the duplicate jobs issue too, should be able to upload a demo with working gold harvesting and room placement by today

Re: OD Prototype in Lips of Suna Engine

PostPosted: 03 Jan 2013, 19:52
by TheAncientGoat
Ok, kind of started from scratch, re-implementing it to look like an actual game.

Currently only tile placement works, need to port/re-write creature and job logic, and implement mouse based controls; working with isometric scrolling co-ords is a bit difficult though.

ODAIv2.love
(1.63 MiB) Downloaded 213 times


I used the Flare tileset; if you unzip the love file, you can look at how tiles etc are stored; if anyone wants to implement better tiles I'd appreciate it a lot!

Re: OD Prototype in Lips of Suna Engine

PostPosted: 03 Jan 2013, 21:54
by Skorpio
Heh, reusing FLARE art is the new trend. :) Can you only place dirt and gold tiles yet? I recently saw another 2D Dungeon Keeper-like game: http://indiegames.com/2012/12/browser_g ... _dung.html
There's not much to do, though.

Re: OD Prototype in Lips of Suna Engine

PostPosted: 04 Jan 2013, 00:03
by charlie
You should create a github project (or google code if you prefer SVN) for this, TAG!