Adam's Lair Forum

game development and casual madness
It is currently 2020/02/25, 05:58

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 7 posts ] 
Author Message
PostPosted: 2015/11/02, 18:31 
Newbie
Newbie

Joined: 2015/11/02, 18:26
Posts: 2
Role: Hobbyist
Hi all
I came across Duality from a survey of potential 2D game engines and have one quick question:

What platform can Duality publish to?

I see that the Duality runtime is based on .Net 4.5, and I saw the MonoDevelop section, but being in Windows for the majority of my development career, I'm not sure what that means.

I can tell that you can obviously make a Windows Desktop game. But how about:
* Windows Store?
* iOS?
* Android?

Thanks in advance


Top
 Profile  
 
PostPosted: 2015/11/02, 19:01 
Forum Adept
Forum Adept
User avatar

Joined: 2015/03/15, 02:49
Posts: 354
Location: Out there
Role: Hobbyist
Not yet, Adam has already stated that it's not in the immediate future, but should be easy-ish to achieve for someone willing to help.

_________________
Hello there! Nice to meet you!
I have github. Apologies in advance for bad coding practices.


Top
 Profile  
 
PostPosted: 2015/11/02, 20:29 
Forum Adept
Forum Adept

Joined: 2015/07/08, 16:41
Posts: 414
Role: Gamer
The first step for cross-platform has been taken in Duality 2.0; the Duality core is now platform-independent, and so is your game code. However, the Duality launcher (what is used to play your game by the end user) and the "backend" (which is as far as I understand the "low-level" stuff) is still platform-specific.

The basic idea now is that you can write a backend and a launcher for your target platform, without having to port the Duality core itself (or your game code). There is a good writeup on this here:
https://github.com/AdamsLair/duality/wiki/Framework-Structure

So, in a nutshell, yes, Duality is cross-platform (so is your game code); however, what is used to run the game (backend and launcher) must be written specifically for the target platform.

However, this may be harder than it sounds; I have not yet surveyed the Duality code to know more.

Also, note that the Duality editor is still Windows-only; from what I can see, it is because the editor uses a Windows-only framework (WinForms?).

Hope this helped. Feel free to ask for any more clarifications.

Welcome to the forums, as well.


Last edited by hsnabn on 2015/11/03, 14:04, edited 1 time in total.

Top
 Profile  
 
PostPosted: 2015/11/02, 20:46 
Newbie
Newbie

Joined: 2015/11/02, 18:26
Posts: 2
Role: Hobbyist
Ah! Thank you guys. It's good to know there's a path to cross platform


Top
 Profile  
 
PostPosted: 2015/11/02, 20:52 
Site Admin
Site Admin
User avatar

Joined: 2013/05/11, 22:30
Posts: 2073
Location: Germany
Role: Professional
Beautifully explained everyone. ^^ Thanks! Nothing to add here.

@Minh: Welcome to the forum! :)

_________________
Blog | GitHub | Twitter (@Adams_Lair)


Top
 Profile  
 
PostPosted: 2015/11/02, 22:12 
Forum Adept
Forum Adept

Joined: 2014/12/13, 00:11
Posts: 398
Location: Brazil
Role: Gamer
Just wondering, if one wanted to run Duality on Mono, would he need to create a backend for Mono, replacing the stuff in DotNetBackend?

_________________
I only know the basics of C#. I have no advanced knowledge.


Top
 Profile  
 
PostPosted: 2015/11/02, 22:15 
Site Admin
Site Admin
User avatar

Joined: 2013/05/11, 22:30
Posts: 2073
Location: Germany
Role: Professional
RockyTV wrote:
Just wondering, if one wanted to run Duality on Mono, would he need to create a backend for Mono, replacing the stuff in DotNetBackend?


Depends. Some platforms might require a fixup for path strings (translating \ to /, etc.) and I'm also not sure about the degree of System.Drawing support on Mono, so the default image codec might need to be replaced accordingly. The DotNetBackend is really the smallest one though, so that really shouldn't be a big problem :)

_________________
Blog | GitHub | Twitter (@Adams_Lair)


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 7 posts ] 

All times are UTC + 1 hour [ DST ]


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group