Yae - Game engine for MoonScript, in MoonScript

Discuss any ports of LÖVE to different platforms.
User avatar
deathbeam
Prole
Posts: 39
Joined: Mon Mar 30, 2015 5:57 pm
Location: Slovakia
Contact:

Re: NÖN [Windows, Linux, OS X, Android, iOS, Ouya]

Post by deathbeam »

I am working on really big update guys :)

I added AOT compiling of all Lua (and MoonScript) code to Java bytecode. So that means everything will have almost same performance as pure Java code (and Java code is also JIT-ed, so that means another speed increase).
Because of this, I rewrote engine source code in MoonScript. What is really awesome right? This makes contributing to engine super easy.

You can browse the moonscript branch online here: https://github.com/nondev/non/tree/moonscript/src/non

Right now, I rewrote everything except graphics API.
User avatar
deathbeam
Prole
Posts: 39
Joined: Mon Mar 30, 2015 5:57 pm
Location: Slovakia
Contact:

Re: NÖN - Game engine for MoonScript, in MoonScript

Post by deathbeam »

Hello again.

I rewrote entire engine in MoonScript. Why? Because now source code can be really familiar to users who want to use this engine, because they will actually understand what is going on.

Also, I created plugin for Sublime Text, which adds support for entire NON build system and API autocompletion. It looks like this:

Image

Also, website got new design again, now it looks awesome, is more clear, lists all important features and shows some more info about engine: http://nondev.io/

It also contains new section, with full NON documentation: http://nondev.io/doc

If you have any questions, post a reply here or come and visit us in our Gitter chatroom :)
User avatar
MadByte
Party member
Posts: 533
Joined: Fri May 03, 2013 6:42 pm
Location: Braunschweig, Germany

Re: NÖN - Game engine for MoonScript, in MoonScript

Post by MadByte »

does that mean that it's not possible to write in default lua style anymore, only moonscript ?
User avatar
Nixola
Inner party member
Posts: 1949
Joined: Tue Dec 06, 2011 7:11 pm
Location: Italy

Re: NÖN - Game engine for MoonScript, in MoonScript

Post by Nixola »

Given that Moonscript compiles to Lua? I'm quite sure it still is an option
lf = love.filesystem
ls = love.sound
la = love.audio
lp = love.physics
lt = love.thread
li = love.image
lg = love.graphics
User avatar
deathbeam
Prole
Posts: 39
Joined: Mon Mar 30, 2015 5:57 pm
Location: Slovakia
Contact:

Re: NÖN - Game engine for MoonScript, in MoonScript

Post by deathbeam »

Actually, it is temporary disabled because I need to focus on how to debug MoonScript code when error happens. I will re-enable Lua when I will finish that one (I removed 3 lines of code to disable Lua so I would just need to add them back :D)

EDIT: But official autocompletion plugin is for MoonScript
qwertywd
Prole
Posts: 1
Joined: Fri Jul 31, 2015 2:24 pm

Re: NÖN - Game engine for MoonScript, in MoonScript

Post by qwertywd »

luarocks from luaforwin(both 46 and 47) cant unpack rock files for me( :emo: )
(luar. official installer tells me that i need to set all this PATH vars by myself :emo: )
User avatar
deathbeam
Prole
Posts: 39
Joined: Mon Mar 30, 2015 5:57 pm
Location: Slovakia
Contact:

Re: NÖN - Game engine for MoonScript, in MoonScript

Post by deathbeam »

Hmm that is weird. So and do you tried to update your PATH when using official LuaRocks installer? But for me LuaForWindows was working just fine
User avatar
alberto_lara
Party member
Posts: 372
Joined: Wed Oct 30, 2013 8:59 pm

Re: NÖN - Game engine for MoonScript, in MoonScript

Post by alberto_lara »

Dude, you're awesome. Thanks.
User avatar
deathbeam
Prole
Posts: 39
Joined: Mon Mar 30, 2015 5:57 pm
Location: Slovakia
Contact:

Re: Yae - Game engine for MoonScript, in MoonScript

Post by deathbeam »

Hello again guys :)

I renamed engine to Yae. You can visit new website here. Also, engine now supports LuaRocks, so in project.yml, you can just add

Code: Select all

rocks:
  - luassert
To add dependency for leaser etc.

Stay tuned for new updates and do not forget to join our Gitter chatroom.
hmans
Prole
Posts: 4
Joined: Thu Oct 23, 2014 3:20 pm
Location: Hamburg, Germany
Contact:

Re: Yae - Game engine for MoonScript, in MoonScript

Post by hmans »

Yae is pretty impressive. Keep up the great work.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests