[LunaLua] Time limit to stay underwater

This is the place for discussion and support for LunaLua and related modifications and libraries.

Moderator: Userbase Moderators

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?
lotus006
Spike
Spike
Posts: 284
Joined: Thu Sep 24, 2015 12:59 am

Re: [LunaLua] Time limit to stay underwater

Postby lotus006 » Mon Feb 29, 2016 3:45 pm

Prado wrote:Wow, amazing! Thanks for the sequel :) :) :)
I'm glad you love it!

Do you have any other request ? (probably I will try to debug Hex to find the 2nd player when he go in water too, if it's possible)
  • adding support for 2nd player
    Maybe find a way to add when coins is taken air will be added more
    Is there a way to detect when is the players where is in a full level of water ?
    Attaching this to the future menu I will try to release soon for more toggable ?

zxcv
Volcano Lotus
Volcano Lotus
Posts: 511
Joined: Tue Aug 05, 2014 10:10 am
Pronouns: They/She

Re: [LunaLua] Time limit to stay underwater

Postby zxcv » Mon Feb 29, 2016 3:54 pm

3- I don't know
4- OK!

Could you please make it possible for battle mode ?

lotus006
Spike
Spike
Posts: 284
Joined: Thu Sep 24, 2015 12:59 am

Re: [LunaLua] Time limit to stay underwater

Postby lotus006 » Mon Feb 29, 2016 3:57 pm

Prado wrote:3- I don't know
4- OK!

Could you please make it possible for battle mode ?
Yep sure I'll look into this soon

lotus006
Spike
Spike
Posts: 284
Joined: Thu Sep 24, 2015 12:59 am

Re: [LunaLua] Time limit to stay underwater

Postby lotus006 » Mon Feb 29, 2016 6:33 pm

Prado wrote:3- I don't know
4- OK!

Could you please make it possible for battle mode ?
Mmm, I've looked into batte mode and It's look uncompatible a little bit for the multiplayer, but any way to find the value if the 2nd player is in the water ?
also I got some incompatibility with textblox for the small text indicator :(

nevermind I found a value adress offset for the 2nd multiplayer :D

Code: Select all

mem(0x0820B1D4, FIELD_WORD) -- player2 offsets for if is in water , set to 2 when in water

lotus006
Spike
Spike
Posts: 284
Joined: Thu Sep 24, 2015 12:59 am

Re: [LunaLua] Time limit to stay underwater

Postby lotus006 » Tue Mar 01, 2016 6:15 am

Prado wrote:3- I don't know
4- OK!

Could you please make it possible for battle mode ?
Waoooouuu !! , Battle Mode Done :D
I wasnt sure how to sort the multiplayer gauge but that what is it :)

Need more stuff maybe to improve , and beta hud will be out maybe today :D

zxcv
Volcano Lotus
Volcano Lotus
Posts: 511
Joined: Tue Aug 05, 2014 10:10 am
Pronouns: They/She

Re: [LunaLua] Time limit to stay underwater

Postby zxcv » Tue Mar 01, 2016 11:56 am

Oh, thanks!

lotus006
Spike
Spike
Posts: 284
Joined: Thu Sep 24, 2015 12:59 am

Re: [LunaLua] Time limit to stay underwater

Postby lotus006 » Fri Mar 04, 2016 3:54 am

Unfortunately if no one can tell me how I can find the player2:mem(0x34, FIELD_WORD, 2) in cheat engine I will be just release
for 1 player because the adress for p2 is volatile can't stay when we restart the game :(


I know I need to use find pointer but in smbx it keep crashing :(

Nevermind, I am dumb I didnt know player2:mem work also I didnt test , stupid me haha !!
sorry for the lack of time about the release I will try to post soon, just need to make it save
setting for each lvl (i mean the time you can stay underwater) with the menu :P
if its possible I will try soon :S
Last edited by lotus006 on Sat Mar 05, 2016 5:14 am, edited 1 time in total.

lotus006
Spike
Spike
Posts: 284
Joined: Thu Sep 24, 2015 12:59 am

Re: [LunaLua] Time limit to stay underwater

Postby lotus006 » Sat Mar 05, 2016 4:06 am

Prado wrote:Oh, thanks!
Release Beta !!
Enjoy !!
http://www.mediafire.com/download/c5230 ... hMeter.zip



Feature :
. Remake of the original idea from Prado
. Addon Support for Co-Op and Battle Mode (Meaning support for 2 players)
. Hud From Super Mario N64.

To do list :
. API to set the time remaining (probably for each level separate you want)
. Menu to configurate the API.
. Probably possibility to set the position you want.
. Debug and trying to make it better
. Making Coins give supply air or other currency :D

zxcv
Volcano Lotus
Volcano Lotus
Posts: 511
Joined: Tue Aug 05, 2014 10:10 am
Pronouns: They/She

Re: [LunaLua] Time limit to stay underwater

Postby zxcv » Sat Mar 05, 2016 5:40 am

Amazing!

I got an idea: if the coins give air, then we could replace coin sprites by bubbles :)

mariofan 64
Flurry
Flurry
Posts: 189
Joined: Mon Oct 13, 2014 2:14 am

Re: [LunaLua] Time limit to stay underwater

Postby mariofan 64 » Sat Mar 05, 2016 11:42 am

lotus006 wrote:
Prado wrote:Oh, thanks!
Release Beta !!
Enjoy !!
http://www.mediafire.com/download/c5230 ... hMeter.zip



Feature :
. Remake of the original idea from Prado
. Addon Support for Co-Op and Battle Mode (Meaning support for 2 players)
. Hud From Super Mario N64.

To do list :
. API to set the time remaining (probably for each level separate you want)
. Menu to configurate the API.
. Probably possibility to set the position you want.
. Debug and trying to make it better
. Making Coins give supply air or other currency :D
You know what else is to-do? When the icon has no more air to it (i.e. when there is no more pie), it should grant death, but the pie must be gone first, not before the last piece is gone, and not after the piece has been gone for a while like the last update before this. Then again, it's only the beta, so I shouldn't complain.

lotus006
Spike
Spike
Posts: 284
Joined: Thu Sep 24, 2015 12:59 am

Re: [LunaLua] Time limit to stay underwater

Postby lotus006 » Sat Mar 05, 2016 4:26 pm

mariofan 64 wrote:
lotus006 wrote:
Prado wrote:Oh, thanks!
Release Beta !!
Enjoy !!
http://www.mediafire.com/download/c5230 ... hMeter.zip
You know what else is to-do? When the icon has no more air to it (i.e. when there is no more pie), it should grant death, but the pie must be gone first, not before the last piece is gone, and not after the piece has been gone for a while like the last update before this. Then again, it's only the beta, so I shouldn't complain.
Yep sure dont worry feedback is here for this :D
I wont make it like this now (I mean at the first beta) because the pie has 9 frames but I need to figure a better way to not include the 9 frames in the time of the countdown because for now is just what i know i can make it work
the frames is in a table that why I use it for the countdown but, I will probably soon make just a normal countdown and divided by a percentage.
(but about the 9 frame when I use 0 it can't use it because the table of the 9 frames images can't reach 0 the index start at 1 ):(

@Prado
Yep sure why not :D bubble is a good things also , but need a generator and find a way to detect world position of the water and work also with camera for appear only in water for a better result but look a little bit complicated for me now
, or else just re-edit the level and place some air bubble , its more easy in that way :D

Super Mario Channel
Tweeter
Tweeter
Posts: 147
Joined: Sun Dec 06, 2015 8:08 am

Re: [LunaLua] Time limit to stay underwater

Postby Super Mario Channel » Mon Mar 21, 2016 7:38 pm

Prado wrote:I made a simple system of oxygen limit, you have to get out of the water to breathe, or you will die.
Image
Pfft!! "...[Y]ou will die."

lotus006
Spike
Spike
Posts: 284
Joined: Thu Sep 24, 2015 12:59 am

Re: [LunaLua] Time limit to stay underwater

Postby lotus006 » Tue Mar 29, 2016 5:03 am

New update:
Time left adjusted
Dying when timer say 0 for both players (Fixed)

Link to download --> https://drive.google.com/open?id=0B9Yha ... G5ma0x3Q2M


mariofan 64
Flurry
Flurry
Posts: 189
Joined: Mon Oct 13, 2014 2:14 am

Re: [LunaLua] Time limit to stay underwater

Postby mariofan 64 » Tue Mar 29, 2016 12:11 pm

lotus006 wrote:New update:
Time left adjusted
Dying when timer say 0 for both players (Fixed)

Link to download --> https://drive.google.com/open?id=0B9Yha ... G5ma0x3Q2M

mariofan 64 wrote:When the icon has no more air to it (i.e. when there is no more pie), it should grant death, but the pie must be gone first, not before the last piece is gone, and not after the piece has been gone for a while...
In other words, lower the number to 8 as the starting number instead of 9. Once that's done, it'll be perfect, at least for single player. :)

lotus006
Spike
Spike
Posts: 284
Joined: Thu Sep 24, 2015 12:59 am

Re: [LunaLua] Time limit to stay underwater

Postby lotus006 » Wed Mar 30, 2016 1:23 am

mariofan 64 wrote:
lotus006 wrote:New update:
Time left adjusted
Dying when timer say 0 for both players (Fixed)

Link to download --> https://drive.google.com/open?id=0B9Yha ... G5ma0x3Q2M
Video...
mariofan 64 wrote:When the icon has no more air to it (i.e. when there is no more pie), it should grant death, but the pie must be gone first, not before the last piece is gone, and not after the piece has been gone for a while...
In other words, lower the number to 8 as the starting number instead of 9. Once that's done, it'll be perfect, at least for single player. :)
Thanks, Yep sure but soon I will probably try to put a config that can make control easier, but for now I need also to just optimise the long coding
part with picture to make it in a table and everything should be done after this :D

lotus006
Spike
Spike
Posts: 284
Joined: Thu Sep 24, 2015 12:59 am

Re: [LunaLua] Time limit to stay underwater

Postby lotus006 » Wed Mar 30, 2016 10:37 pm

Updated :
- Better Coop , Hud is placed in the right place on both screen
- Code Optimised Again :D

Updated 3 :
Hud Reduced, replaced and size optimised for the images

Link V3 to download -->> https://drive.google.com/file/d/0B9YhaB ... sp=sharing

Video Updated !!

HenryRichard
Reznor
Reznor
Posts: 2843
Joined: Mon Dec 23, 2013 12:09 pm
Flair: Is this where I type my password?
Contact:

Re: [LunaLua] Time limit to stay underwater

Postby HenryRichard » Thu Mar 31, 2016 7:51 pm

That's cool, though you should make it regenerate more quickly and if you could make separate meters for P1 & P2 that are displayed over their heads. That would be cool.
Last edited by HenryRichard on Thu Mar 31, 2016 8:40 pm, edited 1 time in total.

lotus006
Spike
Spike
Posts: 284
Joined: Thu Sep 24, 2015 12:59 am

Re: [LunaLua] Time limit to stay underwater

Postby lotus006 » Thu Mar 31, 2016 7:58 pm

HenryRichard wrote:That's cool, though you should make it regenerate more quickly and if you could make separate meters for P1 & P2 that are displayed over their heads that would be cool.
Yeah Nice idea that shouldnt be hard to make, that should be less harder than that splitscreen detection to do :P, if you have other idea feel free to ask :D

Matt_The_Slime
Lakitu
Lakitu
Posts: 459
Joined: Wed Mar 18, 2015 2:17 pm
Contact:

Re: [LunaLua] Time limit to stay underwater

Postby Matt_The_Slime » Fri Apr 01, 2016 12:25 am

Something cool, and very simple to add would be Underwater Sonic Physics :D (separate download)
Where you can't swim, but you can jump high
This would be making a Sonic themed episode VERY Easy

lotus006
Spike
Spike
Posts: 284
Joined: Thu Sep 24, 2015 12:59 am

Re: [LunaLua] Time limit to stay underwater

Postby lotus006 » Fri Apr 01, 2016 1:04 am

lotus006 wrote:
HenryRichard wrote:That's cool, though you should make it regenerate more quickly and if you could make separate meters for P1 & P2 that are displayed over their heads that would be cool.
Yeah Nice idea that shouldnt be hard to make, that should be less harder than that splitscreen detection to do :P, if you have other idea feel free to ask :D
Omg this thing have turned very cool the how is it the hud :D I think I prefer this version !! and you ?

@ Matt_The_Slime:
I think to know what you think, but do you have example ? but I think it should be easy to do :D



Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 4 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari