Re: able to give characters a running animation With Lunalua
Posted: Sun Aug 23, 2015 5:33 pm
Somebody should at least answer this so here you go:
Spoiler: show
Forums for SMBX
https://www.smbxgame.com/forums/
Questions about Luna Lua should be posted in its thread. Merged topic.SuperMario12345 wrote:I was just wondering with lunalua can you give characters extra animations?
If so then how?
Do not make useless posts.TheKingOfBoos wrote:Somebody should at least answer this so here you go:
Spoiler: show
If you have no idea then don't answer.TheKingOfBoos wrote:Somebody should at least answer this so here you go:
Spoiler: show
Ok, lesson learned. Won't do it again. Anyway, CAN you give characters a running animation?XerX wrote:If you have no idea then don't answer.TheKingOfBoos wrote:Somebody should at least answer this so here you go:
Spoiler: show
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!TheKingOfBoos wrote:Anyway, CAN you give characters a running animation?
Code: Select all
Level.winState(2);
It's not ready.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?
I cant help with the star man or different screen sizes but I can get you the SMB3Hud modPhil 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!
Code: Select all
_smb3overhaul = loadAPI("smb3overhaul");
function onLoad()
_smb3overhaul.setSecondsLeft(300);
_smb3overhaul.setTimerState(true);
_smb3overhaul.usesPBar(true);
_smb3overhaul.useEasyMode(true);
_smb3overhaul.usesCard(true);
end
I don't know, but you can check out this page: http://engine.wohlnet.ru/pgewiki/SMBX_Player_OffsetsArtemis008 wrote:Another question,is it possible to make Mario use Toad or Peach's Hearts that represent their health?
Basically what Artemis008 said. In addition you might want to check out this page: https://github.com/XNBlank/LunaLua-Modules/releasesPhil wrote: -Use the SMB3 HUD made by XerX with the timer
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: -Be able to put more than one star in a level section
Sorry mate, but LunaLua doesn't have full access to the intro screen.Phil wrote: -Resize the screen intro snes sized, the frame can be a black frame.
Might check out this: http://engine.wohlnet.ru/pgewiki/LunaLua_ExamplesPhil wrote: -Be able to use starman, if someone figured out how!
Artemis008 wrote:I cant help with the star man or different screen sizes but I can get you the SMB3Hud modPhil 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!
Just create a Luna World File in your episode and copy/paste this right in,And note that you CAN change the time limit to whatever you want as long as its not over 999Code: Select all
_smb3overhaul = loadAPI("smb3overhaul"); function onLoad() _smb3overhaul.setSecondsLeft(300); _smb3overhaul.setTimerState(true); _smb3overhaul.usesPBar(true); _smb3overhaul.useEasyMode(true); _smb3overhaul.usesCard(true); end
You could attach black foreground objects to the HUD, if that's what your intended effect is.Phil wrote:-Resize the screen intro snes sized, the frame can be a black frame.
Step one:Artemis008 wrote:But how do you do that?
I'm not good at scripting by the way.
Code: Select all
local player = Player();
function onLoop()
if(player.holdingNPC ~= nil) then
if(player.holdingNPC.id == 31) then
Phanto:hide(true noSmoke)
Phanto Chasing:show(true noSmoke))
end
end
end