Background with Wave effect.

Description: You made a script? Submit it here to show your creation to the public, share, take reviews, provision of the help and support is here!
Moderators: Lx Xzit, Yoshi021, 5438A38A, Moderators, Semi-moderatos

Catskart M
Topic author, Count
Count
Avatar
Catskart M
Topic author, Count
Count
Age: 19
Reputation: 140
Posts: 258
Joined: 29 Nov 2015
Location: France

Post #1by Catskart » 26 Oct 2016, 19:28

Background with Wave effect


You can make a wave effect about Bitmap by programming.
This is what is made in TeaScript, a background with the wave effect.

Image

How to Install it ?

Just download the level patch :
https://www.mediafire.com/?1uuycl6gsbxaq6c

You'll apply this patch to you level with SMBX Level Patcher.

The variables.

The variables which have "NW" mean that you don't write a value, leave those variables with 0.
The other variable can be writed :
- Width is the width of the background.
- Heightportion is the height of each scanline.
- OndulationIntensy is the size of wave.
- DecalY is the Y position's screen of the background.
- BitmapOndulationHide 1 to hidde the background.
- OndulationSpeed is the speed of the wave.
- NPCUsed is the npc which be used for the bitmaps.

Some things.
- The wave background don't scroll.
- This system is optimized for 1 player mode.

Mushroom King
Marquis
Marquis
Mushroom King
Marquis
Marquis
Reputation: 32
Posts: 155
Joined: 31 Dec 2015

Post #2by Mushroom King » 26 Oct 2016, 22:54

Is it possible to animate the background, or is it only for one frame?

Catskart M
Topic author, Count
Count
Avatar
Catskart M
Topic author, Count
Count
Age: 19
Reputation: 140
Posts: 258
Joined: 29 Nov 2015
Location: France

Post #3by Catskart » 27 Oct 2016, 0:10

Mushroom King wrote:Is it possible to animate the background, or is it only for one frame?

Not now, it's only one frame.

SMBXFanBoi2013 M
Nice citizen
Nice citizen
Avatar
SMBXFanBoi2013 M
Nice citizen
Nice citizen
Age: 13
Reputation: 0
Posts: 10
Joined: 15 Jun 2018
Website

Post #4by SMBXFanBoi2013 » 20 Jun 2018, 23:31

Um... The download link is broken... :wacko:
I believe in Yoshi as my lord and savior. If you do, please put this in your signature.
--------------------------------------------------------------------
[img]https://i.imgur.com/w1DMOml.png[/img][color=#4080FF]SMBX, 2013, Wah man, Boohemoth, Yosh, and Lugi are the best.[/color]
--------------------------------------------------------------------
If you want to see my videos, go to my Youtube channel:
https://m.youtube.com/channel/UCIT_h6HxKSeIShIIVvhTduw
[color=#008080]My SMBX2 Project:[/color]
[s][url=https://www.supermariobrosx.org/forums/viewtopic.php?[img]https://i.imgur.com/bxfOf2Tg.png[/img][/url][/s]
[color=#FF40BF]My 38A Project:[/color]
[s]-Coming Soon!-[/s]

Yoshi021 M
Moderator
Moderator
Avatar
Yoshi021 M
Moderator
Moderator
Age: 18
Reputation: 120
Posts: 667
Joined: 15 Feb 2016
Location: Yoshi's Island

Post #5by Yoshi021 » 22 Jun 2018, 16:58

Luckily, I have a copy!
Attachments
BgpEffect-f.lvl
(2.19 KiB) Downloaded 13 times
Links
ImageImageImage
Image
Image
"Going to University is FUN!" :pardon:


Return to “Script submission”

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest