Generators. Can they work off-screen?

Need help with any SMBX game-related issues? Ask your questions here.

Moderator: Userbase Moderators

DakotaSpine
Guest

Generators. Can they work off-screen?

Postby DakotaSpine » Mon Jun 30, 2014 9:45 am

The title pretty much says it all. Is there a possible way to make Generators shoot projectiles while off-screen? Because in most cases, if they are a few tiles away from you, they stop working. I am trying to make a switch block level that is set on a clock of shooting shells, but when I move a distance from it, the shells stop working. Pretty much shutting down the clock system.

So, if you just ignore everything else and boil it down, just the simple question. Can Generators work off-screen in any way?

Magna
Banned
Posts: 1493
Joined: Fri Jun 06, 2014 9:17 pm

Re: Generators. Can they work off-screen?

Postby Magna » Mon Jun 30, 2014 9:49 am

DakotaSpine wrote:So, if you just ignore everything else and boil it down, just the simple question. Can Generators work off-screen in any way?
No. (At least not underneath the screen.)

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

Re: Generators. Can they work off-screen?

Postby Emral » Mon Jun 30, 2014 9:52 am

NPCs despawn when they go offscreen, except for some exceptions like mother brain or yoshi. Generators are generally handled like NPCs. They simply don't exist when off-screen.

DakotaSpine
Guest

Re: Generators. Can they work off-screen?

Postby DakotaSpine » Mon Jun 30, 2014 10:00 am

Dang. Is there any way anybody can thing of that could somehow make it work? Any workarounds?

Magna
Banned
Posts: 1493
Joined: Fri Jun 06, 2014 9:17 pm

Re: Generators. Can they work off-screen?

Postby Magna » Mon Jun 30, 2014 10:03 am

DakotaSpine wrote:Dang. Is there any way anybody can thing of that could somehow make it work? Any workarounds?
Let me guess, are you trying to make a hidden generator? If yes, there are several ways to do so. One of which is making the generator invisible.

DakotaSpine
Guest

Re: Generators. Can they work off-screen?

Postby DakotaSpine » Mon Jun 30, 2014 10:07 am

Blue Greed wrote:
DakotaSpine wrote:Dang. Is there any way anybody can thing of that could somehow make it work? Any workarounds?
Let me guess, are you trying to make a hidden generator? If yes, there are several ways to do so. One of which is making the generator invisible.
Partially. I also, like I said in the OP, am making a timed Switch Block level. But the generator that shoots shells doesn't work when you are to far, and the blocks no longer switch.

Here's a Screenshot of what I mean: http://i.imgur.com/rMkQjkw.png

Those are Rainbow Shells from the Item row by the way.

Kyo
Rocky Wrench
Rocky Wrench
Posts: 636
Joined: Fri Dec 20, 2013 2:12 pm

Re: Generators. Can they work off-screen?

Postby Kyo » Mon Jun 30, 2014 10:26 am

There are two outs to this. The first one is to place at least one generator per screen, which is tedious but it still works. The second one is to leave the generators out completely and implement this gimmick utilizing events. It's good that generators stop existing once they are off-screen, because otherwise SMBX would cause even more lag than it used to. SMBX is too weak to handle too many commands at once, which is why looping event sequences particularly cause lag because they continue working off-screen as well.

DakotaSpine
Guest

Re: Generators. Can they work off-screen?

Postby DakotaSpine » Mon Jun 30, 2014 10:35 am

Kyo wrote:There are two outs to this. The first one is to place at least one generator per screen, which is tedious but it still works. The second one is to leave the generators out completely and implement this gimmick utilizing events. It's good that generators stop existing once they are off-screen, because otherwise SMBX would cause even more lag than it used to. SMBX is too weak to handle too many commands at once, which is why looping event sequences particularly cause lag because they continue working off-screen as well.
Alright, I will just make a generator per screen I guess.

I would suggest the option to make them work off-screen, but it isn't being worked on and updated anymore as far as I know.

Kyo
Rocky Wrench
Rocky Wrench
Posts: 636
Joined: Fri Dec 20, 2013 2:12 pm

Re: Generators. Can they work off-screen?

Postby Kyo » Mon Jun 30, 2014 10:44 am

DakotaSpine wrote:
Kyo wrote:There are two outs to this. The first one is to place at least one generator per screen, which is tedious but it still works. The second one is to leave the generators out completely and implement this gimmick utilizing events. It's good that generators stop existing once they are off-screen, because otherwise SMBX would cause even more lag than it used to. SMBX is too weak to handle too many commands at once, which is why looping event sequences particularly cause lag because they continue working off-screen as well.
Alright, I will just make a generator per screen I guess.

I would suggest the option to make them work off-screen, but it isn't being worked on and updated anymore as far as I know.
It isn't, but there is still the SMBX module LunaDLL by leif_erikson which gives SMBX new features. There is one command that forced a npc to stack at a certain part of the screen. If that also applies for npc generators, then LunaDLL would have a third solution to your problem. Not sure if it does, though.

DakotaSpine
Guest

Re: Generators. Can they work off-screen?

Postby DakotaSpine » Mon Jun 30, 2014 10:45 am

Kyo wrote:
DakotaSpine wrote:
Kyo wrote:There are two outs to this. The first one is to place at least one generator per screen, which is tedious but it still works. The second one is to leave the generators out completely and implement this gimmick utilizing events. It's good that generators stop existing once they are off-screen, because otherwise SMBX would cause even more lag than it used to. SMBX is too weak to handle too many commands at once, which is why looping event sequences particularly cause lag because they continue working off-screen as well.
Alright, I will just make a generator per screen I guess.

I would suggest the option to make them work off-screen, but it isn't being worked on and updated anymore as far as I know.
It isn't, but there is still the SMBX module LunaDLL by leif_erikson which gives SMBX new features. There is one command that forced a npc to stack at a certain part of the screen. If that also applies for npc generators, then LunaDLL would have a third solution to your problem. Not sure if it does, though.
I could always ask I guess.

Thanks for the help everyone.


Return to “Help and Support”

Who is online

Users browsing this forum: Semrush [Bot] and 6 guests

SMWCentralTalkhausMario Fan Games GalaxyKafukaMarioWikiSMBXEquipoEstelari