Gamestudio Links
Zorro Links
Newest Posts
Change chart colours
by 7th_zorro. 05/11/24 09:25
Data from CSV not parsed correctly
by dr_panther. 05/06/24 18:50
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (AndrewAMD, Ayumi), 1,405 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Hanky27, firatv, wandaluciaia, Mega_Rod, EternallyCurious
19051 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Laptop Gaming #121383
04/04/07 03:17
04/04/07 03:17
Joined: Aug 2004
Posts: 2,215
I
ISG Offline OP

Expert
ISG  Offline OP

Expert
I

Joined: Aug 2004
Posts: 2,215
Would it be possible to use the mousepad area on a laptop as a drawing canvas for games? Like say you wanted to play a game with a ball bouncing around a level and you wanted to draw a line in the level for the ball to bounce off as well, but using your mousepad; would that be possible?

Just wondering....if so any ideas how this would work? Also if possible, any good game ideas that could come from it?


Ground Tactics - Coming Soon
Ground Tactics OFFICIAL WEBSITE
Re: Laptop Gaming [Re: ISG] #121384
04/04/07 05:10
04/04/07 05:10
Joined: Dec 2005
Posts: 478
India
M
msl_manni Offline
Senior Member
msl_manni  Offline
Senior Member
M

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: msl_manni] #121385
04/04/07 10:20
04/04/07 10:20
Joined: Jan 2007
Posts: 1,619
Germany
Scorpion Offline
Serious User
Scorpion  Offline
Serious User

Joined: Jan 2007
Posts: 1,619
Germany
the mousepad is used as a "normal" mouse, so it shouldnt be a problem...
just try to save the mouse-coods in an array and show it wiht the draw_line function

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 Offline
Expert
xXxGuitar511  Offline
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 Offline
Expert
Rhuarc  Offline
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


I no longer post on these forums, keep in touch with me via:
Linkedin.com
My MSDN blog
Re: Laptop Gaming [Re: Rhuarc] #121388
04/04/07 16:23
04/04/07 16:23
Joined: Mar 2006
Posts: 2,503
SC, United States
xXxGuitar511 Offline
Expert
xXxGuitar511  Offline
Expert

Joined: Mar 2006
Posts: 2,503
SC, United States
Yep, lower level dll is required. However, the calls are probably device-dependent...


xXxGuitar511
- Programmer
Re: Laptop Gaming [Re: xXxGuitar511] #121389
04/04/07 20:50
04/04/07 20:50
Joined: Aug 2004
Posts: 2,215
I
ISG Offline OP

Expert
ISG  Offline OP

Expert
I

Joined: Aug 2004
Posts: 2,215
Rhuarc has what I mean down exactly. I was figuring a DLL would be required for such a task to be made possible, just wondering how exactly it could be put about to make it work.

Any ideas or attempts to make possible would be nice to see/hear!


Ground Tactics - Coming Soon
Ground Tactics OFFICIAL WEBSITE
Re: Laptop Gaming [Re: ISG] #121390
04/06/07 21:33
04/06/07 21:33
Joined: Apr 2003
Posts: 1,044
Deutschland
Iron Chancellor Offline
Senior Developer
Iron Chancellor  Offline
Senior Developer

Joined: Apr 2003
Posts: 1,044
Deutschland
Hello, this should be possible to realize, but I don't know how. There is a tool included with the drivers for my mousepad which shows grafically how you moved the mouse and where you pressed on the mousepad.



Re: Laptop Gaming [Re: Iron Chancellor] #121391
04/07/07 05:13
04/07/07 05:13
Joined: Aug 2004
Posts: 2,215
I
ISG Offline OP

Expert
ISG  Offline OP

Expert
I

Joined: Aug 2004
Posts: 2,215
I found the program too and I see how it works. Any ideas on how to get a DLL or the same idea to work in realtime?

Thanks a lot Iron_Chancellor!!


Ground Tactics - Coming Soon
Ground Tactics OFFICIAL WEBSITE
Re: Laptop Gaming [Re: ISG] #121392
04/13/07 10:53
04/13/07 10:53
Joined: Aug 2004
Posts: 2,215
I
ISG Offline OP

Expert
ISG  Offline OP

Expert
I

Joined: Aug 2004
Posts: 2,215
Anyone willing to work on a DLL?


Ground Tactics - Coming Soon
Ground Tactics OFFICIAL WEBSITE

Moderated by  checkbutton, mk_1 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1