gamepad rumble / individual scene scrolling / scene scrolling by mouse moving

  • #1, by PanSWednesday, 20. April 2016, 10:01 8 years ago
    ich habe mehrere fragen, die mir die forensuche nicht beantworten konnte:

    1. kann die rumble funktion für gamepads (bei mir xbox360 controller) in meinem visionaire-projekt deaktiviert werden? wenn ich den bildschirmrüttel-effekt nutze, vibriert es. ich könnte es abziehen, aber eine deaktivierung durch das spiel wäre mir lieber. wink

    2. kann man einer kulisse einen individuellen scrollspeed zuweisen ohne lua-script?

    3. alternativ dazu würde ich gern eine kulisse direkt durch mausbewegungen verschieben

    der hintergrund dazu: man kann an einer stelle in meinem projekt durch ein schlüsselloch schauen und die kulisse nach links wie rechts scrollen. bisher funktioniert das über standard-funktion, wenn die maus den rand einer kulisse berüht. der mauszeiger ist unsichtbar. natürlich muss die maus jedes mal einen gewisse strecke zurücklegen, um von der einen zur anderen seite zu kommen. eine direkte kontrolle wäre daher besser. außerdem muss die scrollgeschwindigkeit sehr hoch sein. was wiederum schlecht ist, weil mein outro ebenso die scrollfunktion nutzt und dort viel zu schnell ist.

    i have few questions:

    1. can i deactivate the rumble/force feedback function in my visionaire project (my xbox-controller starts rumbling while screenshake)?

    2. is it possible to set individuell scrolling speed for scenes WITHOUT using lua-scripts?

    3. is it even possible scroll a scene directly by mouse movment?

    background: i have 2 scenes needing different scrolling speeds. in one scene you look through a keyhole. the player should be able to control the background image a little bit by moving the mouse. at the moment i use the standard screenborder scrolling with an invisible mousecursor and high scrolling speed. thats not really the best method in my eyes. i am looking for direct control.
    in my outro scene i using the scene scrolling too, but its to fast.

    please, excuse my bad english. i hope you can understand my matters.

    Newbie

    73 Posts


  • #2, by afrlmeWednesday, 20. April 2016, 11:49 8 years ago
    1. No, not currently. I believe Simon will probably have to write an option into the engine to allow users to manually disable controller event listening.

    2. Not sure about an editor only method but you can quickly change it with a single line of Lua script added inside of an "at begin of scene" action with the line of code added inside of an "execute a script" action...
    game.ScrollSpeed = 300
    

    300 is the default value, so just change it to whatever you need. To undo this at the end of the scene you can create an "at end of scene" action part inside of the scenes "action" tab & include the script in that with the default value.

    3. Yes it's possible. Select a scene > go to the scenes "properties" tab & you will find a checkbox at the bottom of the window which says "Scroll scene if the cursor is at screen edge" - will only work if scene background is larger than your default game resolution you specified in the game settings tab.
    https://gyazo.com/36aa2aec82aef176248fd86c3e97d7d8

    Imperator

    7278 Posts

  • #3, by PanSWednesday, 20. April 2016, 14:04 8 years ago
    thx for the fast responds

    1. ah, i have expected that. but that gives me the possibility to bring a funny warning at the beginning of my adventure.

    2. such easy? thats great! it solves the greatest problem.

    3. yeah. that is how i do it at the moment (note the image). but its not the best solution. the mouse cursor could leave the game window (or?) and the cursor has to lay back (move) a long distance from one side to the other. because of the invisibility of the cursor, the player maybe won't see he can move the scene.
    so i suppose that controlling/scrolling the scene by mouse is only realizable with a lua-script?

    Newbie

    73 Posts

  • #4, by sebastianWednesday, 20. April 2016, 14:24 8 years ago
    So you want to scroll the scene instantly like an egoshooter kind instead of always move your mouse to the (other) edge?

    Thread Captain

    2346 Posts

  • #5, by PanSWednesday, 20. April 2016, 14:48 8 years ago
    Yes. smile

    Newbie

    73 Posts

  • #6, by afrlmeWednesday, 20. April 2016, 14:54 8 years ago
    It's actually possible to adjust the screen edge bounding box, but it's not always a good thing, especially if you have objects near the edge of the screen that the player might want to click on.

    Ah... what you are describing up there could be done by attaching the keyhole graphic stuff to an interface. Interfaces remain on the current viewport until you manually hide them or switch to menu type scene. You could probably set up some kind of click & drag loop to move the scene scroll position around.

    Imperator

    7278 Posts