|
-
Mar 11th, 2013, 12:16 PM
#1
Thread Starter
Fanatic Member
[RESOLVED] Graphic animation for card game.
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!
-
Mar 11th, 2013, 01:16 PM
#2
Re: Graphic animation for card game.
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.
As the 6-dimensional mathematics professor said to the brain surgeon, "It ain't Rocket Science!"
Reviews: "dunfiddlin likes his DataTables" - jmcilhinney
Please be aware that whilst I will read private messages (one day!) I am unlikely to reply to anything that does not contain offers of cash, fame or marriage!
-
Mar 11th, 2013, 02:21 PM
#3
Thread Starter
Fanatic Member
Re: Graphic animation for card game.
Fisheye? Ok, I'll make an example with flash.
-
Apr 11th, 2013, 08:18 AM
#4
Thread Starter
Fanatic Member
Re: Graphic animation for card game.
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?
Last edited by Flashbond; Apr 11th, 2013 at 08:25 AM.
-
Apr 11th, 2013, 01:46 PM
#5
New Member
Re: Graphic animation for card game.
If you are talking about moving the Cards Up, Down, Left or right then Yes it's pretty:
Pulic sub Timer1 event args( You get the point)
if pictuebox1.left => 200 then
Else
pictuebox1.left += 10
End if
End sub
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.
Either way, good luck
-
Apr 11th, 2013, 06:42 PM
#6
Thread Starter
Fanatic Member
Re: Graphic animation for card game.
Yeah, thanks Dternity But I want some pretty cool stuff called like fisheye dock or rocket dock
Last edited by Flashbond; Apr 12th, 2013 at 07:54 AM.
-
Apr 13th, 2013, 01:00 AM
#7
New Member
Re: Graphic animation for card game.
That is very possible though you will need some pretty epic optimization for it too run smoothly without GDI+ or directx.
-
Apr 13th, 2013, 06:30 AM
#8
Thread Starter
Fanatic Member
Re: Graphic animation for card game.
Yeah, epic... In fact I found a java code for this and it is very very complicated. I thing I will not do...
Last edited by Flashbond; Apr 13th, 2013 at 07:03 AM.
-
Apr 13th, 2013, 07:03 AM
#9
Thread Starter
Fanatic Member
Re: Graphic animation for card game.
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
-
Apr 14th, 2013, 11:43 PM
#10
New Member
Re: Graphic animation for card game.
Just do some research on location, mouse location and changing sizes in runtime and you should be good to go
-
Apr 15th, 2013, 10:03 AM
#11
Re: Graphic animation for card game.
If that was my requirement I would look at WPF rather than WinForms.
This pattern in common to all great programmers I know: they're not experts in something as much as experts in becoming experts in something.
The best programming advice I ever got was to spend my entire career becoming educable. And I suggest you do the same.
-
May 29th, 2013, 07:31 AM
#12
Thread Starter
Fanatic Member
Re: Graphic animation for card game.
 Originally Posted by MattP
If that was my requirement I would look at WPF rather than WinForms.
You are a wise guy. Nearly after one month, after all tryings over pictureboxes and system drawing events, my decision was endend in WPF.
-
May 29th, 2013, 06:13 PM
#13
Re: Graphic animation for card game.
if it's possible in java, it's possible in winforms...
- Coding Examples:
- Features:
- Online Games:
- Compiled Games:
-
May 29th, 2013, 09:22 PM
#14
Thread Starter
Fanatic Member
Re: [RESOLVED] Graphic animation for card game.
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.
Last edited by Flashbond; May 30th, 2013 at 02:04 PM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|