bullet10
Neophyte
3 Posts |
Posted - Sep 16 2006 : 10:01:47 PM
|
3 Questions
How do i move animated Sprites How Do i Declare a Global Variable over all Forms How do i create an ONline Function,
its all for an assignment, we got told but i 4got, so thanks for youtr help
btw tell me anything, im not that n00bie at programming |
|
PW7962
Squire
USA
33 Posts |
Posted - Sep 17 2006 : 09:49:21 AM
|
1.) change its X,Y Position 2.) Make the variable Public (Public X as long) 3.) What do you mean? A function that can access the internet?
|
Star Fantasy Unlimited Programmer
http://starfantasy.forumer.com |
|
|
bullet10
Neophyte
3 Posts |
Posted - Sep 20 2006 : 4:27:10 PM
|
the first 2 worked well, thanks mate umm i mean like multiplayer
|
|
|
PW7962
Squire
USA
33 Posts |
Posted - Sep 20 2006 : 8:13:30 PM
|
that would take a bit more work. You'd need to get to become comfortable with winsock before you could do that. |
Star Fantasy Unlimited Programmer
http://starfantasy.forumer.com |
|
|
bullet10
Neophyte
3 Posts |
Posted - Sep 21 2006 : 04:56:42 AM
|
how do i change X,Y pos with keys, i 4get lol |
|
|
PW7962
Squire
USA
33 Posts |
Posted - Sep 21 2006 : 7:54:32 PM
|
you would probably be best using 2 variables (X and Y) then change those to move the sprite. Then when you draw the picture, draw it at position X,Y |
Star Fantasy Unlimited Programmer
http://starfantasy.forumer.com |
|
|
Krisc
Knave
69 Posts |
Posted - Sep 24 2006 : 11:48:54 AM
|
You can do it a couple of ways...
You can overload the Form's KeyDown or KeyPress methods, look for a certain key and if that key is pressed: change the X and/or Y coordinates. Or you could use DirectX.DirectInput to listen for key presses and handle them as you see fit.
|
|
|