lookOut.lua

Share and discuss custom LunaLua code and content packs for SMBX2.
User avatar
Yoshi021
Gold Yoshi Egg
Gold Yoshi Egg
Posts: 636
Joined: Thu Jan 21, 2016 9:06 pm
Flair: :)

lookOut.lua

Postby Yoshi021 » Tue May 16, 2017 1:22 am

Hey here is a small API that lets you look around the level!

Image

Documentation and download:
http://wohlsoft.ru/pgewiki/LookOut.lua
"Going to University is FUN!"
DOWNLOAD THE SMBX LEVEL PLAYER
CHECK OUT MY NPC PACK

Join the SMBX Episode Project Discord Server
Image

Join the SMBX 38A Discord!
Image

Join the CodeHaus Discord!
Image
Image

User avatar
Electriking
Posts: 4488
Joined: Mon Jun 06, 2016 4:32 pm
Flair: I have NO idea what to put here
Contact:

Re: lookOut.lua

Postby Electriking » Tue May 16, 2017 5:02 pm

Looks interesting though I don't know how many people will use it.
SMM2 ID: JJF-P7G-FSF

Enjl
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 8739
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Orphion Egamalenitar Osmos IV, Esq.

Re: lookOut.lua

Postby Enjl » Tue May 16, 2017 5:17 pm

REALLY cool for puzzles, nice work.
Ideas are useless if you can't make them real.
Image

User avatar
HeroLinik
Cyan Yoshi Egg
Cyan Yoshi Egg
Posts: 3453
Joined: Fri Dec 20, 2013 1:28 pm
Contact:

Re: lookOut.lua

Postby HeroLinik » Tue May 16, 2017 5:40 pm

This is actually a really interesting API, and it can actually allow for much bigger, more expansive sections with a lower risk of getting lost. The only problem is that it's pretty easy to abuse it and use it to see what's behind barriers, thus potentially resulting in spoilers for the level being played.
I support: show
Lol, you got trolled. Move along, if you please.
YouTube channel

Moderator of the r/Pokemon Discord server since 2019.

Enjl
Cute Yoshi Egg
Cute Yoshi Egg
Posts: 8739
Joined: Mon Jan 20, 2014 12:58 pm
Flair: Orphion Egamalenitar Osmos IV, Esq.

Re: lookOut.lua

Postby Enjl » Tue May 16, 2017 6:33 pm

HeroLinik wrote:This is actually a really interesting API, and it can actually allow for much bigger, more expansive sections with a lower risk of getting lost. The only problem is that it's pretty easy to abuse it and use it to see what's behind barriers, thus potentially resulting in spoilers for the level being played.
Did you know that the use of an API in a level is determined by the designer and not the player? IDK what kind of "abuse" you're talking about but I'd imagine designers woul design their stages around the features they include.
Ideas are useless if you can't make them real.
Image

User avatar
Electriking
Posts: 4488
Joined: Mon Jun 06, 2016 4:32 pm
Flair: I have NO idea what to put here
Contact:

Re: lookOut.lua

Postby Electriking » Wed May 17, 2017 2:49 am

Hence why I am not sure how many people will use it. If it was a normal level then there would be no point. If the level was some sort of maze then it would defeat the idea, since one could just find out the path before actually playing the level.

It may be useful for hubs or world maps (which I don't know if that is possible with this API) but that is assuming again that there are no secrets you don't want the player to uncover just by using this.
SMM2 ID: JJF-P7G-FSF

User avatar
Quantumenace
Ripper II
Ripper II
Posts: 308
Joined: Mon Dec 28, 2015 2:17 am

Re: lookOut.lua

Postby Quantumenace » Wed May 17, 2017 3:24 am

Do particles show up correctly with this? When I alter the camera position, the particle positions end up getting skewed.

User avatar
Dr Vivian
Swooper
Swooper
Posts: 117
Joined: Tue Oct 18, 2016 7:53 am

Re: lookOut.lua

Postby Dr Vivian » Wed May 17, 2017 4:00 am

This is really cool! I'm trying to think of a unique use for this...like making a custom character that uses it...I don't know...Heimdall!?
Image

PixelPest
Link
Link
Posts: 7116
Joined: Sun Jul 12, 2015 5:38 pm
Flair: Tamer of Boom Booms
Contact:

Re: lookOut.lua

Postby PixelPest » Wed May 17, 2017 6:58 am

Could you apply the same thing to world maps like what SMW has?

User avatar
Hoeloe
Kamikaze Koopa
Kamikaze Koopa
Posts: 1240
Joined: Sat Oct 03, 2015 6:18 pm
Flair: The Codehaus Girl

Re: lookOut.lua

Postby Hoeloe » Wed May 17, 2017 7:32 am

Quantumenace wrote:Do particles show up correctly with this? When I alter the camera position, the particle positions end up getting skewed.
I believe this is a bug with the graphics system and will be fixed in beta4.

User avatar
bossedit8
Banned
Posts: 6846
Joined: Fri Dec 20, 2013 12:35 pm
Contact:

Re: lookOut.lua

Postby bossedit8 » Wed May 17, 2017 7:52 am

PixelPest wrote:Could you apply the same thing to world maps like what SMW has?
If you do that you can also go off the boundary of the game's tiles that has been set but of course you can add a limit to that aswell as of how far you can scroll out and such.

User avatar
FireyPaperMario
Peach
Peach
Posts: 5978
Joined: Sat Sep 27, 2014 1:39 pm
Flair: 90's kid born in late 1993 ^_^
Contact:

Re: lookOut.lua

Postby FireyPaperMario » Wed May 17, 2017 8:02 am

I would use this for any puzzle project! :D
Image
(Coming soon in 84 days from today: Sega Mega Drive GFX pack)
Mario RPG goals (62% of the goals completed)
My Pixiv
I'm autistic & have ADHD

User avatar
Willhart
Banned
Posts: 368
Joined: Thu Apr 10, 2014 2:18 am

Re: lookOut.lua

Postby Willhart » Wed May 17, 2017 8:35 am

It could be neat to have a binoculars or something as a thing you can talk to to trigger that effect. Something you could place on the level at specific points.

User avatar
The0x539
Nipper Plant
Nipper Plant
Posts: 751
Joined: Fri Jan 22, 2016 8:02 pm

Re: lookOut.lua

Postby The0x539 » Wed May 17, 2017 9:08 am

Willhart wrote:It could be neat to have a binoculars or something as a thing you can talk to to trigger that effect. Something you could place on the level at specific points.
From what I can tell the effect is manually activated by level Lua, so that's good on that front.

User avatar
Snessy the duck
Ludwig von Koopa
Ludwig von Koopa
Posts: 2700
Joined: Sat Sep 20, 2014 6:04 am

Re: lookOut.lua

Postby Snessy the duck » Wed May 17, 2017 11:38 am

This would be really useful for big puzzle levels!
Image

My Switch friend code: SW-5399-6466-3493

Image

User avatar
Yoshi021
Gold Yoshi Egg
Gold Yoshi Egg
Posts: 636
Joined: Thu Jan 21, 2016 9:06 pm
Flair: :)

Re: lookOut.lua

Postby Yoshi021 » Thu May 18, 2017 10:12 am

King of Eterity wrote:Hence why I am not sure how many people will use it. If it was a normal level then there would be no point. If the level was some sort of maze then it would defeat the idea, since one could just find out the path before actually playing the level.

It may be useful for hubs or world maps (which I don't know if that is possible with this API) but that is assuming again that there are no secrets you don't want the player to uncover just by using this.
Actually, I could see this being used for a maze. Maybe add a power-up that lets you scroll out for a limited time!
"Going to University is FUN!"
DOWNLOAD THE SMBX LEVEL PLAYER
CHECK OUT MY NPC PACK

Join the SMBX Episode Project Discord Server
Image

Join the SMBX 38A Discord!
Image

Join the CodeHaus Discord!
Image
Image

User avatar
MECHDRAGON777
Pink Yoshi Egg
Pink Yoshi Egg
Posts: 6306
Joined: Fri Dec 20, 2013 6:40 pm
Flair: Nuclear Queen of Reversion.
Contact:

Re: lookOut.lua

Postby MECHDRAGON777 » Sat May 20, 2017 12:10 am

Yoshi021 wrote:
King of Eterity wrote:Hence why I am not sure how many people will use it. If it was a normal level then there would be no point. If the level was some sort of maze then it would defeat the idea, since one could just find out the path before actually playing the level.

It may be useful for hubs or world maps (which I don't know if that is possible with this API) but that is assuming again that there are no secrets you don't want the player to uncover just by using this.
Actually, I could see this being used for a maze. Maybe add a power-up that lets you scroll out for a limited time!
Can you imagine adding this to my old CC11 level? Might make it easier to navigate? Still curious if this works on world maps with slight tweaking.

ImageImageImage
Image

Image

User avatar
DrMekar
Koopa Shell
Koopa Shell
Posts: 663
Joined: Sat Apr 08, 2017 7:16 am
Flair: CUSTOM CHARACTER CREATOR
Contact:

Re: lookOut.lua

Postby DrMekar » Sun Apr 21, 2019 11:24 pm

It really does looks cool, but how do I start it? Whatever I do it won't work. The Arrow Keys just move the character
My Youtube Channel: https://www.youtube.com/channel/UC-8fzX ... subscriber

My Episodes & Projects:
ImageImage


If you want to support my Projects, put this in your signature. Thanks :)
Spoiler: show

Code: Select all

[url=https://www.supermariobrosx.org/forums/viewtopic.php?f=36&t=25110[/url]
Great Folks who support/ed my projects/in the past:

Suecra
jaf
Suckerman7 GM

Image

User avatar
Eri7
Banned
Posts: 1772
Joined: Sat Jan 28, 2017 4:48 pm
Flair: Good Foundation allows for strong Execution
Contact:

Re: lookOut.lua

Postby Eri7 » Mon Apr 22, 2019 4:39 am

This script seems interesting, maybe I will use it for a level.

User avatar
Core
Grinder
Grinder
Posts: 1069
Joined: Tue Apr 15, 2014 8:29 am
Flair: Trans <3 She/her

Re: lookOut.lua

Postby Core » Mon Apr 22, 2019 5:37 am

Reminds me of Celeste hehe, overall it's great
Join NSMBX's official server! - https://discord.gg/RMYdYfX


Return to “LunaLua”

Who is online

Users browsing this forum: No registered users and 2 guests