Post

 Resources 

Console

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

 All Forums
 VBGamer
 VBGamer
 HELP PLZ
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

bullet10
Neophyte

3 Posts

Posted - Sep 16 2006 :  10:01:47 PM  Show Profile  Reply with Quote
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  Show Profile  Visit PW7962's Homepage  Send PW7962 an AOL message  Reply with Quote
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
Go to Top of Page

bullet10
Neophyte

3 Posts

Posted - Sep 20 2006 :  4:27:10 PM  Show Profile  Reply with Quote
the first 2 worked well, thanks mate
umm i mean like multiplayer
Go to Top of Page

PW7962
Squire

USA
33 Posts

Posted - Sep 20 2006 :  8:13:30 PM  Show Profile  Visit PW7962's Homepage  Send PW7962 an AOL message  Reply with Quote
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
Go to Top of Page

bullet10
Neophyte

3 Posts

Posted - Sep 21 2006 :  04:56:42 AM  Show Profile  Reply with Quote
how do i change X,Y pos with keys, i 4get lol
Go to Top of Page

PW7962
Squire

USA
33 Posts

Posted - Sep 21 2006 :  7:54:32 PM  Show Profile  Visit PW7962's Homepage  Send PW7962 an AOL message  Reply with Quote
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
Go to Top of Page

Krisc
Knave

69 Posts

Posted - Sep 24 2006 :  11:48:54 AM  Show Profile  Visit Krisc's Homepage  Send Krisc an AOL message  Click to see Krisc's MSN Messenger address  Reply with Quote
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.

Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
VBGamer © Go To Top Of Page
This page was generated in 0.12 seconds. Snitz Forums 2000

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