473,395 Members | 1,578 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

need to move pictures like items in diablo 2

7
have you played diablo2 how would i set up the form
and the code to do the inventory thing im making a rpg but i need a diablo2 inventory tutorial on how that works

like the when you drag a sword and drop it in the eqiuped slot



Jun 13 '07 #1
10 1857
alkire
7
have you played diablo2 how would i set up the form
and the code to do the inventory thing im making a rpg but i need a diablo2 inventory tutorial on how that works

like the when you drag a sword and drop it in the eqiuped slot




Thanks for being unhelpful - no-one's replied in almost a year.
Sep 18 '07 #2
Killer42
8,435 Expert 8TB
thanks for bieng un help full no ones replied in almost a year
Interesting. I hadn't seen this question until today.

Sorry to hear you haven't had any response as yet, though I would hardly call three months "almost a year". I'm afraid we're a bit short on VB experts at the moment, so things can go unnoticed. (Feel free to jump in if you see any other questions you know the answer to.)

I can't see the images, as they're blocked by my work system. Will have to have a look when I get home. In the meantime, perhaps you could fill in a bit more detail on exactly what it is you want to do, and in what version of VB. Rather than comparing it to Diablo II, please describe the intended results. You're obviously talking about something related to drag-and-drop behaviour, but give us more detail.
Sep 19 '07 #3
hariharanmca
1,977 1GB
My suggestion is use timer control for the speed of image move and use form Top and left for the move direction like

Expand|Select|Wrap|Line Numbers
  1. Private Sub Timer1_Timer()
  2.     If Image1.Left + Image1.Width <= Me.Width Then 
  3.              Image1.Left = Image1.Left + 1
  4.     End If
  5. End Sub
Sep 19 '07 #4
Killer42
8,435 Expert 8TB
My suggestion is use timer ...
So if I'm reading it right, the purpose of that is to push Image1 over against the right-hand side - correct?


Hm... that's odd. When I read this at work, there were big gray boxes on the first couple of messages, which I thought indicated images that were blocked. Now they're gone.
Sep 19 '07 #5
hariharanmca
1,977 1GB
So if I'm reading it right, the purpose of that is to push Image1 over against the right-hand side - correct?
My suggestion is use timer control for the speed....

What I gave is a sample chunk of code.

There are some other conditions are there
  • We have to initialize the image position
  • We have to check Zorder for multiple image movement in same location.
  • We have to lode image with transparent background.
I may be wrong; but he/she is looking for 3 months so this may be a clue to develop.
(I played Diablo game there it’s seems like that.)
Sep 19 '07 #6
Killer42
8,435 Expert 8TB
What I gave is a sample chunk of code.
I'm aware of that. Was I correct about the purpose of that chunk of code?[/quote]
Sep 19 '07 #7
alkire
7
hey guys thanks for your help i havent been on in a while but i think you guys have the right thing going if you want to go to battle.net and download the demo of diabl 2 or diablo and youll know what i mean the game was made by blizzard and i would love to work for them but im still in high school so i dont know what to do oh welll mabe ill achieve my dream one day but i need to know half the things im doing so far so your help is very help full because i actually understand what you are talking about rifght now but the problem is im in schoool now and now im taking a c++ class and now i need to know how to use the graphics library...hmmm oh well giave me any adivice you xcan on rpg prgraming becuase i plan on revolutionizing the gaming world but....

the thing is im still in high schoool but that means lots of sparetime to program better to get into programing cllasses in college and know what they are talking about than to go in and be dumbstruck .....literally ...:)
Jan 16 '08 #8
alkire
7
oh im a guy lol just to let you know i was was like what he/she ok... thats flaming lol :)
Jan 16 '08 #9
Killer42
8,435 Expert 8TB
I think what you need to keep in mind is that TheScripts is really about helping out programmers who hit a problem in their code. We're not really a programming school. I'd suggest you have a look around the web (and your local bookstore) for tutorials on games programming.

If you do have any specific questions about your code, we'll be glad to try and help. Though it sounds as though you'll probably want to put them in the C / C++ forum.
Jan 16 '08 #10
alkire
7
I think what you need to keep in mind is that TheScripts is really about helping out programmers who hit a problem in their code. We're not really a programming school. I'd suggest you have a look around the web (and your local bookstore) for tutorials on games programming.

If you do have any specific questions about your code, we'll be glad to try and help. Though it sounds as though you'll probably want to put them in the C / C++ forum.

thanks you da man or..girl....
Jan 17 '08 #11

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: Bernard | last post by:
Hi, I have a problem with a CGI script (Perl) on a Win2000 server. The script is for sending E-cards and was written by Jason Maloney:...
7
by: ChadDiesel | last post by:
Hello everyone, I'm having a problem with Access that I need some help with. The short version is, I want to print a list of parts and part quantities that belong to a certain part group---One...
5
by: Joe Fallon | last post by:
I have a list box with 7 text values in it. I have a pair of buttons to Move Up or Move Down the selected item one position. What is the simplest way to code the buttons so the item moves one...
2
by: Keith Kowalski | last post by:
I anm opening up a text file reading the lines of the file that refer to a tif image in that file, If the tif image does not exist I need it to send an email stating that the file doesn't exist...
4
by: Bob Bedford | last post by:
Hello there, Little problem I can't solve. Its seems easy but I can't find out a simple solution. Maybe a clever way already exists: I've a site where people may have up to 5 pictures. They...
9
by: mimenko | last post by:
Hello, I'd want to show and hide the same icons (pictures) on a web page that contains several icons. Some are identical, some are different (for ex : 3 items "A", 4 items "B", 2 items "C"). Is...
11
by: NewGuytoNetworking | last post by:
I have an XML that my company sends out daily it used to be created by SQL but I now have to use crystal reports and I can't seem to get it to line up the same. Please help with any references or how...
0
by: hobgoodoreneyhb | last post by:
diablo 2 lod patch http://cracks.12w.net F R E E
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.