User Tag List

Page 11 of 11 FirstFirst ... 9 10 11
Results 101 to 104 of 104

Thread: volCAMERA: a powerful camera engine for Clickteam Fusion 2.5

  1. #101
    Clicker Fusion 2.5 MacFusion 2.5 DeveloperFusion 2.5+ DLCAndroid Export ModuleiOS Export ModuleInstall Creator Pro
    Fusion 2.5 (Steam)
    elvisish's Avatar
    Join Date
    Oct 2014
    Posts
    753
    Mentioned
    18 Post(s)
    Tagged
    0 Thread(s)
    @Volnaiskra thanks, i'd really appreciate it, it's stumped me completely!

  2. #102
    Clicker

    Fusion 2.5 DeveloperFusion 2.5 DeveloperFusion 2.5+ DLCiOS Export ModuleSWF Export Module
    xhedgehogx's Avatar
    Join Date
    Nov 2007
    Location
    NY, USA
    Posts
    738
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    @Volnaiskra
    Apologies for the bump. But, I'm having a little bit of trouble with volCAMERA and can't pinpoint exactly how to resolve the issue.

    The scrolling is fine if I don't switch to full screen. You can see the character will go all the way to the left wall (same with the right wall, floor, ceiling). If I switch to full screen at the title screen and then go to the next frame, there's an issue where the camera won't scroll all the way to the edge as it should. And finally, in the last example, if I switch to full screen while already in the level, the camera scrolling works as expected. How do I fix this problem? Thanks!

    https://youtu.be/bfcBOVBRpis

    Edit: It looks like disabling the 'vC - Boundaries: LERP' group fixed it.

  3. #103
    Clicker Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Fusion 2.5+ DLC (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    Volnaiskra's Avatar
    Join Date
    Jan 2014
    Location
    www.sprykegame.com
    Posts
    2,329
    Mentioned
    100 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by xhedgehogx View Post
    @Volnaiskra
    Apologies for the bump. But, I'm having a little bit of trouble with volCAMERA and can't pinpoint exactly how to resolve the issue.

    The scrolling is fine if I don't switch to full screen. You can see the character will go all the way to the left wall (same with the right wall, floor, ceiling). If I switch to full screen at the title screen and then go to the next frame, there's an issue where the camera won't scroll all the way to the edge as it should. And finally, in the last example, if I switch to full screen while already in the level, the camera scrolling works as expected. How do I fix this problem? Thanks!

    https://youtu.be/bfcBOVBRpis

    Edit: It looks like disabling the 'vC - Boundaries: LERP' group fixed it.
    I think you need to manually tell volCAMERA what dimensions your game is running at (see below)

    What's probably happening is that the camera boundaries are being incorrectly placed. Where they must be placed depends on your game's resolution, but since I had no way of knowing what your resolution would be, I had write some code that would try and figure it out for itself. So vC tries to read your game's resolution when you first run it, and calculate where the boundaries should be based on that. But it's an imperfect system, and fails if you use a fake fullscreen method (eg. Ultimate Fullscreen, or DX11 mode fullsreen). Because in a 'fake fullscreen' mode, your game (which is, let's say, 640x480) gets scaled up but your monitor's resolution (which is, let's say 2560x1440) remains unchanged.

    So, volCAMERA sees that your game is using 2560x1440, so it thinks that your gameworld is 2560x1440. But really, even though your game is now displayed using all 2560x1440 physical pixels of your monitor, your gameworld is still just 640x480, but scaled up. if were to tell your code to move an enemy 640 pixels to the right, it would of course move it all the way across the screen, yet it would traverse 2560 physical pixels to get there. So this confuses volCAMERA, and it places the boundaries in the wrong spot.

    ;TLDR
    Manually enter the dimensions of your game's north, south, east and west edges here:


  4. #104
    Clicker

    Fusion 2.5 DeveloperFusion 2.5 DeveloperFusion 2.5+ DLCiOS Export ModuleSWF Export Module
    xhedgehogx's Avatar
    Join Date
    Nov 2007
    Location
    NY, USA
    Posts
    738
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ah thank you for the clear explanation on that. I was looking at that event, for whatever reason it didn't even occur to me to manually enter the dimensions in there. DX11 fullscreen seems like its the culprit for me here.

Page 11 of 11 FirstFirst ... 9 10 11

Similar Threads

  1. Replies: 9
    Last Post: 18th April 2015, 02:07 AM
  2. Replies: 0
    Last Post: 6th December 2013, 12:01 AM
  3. Mouse location based camera engine help
    By active_object_42 in forum Multimedia Fusion 2 - Technical Support
    Replies: 6
    Last Post: 2nd January 2009, 09:17 PM
  4. Request for custom camera engine?
    By camelman in forum File Archive
    Replies: 6
    Last Post: 19th July 2008, 04:50 AM
  5. Pan Camera Engine
    By Doverseer in forum File Archive
    Replies: 5
    Last Post: 24th December 2006, 07:27 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •