Quick Links: Download Gideros Studio | Gideros Documentation | Gideros Development Center | Gideros community chat
library for both Gideros and Corona - Gideros Forum

library for both Gideros and Corona

salesioparksalesiopark Member
edited February 22 in General questions
I'm writing the library named 'luasopia'. The purpose of this personal project is that the same lua code can be executed both in Gideros and Corona with same results.

I wonder if this is something to keep going.

My first short demos are here.
Gideros player is on the right, Corona simulator is on the left.
The same main.lua file (on the center) is executed.

Sprite animation:



Touch event:



Polygon and shift:


Likes: MoKaLux, talis, oleg

Tagged:
+1 -1 (+3 / -0 ) Share on Facebook

Comments

  • I am not sure, you can check this thread where hgy29 is implementing the same thing as yours?
    http://forum.giderosmobile.com/discussion/comment/62320/#Comment_62320
    my growING GIDEROS github repositories: https://github.com/mokalux?tab=repositories
  • This is sprite animation demo.


    Likes: MoKaLux

    +1 -1 (+1 / -0 ) Share on Facebook
  • what is luasopia?
    my growING GIDEROS github repositories: https://github.com/mokalux?tab=repositories
  • The name of library that I'm working on. It is very initial state.
  • rrraptorrrraptor Member
    edited February 21
    @hgy29 I wonder why gideros "lagging" when the app is started?
    You can see on the video that the app stops for a sec and after some time continues running normally.
    Corona player dont have this issue.
  • hgy29hgy29 Maintainer
    @rraptor, I don't know but it happens to me too. I suspect something due to using QT or some windows thing, since it only happens on the windows player to me. Maybe the way gideros emulates fixed fps using timer events in QT.

    Likes: MoKaLux

    +1 -1 (+1 / -0 ) Share on Facebook
  • hgy29hgy29 Maintainer
    edited February 21
    MoKaLux said:

    I am not sure, you can check this thread where hgy29 is implementing the same thing as yours?
    http://forum.giderosmobile.com/discussion/comment/62320/#Comment_62320

    I am not doing the same, @salesiopark is (I think) redefining a whole new API that can target gideros or corona internally, so that you can code in a single API and use the engine you want to run it. My project is to emulate Corona API under Gideros, so that you can use your already made Corona source code with Gideros.

    @salesiopark project is good for someone who hesitate between Gideros and Corona (or other platforms) for a new game. My project is targetted at Corona users who are afraid about the future after latests CoronaLabs announcements, and look for a smooth transition path to Gideros.
    +1 -1 (+5 / -0 ) Share on Facebook
  • salesioparksalesiopark Member
    edited February 21
    @hgy29 explained very correctly. I am redesigning some parts related to display and sound of both engines. Especially, I wish that the library is used for young students and beginners who like programming games.

    Likes: MoKaLux, talis

    +1 -1 (+2 / -0 ) Share on Facebook
  • The more userbase we will have the more diversity it will bring like this case. Both projects has it's own uniqueness and advantages. One more time many thanks for the contributions to Gideros and coding community. <3 @hgy29 , <3 @salesiopark
    +1 -1 (+5 / -0 ) Share on Facebook
  • olegoleg Member
    edited February 21

    I'm writing the library named 'luasopia'. The purpose of this personal project is that the same lua code can be executed both in Gideros and Corona with same results.

    I wonder if this is something to keep going.

    My first short demo is in this video.
    Gideros player is on the right, Corona simulator is on the left.
    The same main.lua file (on the center) is executed.

    Tell details:
    1- In what language do you write?
    2. will the project be compiled in corona or gideros format?
    my games:
    https://play.google.com/store/apps/developer?id=razorback456
    мій блог по гідерос https://simartinfo.blogspot.com
    Слава Україні!
  • salesioparksalesiopark Member
    edited February 21
    oleg said:

    I'm writing the library named 'luasopia'. The purpose of this personal project is that the same lua code can be executed both in Gideros and Corona with same results.

    I wonder if this is something to keep going.

    My first short demo is in this video.
    Gideros player is on the right, Corona simulator is on the left.
    The same main.lua file (on the center) is executed.

    Tell details:
    1- In what language do you write?
    2. will the project be compiled in corona or gideros format?
    I'm writing Lua library. (more corectly, it is a wrapper.) Its core files are 100% Lua programs. This library does not compiles but makes it possible to directly execute the user (lua) code on both Gideros and Corona without modifications as seen in the video clips above.
  • olegoleg Member

    oleg said:

    I'm writing the library named 'luasopia'. The purpose of this personal project is that the same lua code can be executed both in Gideros and Corona with same results.

    I wonder if this is something to keep going.

    My first short demo is in this video.
    Gideros player is on the right, Corona simulator is on the left.
    The same main.lua file (on the center) is executed.

    Tell details:
    1- In what language do you write?
    2. will the project be compiled in corona or gideros format?
    I'm writing Lua library. (more corectly, it is a wrapper.) Its core files are 100% Lua programs. This library does not compiles but makes it possible to directly execute the user (lua) code on both Gideros and Corona without modifications as seen in the video clips above.
    If you don't compile, then I don't understand why this library is needed in practice?
    my games:
    https://play.google.com/store/apps/developer?id=razorback456
    мій блог по гідерос https://simartinfo.blogspot.com
    Слава Україні!
  • @oleg, it's a common platform between different Lua engines. I personally won't need it, but I can see if you are teaching games programming then it would be useful.
    Coder, video game industry veteran (since the '80s, ❤'s assembler), arrested - never convicted hacker (in the '90s), dad of five, he/him (if that even matters!).
    https://deluxepixel.com
  • olegoleg Member
    edited February 21

    @oleg, it's a common platform between different Lua engines. I personally won't need it, but I can see if you are teaching games programming then it would be useful.

    But a game made on this platform cannot be compiled...

    @salesiopark
    I'm not criticizing, I'm just trying to understand the scope of where this can be used.
    my games:
    https://play.google.com/store/apps/developer?id=razorback456
    мій блог по гідерос https://simartinfo.blogspot.com
    Слава Україні!
  • salesioparksalesiopark Member
    edited February 21
    oleg said:

    oleg said:

    I'm writing the library named 'luasopia'. The purpose of this personal project is that the same lua code can be executed both in Gideros and Corona with same results.

    I wonder if this is something to keep going.

    My first short demo is in this video.
    Gideros player is on the right, Corona simulator is on the left.
    The same main.lua file (on the center) is executed.

    Tell details:
    1- In what language do you write?
    2. will the project be compiled in corona or gideros format?
    I'm writing Lua library. (more corectly, it is a wrapper.) Its core files are 100% Lua programs. This library does not compiles but makes it possible to directly execute the user (lua) code on both Gideros and Corona without modifications as seen in the video clips above.
    If you don't compile, then I don't understand why this library is needed in practice?
    There is some misunderstanding. The code using the library can be of course compiled into android, iphone or PC by Gideros or Corona. I meant that the compiling is not the feature of my library. It is feature of Gideros and Corona.

    Likes: SinisterSoft

    +1 -1 (+1 / -0 ) Share on Facebook
  • olegoleg Member

    oleg said:

    oleg said:

    I'm writing the library named 'luasopia'. The purpose of this personal project is that the same lua code can be executed both in Gideros and Corona with same results.

    I wonder if this is something to keep going.

    My first short demo is in this video.
    Gideros player is on the right, Corona simulator is on the left.
    The same main.lua file (on the center) is executed.

    Tell details:
    1- In what language do you write?
    2. will the project be compiled in corona or gideros format?
    I'm writing Lua library. (more corectly, it is a wrapper.) Its core files are 100% Lua programs. This library does not compiles but makes it possible to directly execute the user (lua) code on both Gideros and Corona without modifications as seen in the video clips above.
    If you don't compile, then I don't understand why this library is needed in practice?
    There is some misunderstanding. The code using the library can be of course compiled into android, iphone or PC by Gideros or Corona. I meant that the compiling is not the feature of my library. It is feature of Gideros and Corona.
    I understand you correctly ?:
    -you write code on your api
    -your library stores the code in api crown and gideros format separately
    my games:
    https://play.google.com/store/apps/developer?id=razorback456
    мій блог по гідерос https://simartinfo.blogspot.com
    Слава Україні!
  • I made another video using Gideros Studio this time.


    Likes: oleg

    +1 -1 (+1 / -0 ) Share on Facebook
Sign In or Register to comment.