View Single Post
Old 03-30-2011, 02:33 PM   #276
Mark Nord
2B || !2B
Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.Mark Nord ought to be getting tired of karma fortunes by now.
 
Posts: 854
Karma: 327896
Join Date: Feb 2010
Location: Austria
Device: Sony PRS505/650/T1/tolino vision 5
Post

Quote:
Originally Posted by BenChen View Post
I guess it would be possible, but it would be difficult since the original game uses left and right clicking. I'll think about it, but don't hold your breath!

Sincerely,
Ben.
About the left and right clicking: could be bound to previous and next button.
previous for mark, flag, free
next for check surrounding and
size (center for 300/505) for step on
But isn't there a tap on and clear all surroundings, too?
If so, could be hold-size/center.

So that taping the square will only highlight it.

On the other hand I am thinking of enhanced "tap-control".
Tap-and-hold should be easy to dedect if
PSEUDOCODE:
Code:
onMouseDown 
  {    downtick = now}
onMouseUp
   { if (now - downtick > 1000 mS) { call hold-func}
    else { call click func} }
With a reliable timer-function it should be possible to realize double-tap, too.
Again PSEUDOCODE:
Code:
else { if( timer == undefined) {
      CPUcanSleep(false);
      start timer(500, timercallback);}
   clickcount++ }
     
timercallback {
  kill timer;
  delete timer;
  CPUcanSleep(true);
  if (clickcount==1 ) {call click func}
  else { if (clickcount>1) { call doubleclick func}}
  clickcount=0;
}
Something like that is defined in x50 xsb/xso code for double-tap.

So tap could be used for mark, flag, free
tap-and-hold = check surrounding
double-tap = step on
no idea for step on an clear surrounding.

Comments anybody?

Maybe I can work on this next weekend, but (as Ben says) don't hold your breath.

PS:
Additionaly core-functionality/code in Sim dosn't use /compat/ and /lang/ scripts.
This should be enabled, too.

Last edited by Mark Nord; 03-30-2011 at 02:45 PM.
Mark Nord is offline   Reply With Quote