Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

.NET 

2 VB.Net Code Questions | Need help with codding

1)
I have 9 PictureBoxes sorted like fields in tic-tac-toe...like this:

☐ ☐ ☐
☐ ☐ ☐
☐ ☐ ☐

and now when someone clicks one of these I want to change collor of the one below it..how can I know witch one's bellow? (I know I can just look but would took forever to write xD) I could get coordinates of it but I don't know what to do next...



2)
I'm making simple 2D game where you can run and jump XD Like this: http://www.siguientefase.com/wp-content/...rmario.jpg

How can I make gravity? XD
If there is just 9 pictureboxes, its substantial amount of work, lol.
@Fake thank's I'll try it
@Coleak This is just example....there's actually more than 9 ;D
(May 5, 2012 04:22 PM)0xDEAD10CC Wrote:  And now what if you click the bottom picturebox in a column? What is supposed to happen nothing? Otherwise this is pretty easy.

Nothing....if there isn't box below it shouldn't do anything..


Possibly Related Threads...
Thread / Author Replies Views Last Post
[.NET] by stickler39modzMar 21, 2017 07:14 AM 14 524 Mar 21, 2017 07:14 AM
Last Post: DarkCart
[C#] by newmechaMay 28, 2016 05:52 AM 4 211 May 28, 2016 05:52 AM
Last Post: He B TeMy
[C] by GhostClient WantedApr 22, 2015 07:02 AM 2 108 Apr 22, 2015 07:02 AM
Last Post: Mouse❤️