Search found 11 matches

Go to advanced search

by ztarwuff
Mon May 13, 2019 5:50 am
Forum: LunaLua Help
Topic: Need help with lua? - LunaLua General Help
Replies: 159
Views: 21083

Re: Need help with lua? - LunaLua General Help

Hoeloe wrote:
Mon May 13, 2019 5:44 am
Umm... if your build is so old that Text.print doesn't work... well, NPC.get and NPC.spawn won't either.
No, they work fine, which is the weird thing. Goodness knows what kind of weird build I've got. Probably best if I erase everything and reinstall from scratch.
by ztarwuff
Mon May 13, 2019 4:15 am
Forum: LunaLua Help
Topic: Need help with lua? - LunaLua General Help
Replies: 159
Views: 21083

Re: Need help with lua? - LunaLua General Help

Oh also, just noticed you're using printText and WOW that's some old code. You should use Text.print. Yeah, I started this project on the last A2XT package and haven't moved over to SMBX2.0 yet. Can't quite remember the reason right now, but something about the beta package is putting me off. I thi...
by ztarwuff
Sun May 12, 2019 10:57 am
Forum: LunaLua Help
Topic: Need help with lua? - LunaLua General Help
Replies: 159
Views: 21083

Re: Need help with lua? - LunaLua General Help

Hoeloe wrote:
Sat May 11, 2019 3:35 pm
In answer to your first question:

...

As for your second one:

...
Thanks for the help. Everything works perfectly now. The boss sprite kind of freaks out when you hit it, but I think it works just fine as a hurt animation.
by ztarwuff
Sat May 11, 2019 8:41 am
Forum: LunaLua Help
Topic: Need help with lua? - LunaLua General Help
Replies: 159
Views: 21083

Re: Need help with lua? - LunaLua General Help

I'm creating a bossfight, and would be very grateful if I could get some help. I've utilised lineguide.lua to create a fancy movement pattern, placed a moving platform on it, and attached the Mother Brain sprite to it. Now, my Mother Brain sprite is directional. I was thinking of forcing the sprite ...
by ztarwuff
Sun Nov 25, 2018 2:13 pm
Forum: LunaLua
Topic: Need help with lua? - LunaLua General Help
Replies: 1502
Views: 143992

Re: Need help with lua? - LunaLua General Help

Are you sure there's no in game events that's changing the music? I had an issue with music restarting unless I started the level on silence as well as any in game event not triggering music. Ah, yes, that was it. There was an old event I didn't realise was still there. Your method is also very eas...
by ztarwuff
Sat Nov 24, 2018 10:27 am
Forum: LunaLua
Topic: Need help with lua? - LunaLua General Help
Replies: 1502
Views: 143992

Re: Need help with lua? - LunaLua General Help

EDIT: Ah wait you want the original music to start again after the boss is dead? Sorry I didn't read the second code thoroughly. I got that to work with the eventu API which comes with beta 3. We can make a code like this. Yes, that's right. The player comes across the boss, an event triggers that ...
by ztarwuff
Fri Nov 23, 2018 3:13 pm
Forum: LunaLua
Topic: Need help with lua? - LunaLua General Help
Replies: 1502
Views: 143992

Re: Need help with lua? - LunaLua General Help

Hi, there. I'm developing a level with custom music as the level's default and want to trigger custom music when a boss is encountered. I initially tried this: function onEvent(BossMusic) if BossMusic == "Bossstart" then Audio.MusicChange(7,"boss.ogg",0) end end Nothing happened. Then I came across ...
by ztarwuff
Tue Mar 03, 2015 11:26 am
Forum: Help and Support
Topic: How to have the hearts health system for mario and luigi?
Replies: 4
Views: 1031

Re: How to have the hearts health system for mario and luigi

Oh my, I'm very embarrassed. I misread the entire thing. I've just done a proper search and found that what you're asking for is not possible.

I'm sorry for getting your hopes up like that.
by ztarwuff
Mon Mar 02, 2015 3:18 pm
Forum: Help and Support
Topic: Warps and SMW Stars
Replies: 2
Views: 823

Re: Warps and SMW Stars

SMW stars and warps to another level works that way, you're not wrong. It's strange your problem about SMW stars, can you tell me what did you do? Keep in mind that 2 stars can't be put in the same section. Abot the warps, remember that the warp must exit the level. Well, basically, this is what I'...
by ztarwuff
Mon Mar 02, 2015 2:54 pm
Forum: Help and Support
Topic: How to have the hearts health system for mario and luigi?
Replies: 4
Views: 1031

Re: How to have the hearts health system for mario and luigi

That's it. i was wondering if Mario and Luigi can have the hearts health system which Toad, Peach and Link have. Any LunaDLL code or something? I personally haven't tried it, but apparently there is some LunaDLL code. HEART SYSTEM HeartSystem,X,Y,MAX HEARTS,-,Active time,- Description - Activates a...
by ztarwuff
Sun Mar 01, 2015 5:19 pm
Forum: Help and Support
Topic: Warps and SMW Stars
Replies: 2
Views: 823

Warps and SMW Stars

I've been thinking lately about how SMBX could potentially be used to create a Metroidvania game and have been attempting to work on a proof of concept demo, but it doesn't seem to be working as well as I hoped. I personally thought I had it sussed: 1. SMW Stars once collected do not reappear (I not...

Go to advanced search