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, TepigFan101, Moderators

Catskart M
Topic author, Count
Count
Avatar
Catskart M
Topic author, Count
Count
Age: 18
Reputation: 120
Posts: 256
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
Duke
Duke
Mushroom King
Duke
Duke
Reputation: 22
Posts: 138
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: 18
Reputation: 120
Posts: 256
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.


Return to “Script submission”

Who is online (over the past 5 minutes)

Users browsing this forum: 1 guest