|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
~ Ryan ~
|
Vb CODE pick up and drop item
Okay, I am working on a VB program for school called adventure game, and when my character enters a room there are two buttons, one to pick up object and one to drop object, and each room has an object. What i cant get to work is that when i enter the room, the button drop appears if i have an object in my hand already, and then when i click it i drop the object and the pick up object button becomes visible. Upon clicking the pick up button I would like to pick up the rooms object. Does anyone know how to do this, and I already have around 7500 lines of code done doing everything else for this level of the game, but this is the only error and everything else works properly. Does anyone know how to go about writing this code? Dont worry about variable names, i can adjust them afterward to fit.
TIA, ryan124712
__________________
RiotCats.com, an internet domain specifically fabricated and visually erected for the appreciation of the feline kingdom! |
|
|
|
|
|
#2 |
|
Professional gadfly
|
Is this a text-based game or graphical?
|
|
|
|
|
|
#3 |
|
~ Ryan ~
|
Graphical with Visual Basic .Net, i have tried around ten diferent codes for this one function and none work. Thanks for quick reply.
|
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|