XWidgetSoft Forum https://bbs.xwidget.com/ |
|
Animation help https://bbs.xwidget.com/viewtopic.php?f=8&t=4067 |
Page 1 of 1 |
Author: | Jimking [ February 5th, 2014, 10:35 am ] | ||
Post subject: | Animation help | ||
This is my Rocker Recycle Bin. I try to make a similar widget like the "Spider Web RB" http://jimking.deviantart.com/art/Spide ... -417939543 but I can't combine the animation with the script... Here is what I want to do with the animations: 1) On widget's load the "empty" rocket = visible, the fired rocket-rb icon = NOT visible 2) RB status full = "empty" rocket NOT visible, fired rocker= visible 3) With double click on the fired rocket - ask for clear RB 4) During the deleting - scrolltop animation of the fired rocket (like the spider) 5) Re-appearing of the "empty" rocket = empty RB (I will add some more graphics on the design...) Someone can help me??
|
Author: | hamid [ February 6th, 2014, 8:52 pm ] |
Post subject: | Re: Animation help |
1. what is the empty image (Clean.png) for? 2. is it going to do up animation when changing from empty to full and vice versa? 3. is it going to do animation one time while deleting or multiple times? ============= i have changed some parts of it; but i didn't fully tested it; i'll test it later; maybe this could be what you want: rocket_recycle_bin_[test1]_[2014.02.07].xwp [308.57 KiB] Downloaded 194 times |
Author: | Jimking [ February 7th, 2014, 3:21 am ] |
Post subject: | Re: Animation help |
You're very close hamid! If we can't get rid of the onwidgetloading animation it's ok. I was thinking the "up animation" only when clear the rb. So the status from empty to full will be without animation (like a normal rb widget) |
Author: | hamid [ February 7th, 2014, 8:04 am ] |
Post subject: | Re: Animation help |
you didn't answer my questions; specially this one: 1. what is the empty image (Clean.png) for? i didn't find any usability in that, so i deleted it to reduce package size here's what you want: =============== fixed: Script code removed: [empty] image from project, because i think it's useless removed: [Clean.png] from widget folder to reduce size of package added: MiddleClick for open RecycleBin =============== rocket_recycle_bin_[test2]_[2014.02.07].xwp [206.87 KiB] Downloaded 193 times =============== i think it would be better to do these for better View of widget: 1. to crop the [full.png] to height of 650 2. to crop the [empty.png] to height of 550 3. and if you crop them, make imege1 [AutoSize] checkbox enabled |
Author: | Jimking [ February 7th, 2014, 10:11 am ] |
Post subject: | Re: Animation help |
The "empty" image was a part of some tests that I did. I wanted to used like a background image, so the returning of the "unfired" rocket image, after the up-movement/cleaning, will be immediate, without the returning of the "unfired" rocket from the bottom... Maybe playing with show/hide the empty image.. But since the RB icon has the "switch animation" is inevitable, right? Is a bit complicated, so really if we can't do this its ok! You already helped me enough with this! About the cropping, I used the default images. The empty and full images should have the same dimensions/position. If not there will be a movement of the image on desktop after changing the status, and will look ugly.. |
Author: | Jimking [ February 7th, 2014, 5:12 pm ] |
Post subject: | Re: Animation help |
Posted: viewtopic.php?f=11&t=4080 Thanks again hamid! |
Page 1 of 1 | All times are UTC - 8 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |