Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Developing the Linux build of Corona
Started by rcraig12 Jul 09 2019 12:34 AM

23 replies to this topic
[TOPIC CONTROLS]
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

rcraig12

[GLOBAL: userInfoPane.html]
rcraig12
  • Observer

  • 10 posts
  • Corona SDK

I got interested in using Corona again but not being able to use it effectively of Linux and using WINE really didnt sit well with me. So I left it until a fortnight ago I got wind of it being made opensource. 

 

This peaked my interest and I had some chats with Vlad and Coronarob and decided I would help to further the development of a native build for Linux. Here's the show so far!

 

https://www.youtube.com/watch?v=ZLDQoixeAkg

 

A little taster of the New Project functionality being coded into the Linux build.

 

 


  • glitchbit01, rcraig12, Jaime Alemany and 1 other like this

[TOPIC: post.html]
#2

glitchbit01

[GLOBAL: userInfoPane.html]
glitchbit01
  • Observer

  • 13 posts
  • Corona SDK

That's great, happy to have you contribute. We are doing some work on ironing out the Linux builds so it runs just like the Windows/Mac builds (how to setup video playback, optimizing Linux settings for best performance, etc.) We'll share results.

 

Very exciting tho.


  • rcraig12 likes this

[TOPIC: post.html]
#3

sporkfin

[GLOBAL: userInfoPane.html]
sporkfin
  • Contributor

  • 625 posts
  • Corona SDK

Nice!  I've been following the chatter on the Corona / Linux Slack channel.  Keep up the great work, it will be a lovely contribution to the community


  • glitchbit01 and rcraig12 like this

[TOPIC: post.html]
#4

glitchbit01

[GLOBAL: userInfoPane.html]
glitchbit01
  • Observer

  • 13 posts
  • Corona SDK

Thanks, building for Linux should prove to be very valuable for Corona and other developers.


  • rcraig12 likes this

[TOPIC: post.html]
#5

rcraig12

[GLOBAL: userInfoPane.html]
rcraig12
  • Observer

  • 10 posts
  • Corona SDK

Some further progress made please do give it a watch and see where I am up to :)

 

https://www.youtube.com/watch?v=3Gzk1Kud5Yg


  • glitchbit01 and sporkfin like this

[TOPIC: post.html]
#6

glitchbit01

[GLOBAL: userInfoPane.html]
glitchbit01
  • Observer

  • 13 posts
  • Corona SDK

Wow, coming along great! You're a Linux Hero.


  • rcraig12 likes this

[TOPIC: post.html]
#7

rcraig12

[GLOBAL: userInfoPane.html]
rcraig12
  • Observer

  • 10 posts
  • Corona SDK

It's the first time I have done any application coding for Linux. So much of it is down to a load of reading and getting my head round how to write the code for it. Enjoyable journey though!

 

The New Project process is an enabler for linux users as the code was not doing that and I felt most users would not be so adept at pulling everything together manually. So I see this as major :)

 

I think it may be a good time to produce a installer so that users can install it easily and get onto the road of using it on native Linux. No more WINE required!


  • glitchbit01 likes this

[TOPIC: post.html]
#8

rcraig12

[GLOBAL: userInfoPane.html]
rcraig12
  • Observer

  • 10 posts
  • Corona SDK

OK now that the projects are being created from the New Project menu I have reflected the same operation in the linux build. Basically you create a project, set the options as required in the dialog screen. When the OK button is clicked the project will be created as per your settings and then the simulator automatically launches with the application running inside it.

 

Not very exciting as the simulator is running an empty file but it is running and that is the same functionality as the windows environment.

 

Only part to do now is ask the user if they would like to open the project in an editor and do some error checking as the whole thing assumes you haven't done anything outwith normal flow.

 

Cancelling for instance.

 

Anyways back to it!


  • glitchbit01 and jamesk1187 like this

[TOPIC: post.html]
#9

sporkfin

[GLOBAL: userInfoPane.html]
sporkfin
  • Contributor

  • 625 posts
  • Corona SDK

It's really cool that you are working on this - keep it up and keep us posted!


  • glitchbit01 and rcraig12 like this

[TOPIC: post.html]
#10

rcraig12

[GLOBAL: userInfoPane.html]
rcraig12
  • Observer

  • 10 posts
  • Corona SDK

Today I have resloved some issues with a fresh install in that it will create default folders to match with the default config of the application.

 

I have now got the application going back to the welcome screen if the user closes or exits the simulator.

 

I have build a deb package and included the dependencies requires to install the application. This has been tested on a fresh build of Ubuntu installed with minimal settings so as to get to the most accurate information of what is missing to get the application running.

 

Vlad and Coronarob have been given access to the .deb package to comment further on where to go next.

 

Have a great weekend guys.


  • glitchbit01 likes this

[TOPIC: post.html]
#11

rcraig12

[GLOBAL: userInfoPane.html]
rcraig12
  • Observer

  • 10 posts
  • Corona SDK

New video up on the application installing using a .deb file :) Check it out below...

 

https://www.youtube.com/watch?v=f4z2fNSQxnU


  • glitchbit01 likes this

[TOPIC: post.html]
#12

XeduR @Spyric

[GLOBAL: userInfoPane.html]
XeduR @Spyric
  • Contributor

  • 985 posts
  • Corona SDK

I'm pretty much a novice when it comes to Linux, but I am both happy and excited to see people taking advantage of Corona being open source like this and making Corona more readily available for other systems.


  • StarCrunch, glitchbit01 and rcraig12 like this

[TOPIC: post.html]
#13

glitchbit01

[GLOBAL: userInfoPane.html]
glitchbit01
  • Observer

  • 13 posts
  • Corona SDK

Amazing work rcraig12, thank you for all of your hard work. I'll try and make some posts on Linux work too.


  • rcraig12 likes this

[TOPIC: post.html]
#14

jcat

[GLOBAL: userInfoPane.html]
jcat
  • Observer

  • 1 posts
  • Corona SDK

I cant wait to try this rcraig12!!! Keep up the good work.


  • glitchbit01 and rcraig12 like this

[TOPIC: post.html]
#15

m.si

[GLOBAL: userInfoPane.html]
m.si
  • Observer

  • 2 posts
  • Corona SDK

New video up on the application installing using a .deb file :) Check it out below...

 

https://www.youtube.com/watch?v=f4z2fNSQxnU

 

Hello, how to download your install package and test it?


  • glitchbit01 and rcraig12 like this

[TOPIC: post.html]
#16

rcraig12

[GLOBAL: userInfoPane.html]
rcraig12
  • Observer

  • 10 posts
  • Corona SDK

I will have a chat with the Corona Labs team and see what the views are around an early alpha release :)


  • glitchbit01 and m.si like this

[TOPIC: post.html]
#17

rcraig12

[GLOBAL: userInfoPane.html]
rcraig12
  • Observer

  • 10 posts
  • Corona SDK

OK after having a chat the team at Corona Labs are happy for me to post a deb package for you all to get a look!

 

https://drive.google.com/file/d/126sWLLmV1-nzqbpDKBCIW5KXZbChwBXQ/view?usp=sharing

 

Enjoy!


  • glitchbit01 and m.si like this

[TOPIC: post.html]
#18

m.si

[GLOBAL: userInfoPane.html]
m.si
  • Observer

  • 2 posts
  • Corona SDK

OK after having a chat the team at Corona Labs are happy for me to post a deb package for you all to get a look!

 

https://drive.google.com/file/d/126sWLLmV1-nzqbpDKBCIW5KXZbChwBXQ/view?usp=sharing

 

Enjoy!

Thank you very much! Very glad! I will test.  :)


  • glitchbit01 and rcraig12 like this

[TOPIC: post.html]
#19

rcraig12

[GLOBAL: userInfoPane.html]
rcraig12
  • Observer

  • 10 posts
  • Corona SDK

Worth mentioning this is far from a polished product. But will let you at the very least develop and launch the simulator within Linux.


  • glitchbit01, XeduR @Spyric, Revolt64 and 1 other like this

[TOPIC: post.html]
#20

XeduR @Spyric

[GLOBAL: userInfoPane.html]
XeduR @Spyric
  • Contributor

  • 985 posts
  • Corona SDK

Looking good! I can't wait for the final product!


  • glitchbit01 and rcraig12 like this

[TOPIC: post.html]
#21

Revolt64

[GLOBAL: userInfoPane.html]
Revolt64
  • Observer

  • 3 posts
  • Corona SDK

OK after having a chat the team at Corona Labs are happy for me to post a deb package for you all to get a look!

 

https://drive.google.com/file/d/126sWLLmV1-nzqbpDKBCIW5KXZbChwBXQ/view?usp=sharing

 

Enjoy!

 

Thank you so much for sharing this! Going to test it ASAP.

This is awesome.



[TOPIC: post.html]
#22

Revolt64

[GLOBAL: userInfoPane.html]
Revolt64
  • Observer

  • 3 posts
  • Corona SDK

Worth mentioning this is far from a polished product. But will let you at the very least develop and launch the simulator within Linux.

 

So I tried it out. Unforunately, it seems to completely break when you use it on a HDPi monitor using display scaling.

I'm running Ubuntu 18.04 on a 4k monitor using 200% display scaling and this is how a project with a resolution of 640x480 appears for me:

 

Using zoomstretch scaling: 9ywVo9W.png

Using letterbox scaling: lrKy5jl.png

Welcome screen: XSvbSea.png

 

Any chance that you could look into this issue please?

 

PS: Building a linux binary fails also. I tried building the new template project (storyboard tabbed application) and it fails to run due to not being able to locate widget assets.

 

Thanks again for all your hard work on this. I'd love to help collaborate if you're willing to open source your efforts. I'm experienced in C/C++/Obj-C, C# etc.



[TOPIC: post.html]
#23

bieniek.szymon

[GLOBAL: userInfoPane.html]
bieniek.szymon
  • Observer

  • 1 posts
  • Corona SDK

Any chace for update to support Ubuntu 19.10/Ubuntu 20.04?



[TOPIC: post.html]
#24

Rob Miracle

[GLOBAL: userInfoPane.html]
Rob Miracle
  • Moderator

  • 26,309 posts
  • Enterprise

We are not actively working on Linux builds. The current builds should work on Ubuntu's more modern versions.

 

Rob




[topic_controls]
[/topic_controls]