valimvf / gamekit

Automatically exported from code.google.com/p/gamekit
0 stars 0 forks source link

Mouse Over For Compound Logic #133

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Add two objects within Blender (obj1, obj2), assigning  Mouse / Mouser Over 
and Mouse / Mouse Left Button to obj1, as Sensors.  Connect these Sensors via 
AND Controller (obj1) to an obj2 Actuator for Motion, etc.
2. Save .blend file to iPhoneDemp (Samples) and recompile the source for 
iPhoneDemo, starting from CMake if new, XCode for a touch / rebuild.
3. Build / execute iPhoneDemo, and the Mouse Over / Mouse Left Button on obj1 
will not affect obj2's position, etc. at all.  The action does, however, work 
from within Blender 2.56a.

*Note:  Change iPhoneDemo files and OGREKIT XCode project to parse the 
example.blend file.

What is the expected output? What do you see instead?
The logicbrick scheme as described and in the attached file (example.blend) 
plays in Blender 2.56a perfectly.  In the iPhone emulator, running iPhoneDemo, 
obj2 does not move, etc.  With a Mouse Over / Mouse Left Button logic brick 
applied to obj2, obj2 will execute the Actuator's defined action(s).  

What version of the product are you using? On what operating system?

Product:  svn read-only gamekit  

Mac OSX 10.6.6, XCode 3.2, Blender 2.56a

Please provide any additional information below.

I am new at Blender, just an experienced C programmer.  I do believe there is 
an error in getting the LogicBrick system completely parsed.  If the feature I 
speak of is in the process of being added, let me know when it might be 
available.  This would help my game prototyping efforts greatly.

Original issue reported on code.google.com by ChrisA...@gmail.com on 23 Jan 2011 at 7:30

Attachments:

GoogleCodeExporter commented 9 years ago
From above:  (a type error)

obj2 will NOT execute the Actuator's defined action(s).

What is the expected output? What do you see instead?
The logicbrick scheme as described and in the attached file (example.blend) 
plays in Blender 2.56a perfectly.  In the iPhone emulator, running iPhoneDemo, 
obj2 does not move, etc.  With a Mouse Over / Mouse Left Button logic brick 
applied to obj2, obj2 will NOT execute the Actuator's defined action(s).  

Original comment by ChrisA...@gmail.com on 23 Jan 2011 at 7:33

GoogleCodeExporter commented 9 years ago
It is working on Window. 
So, it seems the touch event transition problem on iPhone.
I will check it later. Thanks for reporting.

Original comment by harkon...@gmail.com on 24 Jan 2011 at 12:18

GoogleCodeExporter commented 9 years ago
You are welcome.

Yes, the touches work on the 'active'/'current' object.  Touches do register on 
the iPhone emulator (I am not using an actual device), but just not on a 
'master' object (obj1) forcing an actuator on a 'slave' object (obj2).  So, 
yes, it could be the touch transition as you say.  

Original comment by ChrisA...@gmail.com on 24 Jan 2011 at 6:34

GoogleCodeExporter commented 9 years ago
I have checked it.

Currently, OIS don't support the touch move event on iOS which is used by 
InputSystem in Gamekit.
So, IPhoneDemo is only support Mouse Sensor's 'Left Button' event in Blender 
GameLogic.

I know that Gamekit's iOS input support is poor.
It should be fixed in the future.

Original comment by harkon...@gmail.com on 25 Jan 2011 at 9:10

GoogleCodeExporter commented 9 years ago
is this fixed? I saw recent commits on mouse events for iOS.

Original comment by dfeli...@gmail.com on 22 May 2011 at 12:17

GoogleCodeExporter commented 9 years ago
Not yet, still LMB click only.

Original comment by harkon...@gmail.com on 22 May 2011 at 5:34