Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Newcomers DBPro Corner / Rotating inventory using mouse wheel help please?

Author
Message
Levanthus
21
Years of Service
User Offline
Joined: 17th Apr 2003
Location: Cumbria, UK
Posted: 5th Aug 2014 08:05
ok, I've been wracking my brain for hours on this... i'm trying to make an inventory display when i bring up a screen that shows like 3 slots for item images and i want to be able to scroll the images using the mouse wheel, i have code that someone helped me with a while back for aq different project that works with using keys, but i just wandered if there was a way to do it with the mouse wheel, i've been playing with it and messing about but i just can't seem to get my head around it..



it's not essential to do it with the mouse wheel, it'd just fit better into my game interface if it did

I can see from your smile, you're not here for the sunset

Windows 7 64 bit, AMD Phenom II x4 Black edition, 7 GB Ram, Radeon HD 4650, 3.6 TB HDD
GreenDixy
16
Years of Service
User Offline
Joined: 24th Jul 2008
Location: Toronto
Posted: 6th Aug 2014 21:37


.:: Http://DeanWorks.Ca ::.
My software never has bugs. It just develops random features.
luskos
17
Years of Service
User Offline
Joined: 28th Jun 2007
Location:
Posted: 21st Aug 2014 15:44 Edited at: 21st Aug 2014 15:44
And the other way with mousez() command:



Coding is My Kung Fu!
And My Kung Fu is better than Yours!

Login to post a reply

Server time is: 2024-11-23 14:23:28
Your offset time is: 2024-11-23 14:23:28