Galv's Cam Control

Discussion in 'JS Plugin Releases (RMMV)' started by Galv, Nov 28, 2015.

    Tags:
  1. Linard

    Linard Veteran Veteran

    Messages:
    202
    Likes Received:
    17
    First Language:
    Filipino
    Primarily Uses:
    RMMV
    Hello @Galv , is there a way to disable the scrolling XY of this plugin? Aside from Setting always a plugin command CAM DISABLE?
    Thanks in advance :)
     
    #61
  2. Galv

    Galv Veteran Veteran

    Messages:
    1,177
    Likes Received:
    1,115
    Location:
    Australia
    First Language:
    English
    Primarily Uses:
    N/A
    Not sure what you mean. CAM DISABLE is the way to disable the smooth camera motion.
    To disable scrolling completely you could target a position on the ground so the camera doesn't scroll at all.
     
    #62
  3. Linard

    Linard Veteran Veteran

    Messages:
    202
    Likes Received:
    17
    First Language:
    Filipino
    Primarily Uses:
    RMMV
    Thanks for your reply Galv,

    Sorry for that.
    What i mean is, A choice of Stopping the smooth camera motion when character moves throughout the game.
     
    #63
  4. Galv

    Galv Veteran Veteran

    Messages:
    1,177
    Likes Received:
    1,115
    Location:
    Australia
    First Language:
    English
    Primarily Uses:
    N/A
    Well that would be when you use CAM DISABLE :)
     
    #64
    Linard likes this.
  5. styx92

    styx92 Veteran Veteran

    Messages:
    310
    Likes Received:
    38
    First Language:
    German
    @Galv @Anisoft

    I have one problem. If i use some things that will displayed on events like galvs message styles or an notification window, that appears over the players head, than it all get shifted.

    Here a screenshot as example:

    [​IMG]


    Is there a way to fix it?
    SRDs Camera Core do not have this problem and Galvs Screen Zoom, too.
    But this both have other problems :D
     

    Attached Files:

    #65
  6. Allerka

    Allerka Veteran Veteran

    Messages:
    289
    Likes Received:
    71
    First Language:
    English
    Hey Galv, I love the plug-in. Things just look so much better than with the stock system. I've encountered a bit of a bug, though.

    So Yanfly made this pretty spiffy "Grid-Free Doodads" system that lets you place objects anywhere on a map as a less memory-intensive alternative to parallax mapping. However, I discovered when this plug-in is active, moving around causes any placed doodads to shake or vibrate as the camera pans around. I'm assuming it has something to do with the draw calls, but I don't know.

    Any chance you could take a look? I've made a project so you can see what happens with this.
     
    #66
  7. Galv

    Galv Veteran Veteran

    Messages:
    1,177
    Likes Received:
    1,115
    Location:
    Australia
    First Language:
    English
    Primarily Uses:
    N/A
    @styx92 I have not yet worked out the math to fix with zoom plugins. I do plan to get this done, though

    @Allerka For some reason the project you linked to there just comes up blank when I try to run it for me so I cannot see it. An uncompiled version would be more beneficial for me so I can look at the code and setup in the RMMV editor
     
    #67
  8. Allerka

    Allerka Veteran Veteran

    Messages:
    289
    Likes Received:
    71
    First Language:
    English
    Whoops. Sorry about that. Try this one, it's just the raw project. Guess I still have a bit to learn about MV's publishing options; it's a bit more complicated than VXA's.
     
    #68
  9. Galv

    Galv Veteran Veteran

    Messages:
    1,177
    Likes Received:
    1,115
    Location:
    Australia
    First Language:
    English
    Primarily Uses:
    N/A
    In Yanfly's plugin change lines 531 and 541 from:
    Code:
    return Math.ceil(value);
    to
    Code:
    return value;
    I'm sure there was a reason Yanfly wrote it like this, so I am not sure if this will cause any other problems but it does appear to fix the jitter with the camera movement.
     
    #69
  10. IttleRPG

    IttleRPG Veteran Veteran

    Messages:
    44
    Likes Received:
    25
    First Language:
    Not English
    Primarily Uses:
    RMMV
    Hi Galv, thanks for the plugin! This make my game look lively! Thank you!
     
    #70
    Galv likes this.
  11. Allerka

    Allerka Veteran Veteran

    Messages:
    289
    Likes Received:
    71
    First Language:
    English
    Well dang, that was simpler than I was expecting. Unfortunately, a lot of the doodads are still shaking like jello when I move around. It seems like it depends a bit on the doodad, some are stable while others jump around a lot. I'm not sure what the common thread is, it doesn't seem to be size-related (One big tree will be stable while the next will shake, same with smaller objects).

    It's happening in both my main project and the sample project I made, so boiled down to just these two it's something between these two plugins that's not playing nice. I see that Math.ceil function appears a couple more times in Yanfly's plugin, maybe that's it? I'm entirely guessing, I have no real idea what's happening. But thanks for looking into it and digging through someone else's code.
     
    #71
  12. styx92

    styx92 Veteran Veteran

    Messages:
    310
    Likes Received:
    38
    First Language:
    German
     
    #72
  13. stramin

    stramin Veteran Veteran

    Messages:
    73
    Likes Received:
    29
    First Language:
    spanish
    Primarily Uses:
    N/A
    Hey guys, any idea why I am getting this error?

    This is my plugin command:
    And this is the error:
    upload_2019-9-1_19-4-26.png

    Is GALV_CamControl plugin incompatible with YEP_EventSpriteOffset?
     
    #73
  14. Archeia

    Archeia Level 99 Demi-fiend Staff Member Developer

    Messages:
    14,650
    Likes Received:
    14,409
    Location:
    Game Dev Salt Mines
    First Language:
    Filipino
    Primarily Uses:
    VNM
    For the people that needs this plugins functions in a script call because of reasons (e.g. needing variable for target), here's the script call:
    Code:
    $gameMap.camTargetSet(target,speed);
    Example Use:
    Code:
    $gameMap.camTargetSet($gamePlayer, 100);
    It seems only coordinates don't work. But events and player still does.
     
    #74
    Eliaquim likes this.
  15. Eliaquim

    Eliaquim Raze: The Rakuen Zero's Guardian! Veteran

    Messages:
    850
    Likes Received:
    331
    Location:
    Brazil - Rio de Janeiro
    First Language:
    Portuguese - Br
    Primarily Uses:
    RMMV
    Try to change the order of the plugins. I have a project with those two that works perfectly
     
    #75
    stramin likes this.

Share This Page