Cannons.lua

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?
User avatar
8lue Storm
Lakitu
Lakitu
Posts: 497
Joined: Thu Jan 18, 2018 9:53 am
Flair: its pronounced bluestorm
Current Project: Many, MANY stuff
Chat Username: 8luestorm

Cannons.lua

Postby 8lue Storm » Sun Jan 27, 2019 1:36 pm

A lib carefully made to reproduce the various airship/tank cannons in the Mario series into SMBX! Currently with 385 lines of useful code, this lib supplies all your needs for cannons. ah, I can already feel the danmaku coming.
GIFs:
Spoiler: show
Image
Image
Image
Image
Image
DOWNLOAD: I am planning on updating the code (its structure maybe isn't as good as it should be in my opinion), but any feedback is appreciated! Have fun!
Image

i never performed a shelljump and it's sad I did a grand total of 4 shelljumps in my life!

User avatar
Eri7
Banned
Posts: 1653
Joined: Sat Jan 28, 2017 4:48 pm
Flair: Hard work pays off sooner or later
Current Project: SMNZ (38A) + SMNP1 (38A) + MKA(2.0) + TNV (2.0/38A) + TNVL (2.0/38A) + SMNP2 (2.0) + SMNR (2.0)
Chat Username: Eri7
Contact:

Re: Cannons.lua

Postby Eri7 » Sun Jan 27, 2019 1:46 pm

Sexy.. time for me to do it in 38A :D
Image
Image
Image
Image

User avatar
Electriking
Posts: 4324
Joined: Mon Jun 06, 2016 4:32 pm
Flair: I have NO idea what to put here
Current Project: Something
Chat Username: ElectriKing
Contact:

Re: Cannons.lua

Postby Electriking » Sun Jan 27, 2019 2:18 pm

Cannon balls are rather fast.
Last edited by Electriking on Sat Feb 02, 2019 7:11 am, edited 1 time in total.
SMM2 ID: JJF-P7G-FSF

User avatar
8lue Storm
Lakitu
Lakitu
Posts: 497
Joined: Thu Jan 18, 2018 9:53 am
Flair: its pronounced bluestorm
Current Project: Many, MANY stuff
Chat Username: 8luestorm

Re: Cannons.lua

Postby 8lue Storm » Sun Jan 27, 2019 2:27 pm

Electriking wrote:
Sun Jan 27, 2019 2:18 pm
Cannon balls are rather fast.
Perhaps I didn't analyze the SMB3 speed well enough. I'll try to include a slower version when I update the code.
Image

i never performed a shelljump and it's sad I did a grand total of 4 shelljumps in my life!

User avatar
MECHDRAGON777
Pink Yoshi Egg
Pink Yoshi Egg
Posts: 6123
Joined: Fri Dec 20, 2013 6:40 pm
Flair: Nuclear Queen of Reversion.
Current Project: http://www.supermariobrosx.org/forums/v ... 9&start=10
Chat Username: 鬼人 正邪
Contact:

Re: Cannons.lua

Postby MECHDRAGON777 » Sun Jan 27, 2019 3:32 pm

8lue Storm wrote:
Sun Jan 27, 2019 2:27 pm
Electriking wrote:
Sun Jan 27, 2019 2:18 pm
Cannon balls are rather fast.
Perhaps I didn't analyze the SMB3 speed well enough. I'll try to include a slower version when I update the code.
Are you sure it is not becuase of the gif speed?

ImageImageImage

Image

User avatar
PotatoMario
Shy Guy
Shy Guy
Posts: 5
Joined: Sun Aug 26, 2018 3:42 pm
Current Project: Currently not named.
Chat Username: PotatoMario

Re: Cannons.lua

Postby PotatoMario » Sun Jan 27, 2019 4:14 pm

Nice, now i can make some sweet airship levels

User avatar
Electriking
Posts: 4324
Joined: Mon Jun 06, 2016 4:32 pm
Flair: I have NO idea what to put here
Current Project: Something
Chat Username: ElectriKing
Contact:

Re: Cannons.lua

Postby Electriking » Sat Feb 02, 2019 7:23 am

While the cannon ball speeds are alright (the GIF speed is misleading, you might want to try to fix that), this does have a couple of flaws.

1) The cannons make sounds even if they are off-screen. I don't know if there is a known way to fix this, but if there is, you should try to fix this.
2) The cannon balls hurt you when you jump on them (this is not how they are supposed work).
3) The red cannons don't work.
SMM2 ID: JJF-P7G-FSF

User avatar
MmmMario
Bit
Bit
Posts: 126
Joined: Sun Aug 05, 2018 6:28 am
Flair: Yeet
Current Project: My current project is living. Trust me, it's hard.
Chat Username: TawPawNaw

Re: Cannons.lua

Postby MmmMario » Sun Feb 03, 2019 2:46 am

What happened to that snowball cannon you also made, 8lue? Will it eventually be released?
Spoiler: show
Here's Johnny

Image

I will bore everyone out of their mind with my questions!!!
Does anyone else have the PostImages problem? Frankly, it annoys me that sometimes I can't view pictures.

Join mine and MemeLord's(PotatoMario's) server here: https://discord.gg/PUTNGKS
Image

User avatar
TheTrueMarioMaster
Bit
Bit
Posts: 139
Joined: Mon Mar 19, 2018 11:58 pm
Chat Username: TheTrueMarioMaster

Re: Cannons.lua

Postby TheTrueMarioMaster » Mon Feb 04, 2019 1:43 am

I notice the ordinary variant of cannons are missing (shown in the image below).
Image
Other places to find me at.
PureZC
MarioFanGameGalaxy

User avatar
litchh
Koopa Shell
Koopa Shell
Posts: 621
Joined: Sun Dec 29, 2013 6:10 am

Re: Cannons.lua

Postby litchh » Mon Feb 04, 2019 3:41 am

TheTrueMarioMaster wrote:
Mon Feb 04, 2019 1:43 am
I notice the ordinary variant of cannons are missing
Graphical changes is not a big deal. It can be easily replaced.

User avatar
8lue Storm
Lakitu
Lakitu
Posts: 497
Joined: Thu Jan 18, 2018 9:53 am
Flair: its pronounced bluestorm
Current Project: Many, MANY stuff
Chat Username: 8luestorm

Re: Cannons.lua

Postby 8lue Storm » Mon Feb 04, 2019 6:44 pm

Electriking wrote:
Sat Feb 02, 2019 7:23 am
While the cannon ball speeds are alright (the GIF speed is misleading, you might want to try to fix that), this does have a couple of flaws.

1) The cannons make sounds even if they are off-screen. I don't know if there is a known way to fix this, but if there is, you should try to fix this.
2) The cannon balls hurt you when you jump on them (this is not how they are supposed work).
3) The red cannons don't work.
1) I could try and solve that for the next update, who knows.
2) I wasn't able to make them stompable, if anyone has a magical way, let me know.
3) It appears I may have forgotten to place the part where they change direction in the code, sorry for that.
MmmMario wrote:
Sun Feb 03, 2019 2:46 am
What happened to that snowball cannon you also made, 8lue? Will it eventually be released?
Only in my episode. If it, for some reason, fails, it will be released on its own.
Image

i never performed a shelljump and it's sad I did a grand total of 4 shelljumps in my life!

User avatar
MmmMario
Bit
Bit
Posts: 126
Joined: Sun Aug 05, 2018 6:28 am
Flair: Yeet
Current Project: My current project is living. Trust me, it's hard.
Chat Username: TawPawNaw

Re: Cannons.lua

Postby MmmMario » Sat Feb 09, 2019 10:06 pm

Ah ok 8lue. Thanks!
Spoiler: show
Here's Johnny

Image

I will bore everyone out of their mind with my questions!!!
Does anyone else have the PostImages problem? Frankly, it annoys me that sometimes I can't view pictures.

Join mine and MemeLord's(PotatoMario's) server here: https://discord.gg/PUTNGKS
Image

User avatar
Eri7
Banned
Posts: 1653
Joined: Sat Jan 28, 2017 4:48 pm
Flair: Hard work pays off sooner or later
Current Project: SMNZ (38A) + SMNP1 (38A) + MKA(2.0) + TNV (2.0/38A) + TNVL (2.0/38A) + SMNP2 (2.0) + SMNR (2.0)
Chat Username: Eri7
Contact:

Re: Cannons.lua

Postby Eri7 » Tue Feb 19, 2019 3:38 am

I had an idea for a new cannon, blue cannon which unlike the red ones, it shoots slow blue cannonballs. Also isn't it possible to make a 360 degrees rotating cannon? These are my ideas if you are wiling to expand on the scripts.
Image
Image
Image
Image


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 1 guest