It is currently March 29th, 2024, 2:02 pm

Wandering Metroid "Desktop Friend"!

Skins with graphics and animations
User avatar
FuzzyLizard530
Posts: 75
Joined: August 5th, 2014, 2:09 am

Wandering Metroid "Desktop Friend"!

Post by FuzzyLizard530 »

After much research, and a lot of number fudging, I finally managed to figure out how to make this work! LOL!

I give you the wandering Metroid!
Metroid_0.0.1.rmskin
Is it useful? Not really. Is it practical? Heck no! But this is something I wanted to do with RM since I started making my own stuff with it! Sizy Screengif!
FullscreenMetroid.gif
I had to shrink it so that you didn't have a 1366x768 gif hogging up resources, but nevertheless, here's your preview.
I will note that the first time you run it, it will kind of drag on the bottom and right sides of the screen the first cycle through. I'm looking into making it chase the mouse somewhat, but that's a bit lower on the priority list...

I almost forgot to mention, if you right-click it, you'll get a random Metroid sound [all from Metroid Prime, at the moment].
You do not have the required permissions to view the files attached to this post.
Last edited by FuzzyLizard530 on May 27th, 2016, 12:58 am, edited 1 time in total.
I may or may not have a signature in this, very location...
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Wandering Metroid "Desktop Friend"!

Post by jsmorley »

User avatar
FuzzyLizard530
Posts: 75
Joined: August 5th, 2014, 2:09 am

Re: Wandering Metroid "Desktop Friend"!

Post by FuzzyLizard530 »

I may or may not have a signature in this, very location...
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Wandering Metroid "Desktop Friend"!

Post by jsmorley »

Just sayin that should be your next skin.... ;-)
User avatar
FuzzyLizard530
Posts: 75
Joined: August 5th, 2014, 2:09 am

Re: Wandering Metroid "Desktop Friend"!

Post by FuzzyLizard530 »

jsmorley wrote:Just sayin that should be your next skin.... ;-)
That could be fun! Could be a major PITA, too! LOL! I'll take it under advisement!

I am curious as to how I might get a more "Sine Wave" Style of movement. I know there's the Sin(x) ability with Calc/Formulas, but I'm not even sure where to begin...

This Is what I have for the movements

Code: Select all

OnUpdateAction=[!Move "[CalcWanderX]" "[CalcWanderY]"]
and

Code: Select all

[CalcWanderX]
Measure=Calc
Formula=CalcWanderX+4
IfAboveValue=#MaxNumberX#
IfAboveAction=!SetOption CalcWanderX Formula "CalcWanderX-4"
IfBelowValue=1
IfBelowAction=!SetOption CalcWanderX Formula "CalcWanderX+4"

[code]
Measure=Calc
Formula=CalcWanderY+4
IfAboveValue=#MaxNumberY#
IfAboveAction=!SetOption CalcWanderY Formula "CalcWanderY-4"
IfBelowValue=1
IfBelowAction=!SetOption CalcWanderY Formula "CalcWanderY+4"
I may or may not have a signature in this, very location...
User avatar
FuzzyLizard530
Posts: 75
Joined: August 5th, 2014, 2:09 am

Re: Wandering Metroid "Desktop Friend"!

Post by FuzzyLizard530 »

Changed the code a bit:

Code: Select all

[Rainmeter]
Update=0
DynamicVariables=1

[Variables]
MaxNumberX=(#SCREENAREAWIDTH#-[Metroid:W])
MaxNumberY=(#SCREENAREAHEIGHT#-[Metroid:H])
Pause=1
Reset=1

[Metadata]
Name=Metroid
Author=Fuzzy[Lizard]530 
Information=Metroid
Version=1.0
License=Creative Commons Attribution-Noncommercial-Share Alike 4.0 License

[MeasureMin]
Measure=Time
Format=%M

[MeasureSecs]
Measure=Time
Format=%S

[Time]
Measure=Calc
Formula=(MeasureMin*60) + MeasureSecs
IfCondition=(Time = 0) || (Time = 1800)
IfTrueAction=[!SetOption CalcIma UpdateDivider "1"][Play #CurrentPath#\wav\[CalcSound].wav]
IfFalseAction=[!SetOption CalcIma UpdateDivider "21"]
DynamicVariables=1

[CalcIma]
Measure=Calc
Formula=Counter % 20
UpdateDivider=21

[CalcSound]
Measure=Calc
Formula=Trunc(Random)
UpdateRandom=1
UniqueRandom=1
HighBound=11
LowBound=1
UpdateDivider=10

[Metroid]
; Meter=String
; MeasureName=CalcIma
Meter=Image
ImageName=.\anim\[CalcIma].png
AntiAlias=1
; W=350
DynamicVariables=1
; SolidColor=0,0,0,128
LeftMouseUpAction=[Play .\wav\[CalcSound].wav][!SetOption CalcIma UpdateDivider "1"]]
MiddleMouseUpAction=[!ToggleMeasure CalcWanderX][!ToggleMeasure CalcWanderY]
MouseScrollUpAction=!ZPos 2
MouseScrollDownAction=!ZPos 0

[CalcWanderX]
Measure=Calc
; Formula=((sin(#MaxNumberX#/2))+(#MaxNumberX#/2))
Formula=CalcWanderX+4
IfAboveValue=(#MaxNumberX#-1)
IfAboveAction=!SetOption CalcWanderX Formula "CalcWanderX-4"
IfBelowValue=1
IfBelowAction=!SetOption CalcWanderX Formula "CalcWanderX+4"
DynamicVariables=1

[CalcWanderY]
Measure=Calc
; Formula=((sin(#MaxNumberY#/2))+(#MaxNumberY#/2))
Formula=CalcWanderY+4
IfAboveValue=(#MaxNumberY#-1)
IfAboveAction=!SetOption CalcWanderY Formula "CalcWanderY-4"
IfBelowValue=1
IfBelowAction=!SetOption CalcWanderY Formula "CalcWanderY+4"
DynamicVariables=1
OnUpdateAction=[!Move "[CalcWanderX]" "[CalcWanderY]"]
Had a bit of wonkiness where the .wav files wouldn't play all of a sudden...?
Image

Also, added a couple of extras:
  • Scroll up Causes it to be on top layer
  • Scroll down brings it to "normal" layer
  • Middle Click pauses movement
  • "Chimes" every half hour
  • Left Click puts Metroid into "Panic Mode" (Faster Animation and he "Screams" (WIP)**
**I want to make it so that this only lasts up to 10 secs, but I'm still sorting that bit out. Maybe a counter Calc?
I may or may not have a signature in this, very location...
Dimethyl_Tea
Posts: 1
Joined: August 23rd, 2019, 11:06 am

Re: Wandering Metroid "Desktop Friend"!

Post by Dimethyl_Tea »

Any way to make this guy wander around on my second monitor instead?
User avatar
ikarus1969
Posts: 571
Joined: February 28th, 2011, 3:20 pm
Location: Vienna, Austria

Re: Wandering Metroid "Desktop Friend"!

Post by ikarus1969 »

Dimethyl_Tea wrote: August 23rd, 2019, 11:07 am Any way to make this guy wander around on my second monitor instead?
You can try:
(i run the german version, so if the translations or not exactly correct for the english version i suppose you run please forgive me ;-))

right click on the skin -> settings -> position -> display on screen and then select your second monitor.

Maybe that helps.