(request) Jellybeams and Bulbers

Post here for help and support regarding LunaLua and SMBX2's libraries and features.

Moderator: Userbase Moderators

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

(request) Jellybeams and Bulbers

Postby TheGameyFireBro105 » Fri Oct 16, 2020 10:10 am

I really need them, as their light source behaviors would otherwise require numerous events to make them work, and their AI is also very unique (bulbers: some swim straight, while others go along a path, while also turning at fast speeds

jellybeams: stay in one spot, with a wide beam of light beneath, moving similarly to Urchins. however, unlike urchins, they are defeatable by fire, and they give off light, wide when dropping down, thin when rising.)


Here you can see them in action:

I would love sprites in SMB1, SMB3 and SMW styles. The bulber sprites should pull from Boss Bass in smb3, and porcupuffers in SMW. Obviously the jelectro-like jellybeams should pull from their smaller brethren (however the colors should remain the same as the original enemy). The SMB1 sprites should be similar to the SMB3 ones, but not exactly the same.
Last edited by TheGameyFireBro105 on Fri Oct 16, 2020 11:54 am, edited 3 times in total.

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

Re: (request) Jellybeams and Bulbers

Postby Emral » Fri Oct 16, 2020 10:13 am

bulbers look like a cheep cheep resprite with npc config settings to give them a light source.

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

Re: (request) Jellybeams and Bulbers

Postby TheGameyFireBro105 » Fri Oct 16, 2020 10:31 am

Enjl wrote:
Fri Oct 16, 2020 10:13 am
bulbers look like a cheep cheep resprite with npc config settings to give them a light source.
the thing is, bulber lights are always linked to the bulb, something pretty difficult to do in SMBX.

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

Re: (request) Jellybeams and Bulbers

Postby Emral » Fri Oct 16, 2020 12:28 pm

TheGameyFireBro105 wrote:
Fri Oct 16, 2020 10:31 am
Enjl wrote:
Fri Oct 16, 2020 10:13 am
bulbers look like a cheep cheep resprite with npc config settings to give them a light source.
the thing is, bulber lights are always linked to the bulb, something pretty difficult to do in SMBX.
how so? there are lightoffsetx and lightoffsety npc config flags. The former of which is relative to the NPC's facing direction, as can be seen with the Frightlight NPC which uses those for its own light source. technically speaking, resizing an npc's hitbox is just as, if not more difficult.

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

Re: (request) Jellybeams and Bulbers

Postby TheGameyFireBro105 » Fri Oct 16, 2020 12:44 pm

I'm not good with editing light sources. i kinda need a visual reference for that stuff.

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

Re: (request) Jellybeams and Bulbers

Postby Emral » Fri Oct 16, 2020 1:00 pm

f5 and the spritesheet are visual references. f5 for refreshing test mode and seeing your changes to the npc txt, and the spritesheet for you to know the correct offset values without having to guess.

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

Re: (request) Jellybeams and Bulbers

Postby TheGameyFireBro105 » Fri Oct 16, 2020 1:08 pm

the most important things about the bulbers are the sprites, the light radius and the hitbox size.

JayTheUnwise123
Shy Guy
Shy Guy
Posts: 8
Joined: Mon Sep 28, 2020 2:20 am

Re: (request) Jellybeams and Bulbers

Postby JayTheUnwise123 » Fri Oct 16, 2020 3:41 pm

Enjl wrote:
Fri Oct 16, 2020 12:28 pm

how so? there are lightoffsetx and lightoffsety npc config flags. The former of which is relative to the NPC's facing direction, as can be seen with the Frightlight NPC which uses those for its own light source. technically speaking, resizing an npc's hitbox is just as, if not more difficult.

When using the lightoffsetx and lightoffsety, where is the origin of the light offset?

Is it literally just at the center of the npc's hitbox?

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

Re: (request) Jellybeams and Bulbers

Postby Emral » Fri Oct 16, 2020 3:49 pm

JayTheUnwise123 wrote:
Fri Oct 16, 2020 3:41 pm
Enjl wrote:
Fri Oct 16, 2020 12:28 pm

how so? there are lightoffsetx and lightoffsety npc config flags. The former of which is relative to the NPC's facing direction, as can be seen with the Frightlight NPC which uses those for its own light source. technically speaking, resizing an npc's hitbox is just as, if not more difficult.

When using the lightoffsetx and lightoffsety, where is the origin of the light offset?

Is it literally just at the center of the npc's hitbox?
Yup, exactly.

JayTheUnwise123
Shy Guy
Shy Guy
Posts: 8
Joined: Mon Sep 28, 2020 2:20 am

Re: (request) Jellybeams and Bulbers

Postby JayTheUnwise123 » Fri Oct 16, 2020 4:34 pm

Whenever I put a positive values for lightoffsetx and lightoffsety, it appears as if I put negative values instead.

For example, if I wanted for the offset to be in the top right corner of an npc, I would put 10 and 10, but it instead appears at the bottom left corner of the npc, as if I put -10 and -10.

Is this supposed to happen?

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

Re: (request) Jellybeams and Bulbers

Postby TheGameyFireBro105 » Fri Oct 16, 2020 9:44 pm

Any progress?

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

Re: (request) Jellybeams and Bulbers

Postby Emral » Sat Oct 17, 2020 3:54 am

JayTheUnwise123 wrote:
Fri Oct 16, 2020 4:34 pm
Whenever I put a positive values for lightoffsetx and lightoffsety, it appears as if I put negative values instead.

For example, if I wanted for the offset to be in the top right corner of an npc, I would put 10 and 10, but it instead appears at the bottom left corner of the npc, as if I put -10 and -10.

Is this supposed to happen?
In SMBX, negative y-values are up. The coordinate system works a lot like windows' own one in that sense, where the origin (0,0) is the top left corner of the scene. So if 0,0 is the center of the NPC, 10, -10 would be the top right corner.
The horizontal offset, additionally, flips based on the NPC's facing direction, so a left-facing NPC will invert the value of the horizontal light offset, leading to -10, -10 when facing left, and 10, -10 when facing right.

Sonya Sanchez
Rinka
Rinka
Posts: 666
Joined: Fri May 10, 2019 3:05 pm
Flair: Robotic
Pronouns: They/Them

Re: (request) Jellybeams and Bulbers

Postby Sonya Sanchez » Sat Oct 17, 2020 7:55 am

TheGameyFireBro105 wrote:
Fri Oct 16, 2020 9:44 pm
Any progress?
You literally posted this just yesterday, don’t always expect something to be done as quickly as possible because you want that to.

Forum activity isn’t as high like back then and request are rarely done anymore when I look through them.

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

Re: (request) Jellybeams and Bulbers

Postby TheGameyFireBro105 » Sat Oct 17, 2020 5:52 pm

Idunn wrote:
Sat Oct 17, 2020 7:55 am
TheGameyFireBro105 wrote:
Fri Oct 16, 2020 9:44 pm
Any progress?
You literally posted this just yesterday, don’t always expect something to be done as quickly as possible because you want that to.

Forum activity isn’t as high like back then and request are rarely done anymore when I look through them.
I know.

koob_koob
Spiny
Spiny
Posts: 27
Joined: Thu Aug 06, 2020 4:28 am

Re: (request) Jellybeams and Bulbers

Postby koob_koob » Sat Oct 17, 2020 8:07 pm

cant you just do it yourself instead of making a request every 2 seconds

JayTheUnwise123
Shy Guy
Shy Guy
Posts: 8
Joined: Mon Sep 28, 2020 2:20 am

Re: (request) Jellybeams and Bulbers

Postby JayTheUnwise123 » Sat Oct 17, 2020 8:50 pm

I have no basically no knowledge with lunalua, but I did manage to do a makeshift bulber using what Enjl said about a cheep cheep resprite, it replaces the smb1 cheep cheep. It replicates pretty well how the bulber behaves with swim and turn horizontal AI.
https://cdn.discordapp.com/attachments/ ... /Bulber.7z

I wouldn't know how to do a jellybeam, since the light source is a different one than the bulber.

Also, I can't help you with alternative sprites, for other Mario versions, you'd have to ask someone whose good at that, I just recolored some sprites done by SquishyRex.

Added in 35 minutes 35 seconds:
I made him slower than an average cheep cheep, you can change it in the text file if you don't like it though. Just change the value after speed=

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

Re: (request) Jellybeams and Bulbers

Postby TheGameyFireBro105 » Fri Dec 04, 2020 8:44 pm

koob_koob wrote:
Sat Oct 17, 2020 8:07 pm
cant you just do it yourself instead of making a request every 2 seconds
Ok. You try doing comprehensible Lua coding.

koob_koob
Spiny
Spiny
Posts: 27
Joined: Thu Aug 06, 2020 4:28 am

Re: (request) Jellybeams and Bulbers

Postby koob_koob » Thu Dec 10, 2020 2:45 am

wait a minute, what is all this stuff for?

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

Re: (request) Jellybeams and Bulbers

Postby TheGameyFireBro105 » Fri Dec 11, 2020 8:35 am

A water level, first of all. It's also for whoever else would want it as well. Someone else could request for a Jellybeam.

UnderscoreFyreNova
Blooper
Blooper
Posts: 172
Joined: Wed Dec 27, 2017 11:48 am
Flair: Rock hard!
Pronouns: He/Him

Re: (request) Jellybeams and Bulbers

Postby UnderscoreFyreNova » Sat Dec 26, 2020 12:30 am

TheGameyFireBro105 wrote:
Fri Dec 04, 2020 8:44 pm
koob_koob wrote:
Sat Oct 17, 2020 8:07 pm
cant you just do it yourself instead of making a request every 2 seconds
Ok. You try doing comprehensible Lua coding.
by the sounds of it, all the time you spend complaining about lua being incomprehensible is time you could be spending trying to actually learn the language.


Return to “LunaLua Help”

Who is online

Users browsing this forum: No registered users and 2 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari