2 registered members (AndrewAMD, Ayumi),
1,405
guests, and 4
spiders. |
Key:
Admin,
Global Mod,
Mod
|
|
|
Re: Laptop Gaming
[Re: ISG]
#121384
04/04/07 05:10
04/04/07 05:10
|
Joined: Dec 2005
Posts: 478 India
msl_manni
Senior Member
|
Senior Member
Joined: Dec 2005
Posts: 478
India
|
I suppose you after a 3d project. Use particle-sprites as colliders-line and create them in places where the user wants them to place using mousepad coordinates. The project would work in a Top camera view.
My Specialities Limited.
|
|
|
Re: Laptop Gaming
[Re: Scorpion]
#121386
04/04/07 15:18
04/04/07 15:18
|
Joined: Mar 2006
Posts: 2,503 SC, United States
xXxGuitar511
Expert
|
Expert
Joined: Mar 2006
Posts: 2,503
SC, United States
|
I'd recommend using a top-view of course, and then snapping objects to an invisible grid for collision.
You could even store the objects in a 3d array, and then check to see what positions are empty for changing the objects shape.
for example, if the position above, and diagonally to the bottom-left were taken, then you could morph your piece to fit. If you keep your pieces invisible, then you could have the user draw lines in 3D using particles or draw_line() functions...
xXxGuitar511 - Programmer
|
|
|
Re: Laptop Gaming
[Re: xXxGuitar511]
#121387
04/04/07 15:39
04/04/07 15:39
|
Joined: Mar 2001
Posts: 3,298 Beverly, Massachusetts
Rhuarc
Expert
|
Expert
Joined: Mar 2001
Posts: 3,298
Beverly, Massachusetts
|
You guys are completely missing it... A touchpad is normally a relative movement method. I.E. Press anywhere and drag in a direction and the mouse moves from its current position in that direction a certain distance. This is exactly how a normal mouse works, except with reversed traction . What ISG is looking for is using the touchpad as if it were a tablet (unless I am mistaken) so that when you press in the top left corner, it moves the mouse instantly to the top left corner of the screen. This way, depression on the pad is comparable to touching a brush to the canvas and drawing, letting up stops. With the normal functionality, the depression and drag is for moving, and the click for painting. It makes it one less step of interaction and more intuitive. As far as I know, it's possible, but I'm not sure exactly how. You probably need to create a DLL (or use Lite-C) to access windows API calls to interact at a lower level with the device and determine if there is any depression, and if so, where that depression is located on the pad. -Rhuarc
|
|
|
|