LunaLua Offical Thread - SMBX Usermod Framework

This is the place for discussion and support for LunaLua and related modifications and libraries.
Forum rules
Before you make a topic/post, consider the following:
-Is there a topic for this already?
-Is your post on topic/appropriate?
-Are you posting in the right forum/following the forum rules?

Shall I steam some LunaLua live development?

Yes
200
92%
No
17
8%
 
Total votes: 217
User avatar
HenryRichard
Ludwig von Koopa
Ludwig von Koopa
Posts: 2844
Joined: Mon Dec 23, 2013 12:09 pm
Flair: Is this where I type my password?
Contact:

Re: LunaLua Offical Thread [Streaming Question Poll]

Postby HenryRichard » Fri Aug 07, 2015 6:05 pm

Kevsoft wrote:For unreleased versions I add a version number to the description. LunaLua v0.7.1 has not been released yet. Just wait a few days and you will get it in your hands!
...How did I miss that? I should really read the entire description before I try something. Thanks!
Image

I'm on Soundcloud | My graphics pack!

Jesus is my savior.

User avatar
bigpotato
Spiny
Spiny
Posts: 52
Joined: Fri Aug 07, 2015 4:13 pm

Re: LunaLua Offical Thread [Streaming Question Poll]

Postby bigpotato » Mon Aug 10, 2015 11:47 am

Does this require lunaDLL to work? Or is it included?
I believe in Jesus Christ as my Lord and Savior. If you do, put this in your signature.

User avatar
Axiom
Birdo
Birdo
Posts: 1489
Joined: Tue Dec 24, 2013 2:23 pm
Current Project: learning C through PSP game programming

Re: LunaLua Offical Thread [Streaming Question Poll]

Postby Axiom » Mon Aug 10, 2015 12:15 pm

bigpotato wrote:Does this require lunaDLL to work? Or is it included?
LunaDll is bundled for backwards compatibility reasons. So yes, you can download this and still run LunaDll's autocode and Lua ;)
Image

User avatar
Kevsoft
Ripper II
Ripper II
Posts: 373
Joined: Sun Jul 27, 2014 8:03 am

Re: LunaLua Offical Thread [Streaming Question Poll]

Postby Kevsoft » Tue Aug 18, 2015 2:14 pm

LunaLua v0.7.1 is out with following changes:
Spoiler: show
* Some various fixes for the opengl renderer.
* Added screenshot handling with the print-screen button.
* Working loops (intro sequence + main loop)

* Some new functions:
** Added various functions in the Misc-Namespace
** Added various functions in the Graphics-Namespace
** Added Audio.MusicTitle and Audio.MusicTitleTag to get the music title (saved as IDv3 metadata) of the current music file (works well with mp3 and ogg)

* New custom libraries:
** fade.lua - Easy and fast library for creating fade effects and color overlays
** sprite.lua - A library for creating custom animated sprites with movement abilities.
** vectR.lua - A vector library (used for colliders.lua)

User avatar
HenryRichard
Ludwig von Koopa
Ludwig von Koopa
Posts: 2844
Joined: Mon Dec 23, 2013 12:09 pm
Flair: Is this where I type my password?
Contact:

Re: LunaLua Offical Thread [Streaming Question Poll]

Postby HenryRichard » Tue Aug 18, 2015 4:59 pm

You forgot to include SDL2_mixer_ext.dll, so SMBX doesn't start.
Image

I'm on Soundcloud | My graphics pack!

Jesus is my savior.

User avatar
Wohlstand
Boom Boom
Boom Boom
Posts: 1711
Joined: Tue Feb 11, 2014 4:44 pm
Current Project: Moondust (PGE Project)
Chat Username: Wohlstand#4881
Contact:

Re: LunaLua Offical Thread [Streaming Question Poll]

Postby Wohlstand » Wed Aug 19, 2015 12:03 am

HenryRichard wrote:You forgot to include SDL2_mixer_ext.dll, so SMBX doesn't start.
I just fixed that and repacked everything, download the "Update only" and extract missed SDL2_mixer_ext.dll into your lunalua directory.
PGE Project, my Media and supported projects: show
Support me on the Patreon
Image

PGE Project
PGE Project SMBX Topic
PGE Project Official Site and forums
Download fresh experimental builds HERE!

I'm support:
Lowser's Conquest by Sednaiur

Image
P.S. I don't like huge signatures which would be annoying, therefore I put huge content into spoilers

User avatar
Mosaic
Ludwig von Koopa
Ludwig von Koopa
Posts: 2823
Joined: Fri Feb 27, 2015 8:07 pm
Current Project: The Mosaic Group's Journey, Toad's SMB Adventure, Mosaic Adventures and Other Secret Projects?
Chat Username: Mosaic
Contact:

able to give characters a running animation With Lunalua?

Postby Mosaic » Sat Aug 22, 2015 7:50 pm

I was just wondering with lunalua can you give characters extra animations?
If so then how?

I believe in Jesus Christ as my Lord and Savior. If you do, put this in your signature.
And Here's The Proof
My Rainbow Of Levels
Mosaic's Museum(My Discord)

Image

Image

Danny wrote:Here's some constructive criticism: What the hell.
Witchking wrote:Approved!

Discord Quotes: show
Image


User avatar
TheKingOfBoos
Grinder
Grinder
Posts: 1018
Joined: Sun Jul 05, 2015 4:16 pm
Current Project: ROIP

Re: able to give characters a running animation With Lunalua

Postby TheKingOfBoos » Sun Aug 23, 2015 5:33 pm

Somebody should at least answer this so here you go:
Spoiler: show
I have no idea.
<TheKingOfBoos> I don't speak non-american, shadowstar, I have no idea how hot that is
<Kogasa> it's like 92-93 in patriot units
<Merve> TKOB for next mod
Support the GGP! Put this in your signature!
Image
Image
I support:
Spoiler: show
ImageImageImageImage

User avatar
Valtteri
Larry Koopa
Larry Koopa
Posts: 2156
Joined: Sun Dec 01, 2013 1:16 pm

Re: able to give characters a running animation With Lunalua

Postby Valtteri » Sun Aug 23, 2015 5:47 pm

SuperMario12345 wrote:I was just wondering with lunalua can you give characters extra animations?
If so then how?
Questions about Luna Lua should be posted in its thread. Merged topic.
TheKingOfBoos wrote:Somebody should at least answer this so here you go:
Spoiler: show
I have no idea.
Do not make useless posts.
Image

XerX
Birdo
Birdo
Posts: 1495
Joined: Fri Dec 20, 2013 3:33 pm

Re: able to give characters a running animation With Lunalua

Postby XerX » Sun Aug 23, 2015 7:33 pm

TheKingOfBoos wrote:Somebody should at least answer this so here you go:
Spoiler: show
I have no idea.
If you have no idea then don't answer.

User avatar
TheKingOfBoos
Grinder
Grinder
Posts: 1018
Joined: Sun Jul 05, 2015 4:16 pm
Current Project: ROIP

Re: able to give characters a running animation With Lunalua

Postby TheKingOfBoos » Sun Aug 23, 2015 7:35 pm

XerX wrote:
TheKingOfBoos wrote:Somebody should at least answer this so here you go:
Spoiler: show
I have no idea.
If you have no idea then don't answer.
Ok, lesson learned. Won't do it again. Anyway, CAN you give characters a running animation?
<TheKingOfBoos> I don't speak non-american, shadowstar, I have no idea how hot that is
<Kogasa> it's like 92-93 in patriot units
<Merve> TKOB for next mod
Support the GGP! Put this in your signature!
Image
Image
I support:
Spoiler: show
ImageImageImageImage

User avatar
HenryRichard
Ludwig von Koopa
Ludwig von Koopa
Posts: 2844
Joined: Mon Dec 23, 2013 12:09 pm
Flair: Is this where I type my password?
Contact:

Re: able to give characters a running animation With Lunalua

Postby HenryRichard » Mon Aug 24, 2015 9:08 pm

TheKingOfBoos wrote:Anyway, CAN you give characters a running animation?
I've been thinking about how I might be able to rerender the character using Graphics.drawImageToScene - it would certainly open up a lot of new possibilities!
Is there a way to instantly exit the level with any exit code? I'm working on a flagpole code and I'd like to be able to have multiple flagpoles in the same level that open up different paths. I'm able to do

Code: Select all

Level.winState(2);
, but that takes a while to actually exit.
Image

I'm on Soundcloud | My graphics pack!

Jesus is my savior.

User avatar
Artemis008
Kamikaze Koopa
Kamikaze Koopa
Posts: 1347
Joined: Mon Jul 06, 2015 4:34 pm
Contact:

Re: LunaLua Offical Thread [Streaming Question Poll]

Postby Artemis008 » Tue Aug 25, 2015 9:19 pm

I saw a SMB3 world map inventory in the LuaScripts folder,but I cant figure out what code I need to use it as there is no ReadMe for the file,does anyone know the code(s) needed or is it not ready for use?
Image

Well you see luigi, when a paisano puts his spaghetti noodle in a mamma mia’s ravioli, a little bambino covered in prosciutto comes out about nine months later -Mario

I believe in Mario as my lord and Savior, if you do, put this image in your signature.
Image

Spoiler: show
I might not be around much longer.

I have one more project to complete and then I'm done with it all.

If I disappear it means I'm gone for good. Don't bother looking for me.

XerX
Birdo
Birdo
Posts: 1495
Joined: Fri Dec 20, 2013 3:33 pm

Re: LunaLua Offical Thread [Streaming Question Poll]

Postby XerX » Tue Aug 25, 2015 9:25 pm

Artemis008 wrote:I saw a SMB3 world map inventory in the LuaScripts folder,but I cant figure out what code I need to use it as there is no ReadMe for the file,does anyone know the code(s) needed or is it not ready for use?
It's not ready.

User avatar
FanofSMBX
Bowser
Bowser
Posts: 3834
Joined: Sun Dec 22, 2013 12:01 pm

Re: LunaLua Offical Thread [Streaming Question Poll]

Postby FanofSMBX » Wed Aug 26, 2015 12:45 am

So here it goes:

1. Replace Player's Fireball with Rinka
2. It bounces off of floor diagonally
3. (The problem) it attaches to ceiling

How do I make it always bounce diagonal?

I believe in Jesus Christ as my Lord and Savior. If you do, put this in your signature.
My graphics pack!
Supporting forums:

Spoiler: show
SMBX Galaxy forum by Pivot40Channel
http://smbxgalaxy.prophpbb.com/
Come to the SMBX+ forums by illias3000. There is a whole forum category dedicated to the boss rush series with official rushes, submit bosses, and fan boss rushes! It is still open but AirSeus Forums is now open:
http://nsmbx.prophpbb.com/
AirSeus Forums the new home of the Boss Rush series:
http://smbxairseusforums.prophpbb.com/
Spoiler: show
First to discover:
Spark
Eerie
Grinder
Rainbow Shell
Birdo
Boom Boom
Image
Image
Image
Image
Image
KINGBOWSER112 RULES!


User avatar
Artemis008
Kamikaze Koopa
Kamikaze Koopa
Posts: 1347
Joined: Mon Jul 06, 2015 4:34 pm
Contact:

Re: LunaLua Offical Thread [Streaming Question Poll]

Postby Artemis008 » Wed Aug 26, 2015 6:18 pm

Another question,is it possible to make Mario use Toad or Peach's Hearts that represent their health?
Image

Well you see luigi, when a paisano puts his spaghetti noodle in a mamma mia’s ravioli, a little bambino covered in prosciutto comes out about nine months later -Mario

I believe in Mario as my lord and Savior, if you do, put this image in your signature.
Image

Spoiler: show
I might not be around much longer.

I have one more project to complete and then I'm done with it all.

If I disappear it means I'm gone for good. Don't bother looking for me.

Phil
Bob-omb
Bob-omb
Posts: 38
Joined: Tue Jan 07, 2014 7:00 pm

Re: LunaLua Offical Thread [Streaming Question Poll]

Postby Phil » Thu Aug 27, 2015 6:04 pm

Hello everyone! I want to update Legend of Mario, and i want to use Luna Lua, but i need someone to help me out. I dont know how to use this program... Here is the list of all i want:

-Use the SMB3 HUD made by XerX with the timer
-Be able to put more than one star in a level section
-Resize the screen intro snes sized, the frame can be a black frame.
-Be able to use starman, if someone figured out how!

So i need help, thank you for all the support!

User avatar
Artemis008
Kamikaze Koopa
Kamikaze Koopa
Posts: 1347
Joined: Mon Jul 06, 2015 4:34 pm
Contact:

Re: LunaLua Offical Thread [Streaming Question Poll]

Postby Artemis008 » Thu Aug 27, 2015 6:42 pm

Phil wrote:Hello everyone! I want to update Legend of Mario, and i want to use Luna Lua, but i need someone to help me out. I dont know how to use this program... Here is the list of all i want:

-Use the SMB3 HUD made by XerX with the timer
-Be able to put more than one star in a level section
-Resize the screen intro snes sized, the frame can be a black frame.
-Be able to use starman, if someone figured out how!

So i need help, thank you for all the support!
I cant help with the star man or different screen sizes but I can get you the SMB3Hud mod

Just create a Luna World File in your episode and copy/paste this right in,

Code: Select all

 _smb3overhaul = loadAPI("smb3overhaul");

function onLoad()
	_smb3overhaul.setSecondsLeft(300);
	_smb3overhaul.setTimerState(true);
	_smb3overhaul.usesPBar(true);
	_smb3overhaul.useEasyMode(true);
	_smb3overhaul.usesCard(true);
end
And note that you CAN change the time limit to whatever you want as long as its not over 999
Image

Well you see luigi, when a paisano puts his spaghetti noodle in a mamma mia’s ravioli, a little bambino covered in prosciutto comes out about nine months later -Mario

I believe in Mario as my lord and Savior, if you do, put this image in your signature.
Image

Spoiler: show
I might not be around much longer.

I have one more project to complete and then I'm done with it all.

If I disappear it means I'm gone for good. Don't bother looking for me.

User avatar
Kevsoft
Ripper II
Ripper II
Posts: 373
Joined: Sun Jul 27, 2014 8:03 am

Re: LunaLua Offical Thread [Streaming Question Poll]

Postby Kevsoft » Fri Aug 28, 2015 7:12 am

Artemis008 wrote:Another question,is it possible to make Mario use Toad or Peach's Hearts that represent their health?
I don't know, but you can check out this page: http://engine.wohlnet.ru/pgewiki/SMBX_Player_Offsets
However, I am afraid that it is controlled by the id, rather than an extra flag.

Phil wrote: -Use the SMB3 HUD made by XerX with the timer
Basically what Artemis008 said. In addition you might want to check out this page: https://github.com/XNBlank/LunaLua-Modules/releases
Phil wrote: -Be able to put more than one star in a level section
From the SMBX side there is no possible way, however you might can do tricks with the Data-class, i.e. constantly checking if how many star exist and if one is gone add the value to the your data-object.
Phil wrote: -Resize the screen intro snes sized, the frame can be a black frame.
Sorry mate, but LunaLua doesn't have full access to the intro screen.
Phil wrote: -Be able to use starman, if someone figured out how!
Might check out this: http://engine.wohlnet.ru/pgewiki/LunaLua_Examples
or this episode: http://www.supermariobrosx.org/forums/v ... 36&t=10805 (one of the screenshots indicated some sort of a starman.)

User avatar
Artemis008
Kamikaze Koopa
Kamikaze Koopa
Posts: 1347
Joined: Mon Jul 06, 2015 4:34 pm
Contact:

Re: LunaLua Offical Thread [Streaming Question Poll]

Postby Artemis008 » Fri Aug 28, 2015 3:19 pm

Artemis008 wrote:
Phil wrote:Hello everyone! I want to update Legend of Mario, and i want to use Luna Lua, but i need someone to help me out. I dont know how to use this program... Here is the list of all i want:

-Use the SMB3 HUD made by XerX with the timer
-Be able to put more than one star in a level section
-Resize the screen intro snes sized, the frame can be a black frame.
-Be able to use starman, if someone figured out how!

So i need help, thank you for all the support!
I cant help with the star man or different screen sizes but I can get you the SMB3Hud mod

Just create a Luna World File in your episode and copy/paste this right in,

Code: Select all

 _smb3overhaul = loadAPI("smb3overhaul");

function onLoad()
	_smb3overhaul.setSecondsLeft(300);
	_smb3overhaul.setTimerState(true);
	_smb3overhaul.usesPBar(true);
	_smb3overhaul.useEasyMode(true);
	_smb3overhaul.usesCard(true);
end
And note that you CAN change the time limit to whatever you want as long as its not over 999


You should use it in your SMB3 remake as well!
Image

Well you see luigi, when a paisano puts his spaghetti noodle in a mamma mia’s ravioli, a little bambino covered in prosciutto comes out about nine months later -Mario

I believe in Mario as my lord and Savior, if you do, put this image in your signature.
Image

Spoiler: show
I might not be around much longer.

I have one more project to complete and then I'm done with it all.

If I disappear it means I'm gone for good. Don't bother looking for me.


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 2 guests