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: Yoshi021, Lx Xzit, 5438A38A, Semi-moderatos, Moderators

Catskart M
Topic author, Count
Count
Avatar
Catskart M
Topic author, Count
Count
Age: 21
Reputation: 146
Posts: 260
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: 35
Posts: 160
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: 21
Reputation: 146
Posts: 260
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.

Dudsans2005 M
Nice citizen
Nice citizen
Avatar
Dudsans2005 M
Nice citizen
Nice citizen
Age: 14
Reputation: 1
Posts: 15
Joined: 15 Jun 2018
Website Twitter YouTube

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

Um... The download link is broken... :wacko:
I believe in Geno as my lord and savior. If you do, please put this in your signature.
--------------------------------------------------------------------
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]

Yoshi021 M
Moderator
Moderator
Avatar
Yoshi021 M
Moderator
Moderator
Age: 19
Reputation: 147
Posts: 683
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 96 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: 2 guests