diff --git a/VERSION b/VERSION index 795df0e..2a57146 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -VERSION = 0.1 \ No newline at end of file +VERSION = 2.80 \ No newline at end of file diff --git a/openmamba/background.png b/openmamba/background.png deleted file mode 100644 index 31fd759..0000000 Binary files a/openmamba/background.png and /dev/null differ diff --git a/openmamba/box.png b/openmamba/box.png deleted file mode 100644 index 54876e6..0000000 Binary files a/openmamba/box.png and /dev/null differ diff --git a/openmamba/bullet.png b/openmamba/bullet.png deleted file mode 100644 index dd52736..0000000 Binary files a/openmamba/bullet.png and /dev/null differ diff --git a/openmamba/entry.png b/openmamba/entry.png deleted file mode 100644 index a9f4157..0000000 Binary files a/openmamba/entry.png and /dev/null differ diff --git a/openmamba/lock.png b/openmamba/lock.png deleted file mode 100644 index a0f8c12..0000000 Binary files a/openmamba/lock.png and /dev/null differ diff --git a/openmamba/openmamba.script b/openmamba/openmamba.script index c00c6fa..d6d5380 100644 --- a/openmamba/openmamba.script +++ b/openmamba/openmamba.script @@ -1,70 +1,32 @@ -# This is an example plymouth plugin script +# openmamba 3 plymouth script -#Window.SetBackgroundTopColor(0.234, 0.43, 0.705); -#Window.SetBackgroundBottomColor(0.16, 0.25, 0.44); - -wallpaper_image = Image("background.png"); screen_width = Window.GetWidth(); screen_height = Window.GetHeight(); -resized_wallpaper_image = wallpaper_image.Scale(screen_width,screen_height); -wallpaper_sprite = Sprite(resized_wallpaper_image); -wallpaper_sprite.SetZ(-100); - stretch_factor = screen_width / screen_height / 1.25; logo1.image = Image("openmamball.png"); -logo1.image = logo1.image.Scale(72 * (screen_width / stretch_factor / 1280), 72 * (screen_height / 1024)); +logo1.image = logo1.image.Scale(100 * (screen_width / stretch_factor / 1280), 100 * (screen_height / 1024)); logo1.sprite = Sprite(logo1.image); -logo1.opacity_angle = 0; - -logo2.image = Image("openmamball.png"); -logo2.image = logo2.image.Scale(85 * (screen_width / stretch_factor / 1280), 85 * (screen_height / 1024)); -logo2.sprite = Sprite(logo2.image); -logo2.opacity_angle = 0; - -logo3.image = Image("openmamball.png"); -logo3.image = logo3.image.Scale(118 * (screen_width / stretch_factor / 1280), 118 * (screen_height / 1024)); -logo3.sprite = Sprite(logo3.image); -logo3.opacity_angle = 0; +logo1.opacity_angle = 180; fun refresh_callback () { if (status == "normal") { - logo1.opacity_angle += ((2 * 3.14) / 50) * 0.3; # 0.5 HZ - logo2.opacity_angle += ((2 * 3.14) / 50) * 0.4; # 0.25 HZ - logo3.opacity_angle += ((2 * 3.14) / 50) * 0.5; # 0.125 HZ - min_opacity = 0.3; + logo1.opacity_angle += ((2 * 3.14) / 50) * 0.1; + min_opacity = 0.2; opacity1 = (Math.Cos(logo1.opacity_angle) + 1) / 2; opacity1 *= 1 - min_opacity; opacity1 += min_opacity; - logo1.sprite.SetX ((980 * screen_width) / 1280 - logo1.image.GetWidth() / 2); - logo1.sprite.SetY ((105 * screen_height) / 1024 - logo1.image.GetHeight() / 2); + logo1.sprite.SetX ((640 * screen_width) / 1280 - logo1.image.GetWidth() / 2); + logo1.sprite.SetY ((512 * screen_height) / 1024 - logo1.image.GetHeight() / 2); logo1.sprite.SetOpacity (opacity1); - opacity2 = (Math.Cos(logo2.opacity_angle) + 1) / 2; - opacity2 *= 1 - min_opacity; - opacity2 += min_opacity; - logo2.sprite.SetX ((980 * screen_width) / 1280 - logo2.image.GetWidth() / 2); - logo2.sprite.SetY ((242 * screen_height) / 1024 - logo2.image.GetHeight() / 2); - logo2.sprite.SetOpacity (opacity2); - opacity3 = (Math.Cos(logo3.opacity_angle) + 1) / 2; - opacity3 *= 1 - min_opacity; - opacity3 += min_opacity; - logo3.sprite.SetX ((980 * screen_width) / 1280 - logo3.image.GetWidth() / 2); - logo3.sprite.SetY ((415 * screen_height) / 1024 - logo3.image.GetHeight() / 2); - logo3.sprite.SetOpacity (opacity3); } else { - logo1.sprite.SetX ((980 * screen_width) / 1280 - logo1.image.GetWidth() / 2); - logo1.sprite.SetY ((105 * screen_height) / 1024 - logo1.image.GetHeight() / 2); + logo1.sprite.SetX ((640 * screen_width) / 1280 - logo1.image.GetWidth() / 2); + logo1.sprite.SetY ((512 * screen_height) / 1024 - logo1.image.GetHeight() / 2); logo1.sprite.SetOpacity (1); - logo2.sprite.SetX ((980 * screen_width) / 1280 - logo2.image.GetWidth() / 2); - logo2.sprite.SetY ((250 * screen_height) / 1024 - logo2.image.GetHeight() / 2); - logo2.sprite.SetOpacity (1); - logo3.sprite.SetX ((980 * screen_width) / 1280 - logo3.image.GetWidth() / 2); - logo3.sprite.SetY ((415 * screen_height) / 1024 - logo3.image.GetHeight() / 2); - logo3.sprite.SetOpacity (1); } } @@ -186,8 +148,6 @@ Plymouth.SetDisplayPasswordFunction(display_password_callback); fun quit_callback () { logo1.sprite.SetOpacity (1); - logo2.sprite.SetOpacity (1); - logo3.sprite.SetOpacity (1); } Plymouth.SetQuitFunction(quit_callback); diff --git a/openmamba/openmamball.png b/openmamba/openmamball.png index 05a07dd..c748e5c 100644 Binary files a/openmamba/openmamball.png and b/openmamba/openmamball.png differ diff --git a/openmamba/progress_bar.png b/openmamba/progress_bar.png deleted file mode 100644 index dd1e747..0000000 Binary files a/openmamba/progress_bar.png and /dev/null differ diff --git a/openmamba/progress_box.png b/openmamba/progress_box.png deleted file mode 100644 index c485cfb..0000000 Binary files a/openmamba/progress_box.png and /dev/null differ