Hi Guys!
I am designing a card game with VB.NET. I have a deck of cards (52 cards) spanned horizontally along. I will request from the user to pick 5 cards. I want an effect like iOS dock. Is it possible?
Thanks a lot!
Printable View
Hi Guys!
I am designing a card game with VB.NET. I have a deck of cards (52 cards) spanned horizontally along. I will request from the user to pick 5 cards. I want an effect like iOS dock. Is it possible?
Thanks a lot!
No idea. Why would you assume that a forum for Vb.Net would have anyone in it that has a clue what the iOS Dock 'effect' actually is? A picture paints a thousand words and all that.
Fisheye? Ok, I'll make an example with flash.
Ok, I think I found something about this. It is called bubblebar which comes with a DevComponents dll. But it will be just a small stupid game and I want to keep it as a single exe. No setup. Is it very difficult to write something like that?
If you are talking about moving the Cards Up, Down, Left or right then Yes it's pretty:
If you are talking about changing the transparency then you will have a bad time doing that because i think you have to go into GDI+ or DirectX to do that.Quote:
Pulic sub Timer1 event args( You get the point)
if pictuebox1.left => 200 then
Else
pictuebox1.left += 10
End if
End sub
Either way, good luck :)
Yeah, thanks Dternity :) But I want some pretty cool stuff called like fisheye dock or rocket dock ;)
That is very possible though you will need some pretty epic optimization for it too run smoothly without GDI+ or directx.
Yeah, epic... In fact I found a java code for this and it is very very complicated. I thing I will not do...
Here is the demo I found : http://www.ilstours.net/demo.html
But jquery.min.js does the whole magic and you won't like to look whats in it :(
Just do some research on location, mouse location and changing sizes in runtime and you should be good to go
If that was my requirement I would look at WPF rather than WinForms.
if it's possible in java, it's possible in winforms...
For some reasons, actually no .paul.. At least in my case... Winform picturboxes does not support relative transparency. If you are using an alpha image like .png, it only shows the parent which is usually the main form. If two images become one on other, it really becomes a pain in a... Then I tried System.Draw.Images events but later they become impossible to manage after a particular point.
WPF pictureboxes supports relative transparency and has nice features like xaml.