Cosmic Clones

Share and discuss custom LunaLua code and content packs for SMBX2.
Emral
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9737
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Phoenix

Cosmic Clones

Postby Emral » Sun Dec 13, 2020 3:20 am

https://drive.google.com/file/d/1N6PWXk ... sp=sharing

Image

Some tech I made for Gilgamesh's Terrifying Rotating Slaboratory. I forgot to polish and release the code at the time, but now here it is!
Features:
- arbitrary character and powerup support
- customizable tint
- a spawner trigger npc where the interval and number of clones can be configured
- sound effects (replacable of course)

Does not feature:
- multiplayer support
- mount rendering
- irregular spawn intervals

How to use:
The cosmic clones library is automatically loaded as soon as you use the trigger NPC.
In this scenario, you are able to adjust cosmicclones.tint (a color) to change the tint applied to the player sheet when drawing clones.

If you wish to forego the trigger NPC, you will need to load the library via a require-call in your level or episode lua.
To control the spawn and death of clone sequences (when not using the spawner), use cc.activate (line 78) and cc.deactivate (line 91)

Lucario
Tweeter
Tweeter
Posts: 172
Joined: Thu Dec 10, 2020 11:54 am
Flair: A beginner Mario-level modder that also uses SMBX.
Pronouns: He/him/

Re: Cosmic Clones

Postby Lucario » Sun Dec 13, 2020 4:03 pm

Nice NPCs, Enjl! However I feel like it should delay to make another clone, because it would be too hard to a player to avoid a ton of them following your every movement at the same speed...

AirShip
Panser
Panser
Posts: 1071
Joined: Wed Jan 01, 2014 1:30 am
Flair: The Flying Ghost
Contact:

Re: Cosmic Clones

Postby AirShip » Mon Dec 14, 2020 10:21 am

Phenomenal work as ever, enjl! For sure I will use this in some levels of my project.

Anyways, a minor problem that you probably will want to fix, is that the name of the sfx of death for the clones is wrong, see:
Image

Nothing that anyone can fix alone, of course.

Emral
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 9737
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Phoenix

Re: Cosmic Clones

Postby Emral » Mon Dec 14, 2020 10:27 am

Oops! Fixed.

PROX
Banned
Posts: 1953
Joined: Sun Jul 06, 2014 8:50 pm

Re: Cosmic Clones

Postby PROX » Tue Dec 15, 2020 2:13 pm

YES!!!! I will definitely be using these!

TheGameyFireBro105
Eerie
Eerie
Posts: 745
Joined: Thu Jan 09, 2020 6:09 pm
Flair: Good at remakes
Pronouns: he/him

Re: Cosmic Clones

Postby TheGameyFireBro105 » Thu Dec 17, 2020 8:47 am



Here's the music, to induce war flashbacks in all of the galaxy players on the forums.

MarioLover64
Spike
Spike
Posts: 259
Joined: Fri Apr 26, 2019 6:09 pm

Re: Cosmic Clones

Postby MarioLover64 » Thu Dec 17, 2020 9:03 am

TheGameyFireBro105 wrote:
Thu Dec 17, 2020 8:47 am


Here's the music, to induce war flashbacks in all of the galaxy players on the forums.
S7-Castle...

FireyPaperMario
Wart
Wart
Posts: 6206
Joined: Sat Sep 27, 2014 1:39 pm
Flair: 90's kid born in late 1993 ^_^"
Pronouns: He/Him
Contact:

Re: Cosmic Clones

Postby FireyPaperMario » Thu Dec 17, 2020 10:05 am

TheGameyFireBro105 wrote:
Thu Dec 17, 2020 8:47 am


Here's the music, to induce war flashbacks in all of the galaxy players on the forums.
What about the SMBX community members who played Super Mario 3D Land for 3DS? The cosmic clones actually returned* in that game. :roll:


*Well, in the special worlds if you are wondering

TheGameyFireBro105
Eerie
Eerie
Posts: 745
Joined: Thu Jan 09, 2020 6:09 pm
Flair: Good at remakes
Pronouns: he/him

Re: Cosmic Clones

Postby TheGameyFireBro105 » Thu Dec 17, 2020 1:27 pm

FireyPaperMario wrote:
Thu Dec 17, 2020 10:05 am
TheGameyFireBro105 wrote:
Thu Dec 17, 2020 8:47 am


Here's the music, to induce war flashbacks in all of the galaxy players on the forums.
What about the SMBX community members who played Super Mario 3D Land for 3DS? The cosmic clones actually returned* in that game. :roll:


*Well, in the special worlds if you are wondering
In galaxy, they're worse. They don't bonk in 3d land.

Koopulution
Spiny
Spiny
Posts: 28
Joined: Thu Dec 17, 2020 5:22 pm
Pronouns: He/Him

Re: Cosmic Clones

Postby Koopulution » Thu Dec 17, 2020 6:23 pm

TheGameyFireBro105 wrote:
Thu Dec 17, 2020 1:27 pm
FireyPaperMario wrote:
Thu Dec 17, 2020 10:05 am
TheGameyFireBro105 wrote:
Thu Dec 17, 2020 8:47 am


Here's the music, to induce war flashbacks in all of the galaxy players on the forums.
What about the SMBX community members who played Super Mario 3D Land for 3DS? The cosmic clones actually returned* in that game. :roll:


*Well, in the special worlds if you are wondering
In galaxy, they're worse. They don't bonk in 3d land.
I agree, I've died a numerous amount of times because of Cosmic Clones. The fact that they copy your moves makes maneuvering much harder, especially in tight places.


Return to “LunaLua”

Who is online

Users browsing this forum: Peppyroni and 0 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari