LWJGL
May 18, 2013, 14:46:21 *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: LWJGL is now using GitHub
 
   Home   Help Search Login Register  



Pages: [1]
  Print  
Author Topic: Input in the form of relative co-ordinates  (Read 743 times)
mn1987
Newbie
*
Posts: 1


« on: November 16, 2011, 21:09:42 »

Hi,
I want to create a game which receives input in the form of some co-ordinates relative to current position on an object in display. Based on this input the object moves left or right. There is no keyboard or mouse input involved. Can anyone help me understand how I should approach this problem for LWJGL library. Kindly help.
Thanks!
Logged
CodeBunny
Nerdus Imperius
*****
Posts: 561



WWW
« Reply #1 on: November 17, 2011, 03:51:47 »

LWJGL is a graphics library with some additional minor utilities. This isn't a graphics issue, so the majority of LWJGL is meaningless to your question. Additionally, if you don't want to use it's keyboard or mouse input, then there is literally no aspect of the library that you need to make that form of input work.

Basically, it's all up to you. That's a good thing, though.


I will admit however: what are you planning on doing where your input doesn't require a mouse or keyboard? How else are you giving instructions to your game?
Logged
wondersonic
Newbie
*
Posts: 40



« Reply #2 on: December 08, 2011, 01:36:26 »

Hi,
I want to create a game which receives input in the form of some co-ordinates relative to current position on an object in display. Based on this input the object moves left or right. There is no keyboard or mouse input involved. Can anyone help me understand how I should approach this problem for LWJGL library. Kindly help.
Thanks!

I guess, I don't understand your need. Is it related maybe to unit testing? Mocking and so on?

Maybe you can give an example?
Logged

S.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines
SMFAds for Free Forums
Valid XHTML 1.0! Valid CSS!