Post

 Resources 

Console

Home | Profile | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 VBGamer
 VBGamer
 HELP PLZ

Note: You must be registered in order to post a reply.

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List Spell Checker
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

   Insert an File
Check here to include your profile signature.
Check here to subscribe to this topic.
    

T O P I C    R E V I E W
bullet10 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
6   L A T E S T    R E P L I E S    (Newest First)
Krisc 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.
PW7962 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
bullet10 Posted - Sep 21 2006 : 04:56:42 AM
how do i change X,Y pos with keys, i 4get lol
PW7962 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.
bullet10 Posted - Sep 20 2006 : 4:27:10 PM
the first 2 worked well, thanks mate
umm i mean like multiplayer
PW7962 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?

VBGamer © Go To Top Of Page
This page was generated in 0.48 seconds. Snitz Forums 2000

Copyright © 2002 - 2004 Eric Coleman, Peter Kuchnio , et. al.