Giter VIP home page Giter VIP logo

Comments (5)

aggsol avatar aggsol commented on May 17, 2024

Or using GTK# for the GUI would also do the trick. A standalone CLI would be helpful. Or integrate everything into the asset processor and manage everything (including GUI) in Unity itself.

from tiled2unity.

Gnumaru avatar Gnumaru commented on May 17, 2024

The mono runtime does support Windows Forms (if not in entirety, at least partially), wich is used by Tiled2Unity (even though the visuals are not nice). What prevents Tiled2Unity to compile and run flawlesly under mono are other things.

I have forked Seanba's master branch some months ago and made some minor modifications to allow the code to compile and run under mono. Three days ago I merged Seanba's master branch with my fork to keep mine up to date. You can see my fork here:

https://github.com/Gnumaru/Tiled2Unity

from tiled2unity.

fmoo avatar fmoo commented on May 17, 2024

EDIT: at a minimum, I'm missing libmono-uia-cil-dev.. grepping around for others.

@Gnumaru - this is awesome! But I'm getting some errors when I run xbuild:

Warnings:

.../Tiled2Unity/tool/Tiled2Unity/Tiled2Unity.sln (default targets) ->
(Build target) ->
.../Tiled2Unity/tool/Tiled2Unity/src/Tiled2Unity.csproj (default targets) ->
/usr/lib/mono/4.5/Microsoft.Common.targets (ResolveAssemblyReferences target) ->

    /usr/lib/mono/4.5/Microsoft.Common.targets:  warning : Reference 'UIAutomationProvider, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' not resolved
    /usr/lib/mono/4.5/Microsoft.Common.targets:  warning : Reference 'UIAutomationTypes, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35' not resolved
    /usr/lib/mono/4.5/Microsoft.Common.targets:  warning : Reference 'System.Windows.Input.Manipulations, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' not resolved

Errors:

.../Tiled2Unity/tool/Tiled2Unity/Tiled2Unity.sln (default targets) ->
(Build target) ->
.../Tiled2Unity/tool/Tiled2Unity/src/Tiled2Unity.csproj (default targets) ->
/usr/lib/mono/4.5/Microsoft.CSharp.targets (CoreCompile target) ->

    Tiled2UnityAbout.Designer.cs(36,54): error CS0234: The type or namespace name `RichText50W' does not exist in the namespace `Tiled2Unity'. Are you missing an assembly reference?

     3 Warning(s)
     1 Error(s)

Time Elapsed 00:00:00.8949470

from tiled2unity.

Gnumaru avatar Gnumaru commented on May 17, 2024

Sorry. Seems like I forgot to push a commit. Before, I was conditionally loading a 'RichText50W' if the code was running on MS Dotnet or loading a Windows.Forms.RichTextBox if it was running on mono

        if (System.Type.GetType ("Mono.Runtime") == null) {
            this.richTextBoxAbout = new Tiled2Unity.RichText50W();
        }else{
            this.richTextBoxAbout = new System.Windows.Forms.RichTextBox();
        }

https://github.com/Gnumaru/Tiled2Unity/blob/318c55c148ef8926cf84818aa6f20ce656fd2d54/tool/Tiled2Unity/src/Tiled2UnityAbout.Designer.cs

But i think it is better to just drop out the RichText50W, since it's just used in the about dialog.

from tiled2unity.

Seanba avatar Seanba commented on May 17, 2024

As of version 1.0.7.0 there is a separate Tiled2UnityMac application available (built on top of Xamarin.Mac)

from tiled2unity.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.