User Tag List

Results 1 to 4 of 4

Thread: [Need Help] How can I "zoom out"? (show 32 pixel as 16)

  1. #1
    Clicker Fusion 2.5Android Export Module
    salmjak's Avatar
    Join Date
    Feb 2014
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    [Need Help] How can I "zoom out"? (show 32 pixel as 16)

    So here's the deal: I want to make a game where 32x32 sprites appear as 16x16 sprites (2x zoom out or ½ scale)

    I've been searching in google and on the forums where most topics speak of window resolution vs. frame resolution, window object, viewport object, etc but I can't get anything to work :S The logic for me would be making a 400x300 window resolution and a 800x600 frame resolution and then fit the frame into the window, but I can't seem to get that working.

    Thanks in advance for any help!

    EDIT: Like, how do I keep the same aspect ratio with 32x32 pixels as when using 16x16 pixels?

  2. #2
    Clicker Fusion 2.5 DeveloperFusion 2.5+ DLCSWF Export Module
    N64Mario's Avatar
    Join Date
    Nov 2008
    Location
    USA
    Posts
    1,308
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Odd question, but couldn't you resize the sprites in the frame?

    In some of my games I just window resized. But it sounds like you're trying to keep the window size the same, but resize the graphics only. Unless I misinterpreted this.

  3. #3
    Clicker Fusion 2.5Android Export Module
    salmjak's Avatar
    Join Date
    Feb 2014
    Posts
    40
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well, since I stack many of them next to eachother they just look weird when I resize them (gap inbetween them)

    Your interpretation is correct, unless I'm approaching the problem the wrong way.

    When I made a program for android in "andengine" I doubled the camera resolution while doubling the sprites size. The result was much more detailed graphics.

    Like, if I use a 512x512 sprite now it will take up a quarter of the screen no matter what I do <---- This is the problem.

    EDIT: "Ultimate Fullscreen" extension seems to do the trick, but I wouldn't want my game to be in fullscreen :/

    EDIT 2: Never mind! Found the "apply fullscreen settings to window mode" so now it's working as I want it to

  4. #4
    Clicker

    Fusion 2.5Android Export Module

    Join Date
    Jan 2007
    Posts
    281
    Mentioned
    8 Post(s)
    Tagged
    1 Thread(s)
    Zoom Pixel Shader and Sub App object. This limits you to Windows only (I know nothing about the HTML5 zoom feature - perhaps someone else could help with that.)

    Multimedia Fusion ONLY renders a screen area that is equal to your applications resolution.

    To accomplish this, you should make your main application 800x600 and make your Sub-App 400x300. Run the Main App in the Sub-App and create a system to zoom in/out using the zoom shader. Because your main app is 800x600, Multimedia Fusion is rendering a 800x600 area, but you are only seeing 400x300 since you are running that app as a sub-app inside of a smaller window.

Similar Threads

  1. Request pixel shader "Convex polygon"
    By SEELE in forum Hardware Accelerated Runtime
    Replies: 33
    Last Post: 4th August 2013, 10:17 PM
  2. "Rendertarget ping/pong" and "Pixel shaders" Can TGF2 do this?
    By CloudExSolider in forum The Games Factory 2 - Technical Support
    Replies: 13
    Last Post: 7th April 2013, 08:21 PM
  3. Very Nice "new" Pixel-Resize-Algorithm!
    By Jahkri in forum Extension Development
    Replies: 23
    Last Post: 24th December 2012, 12:54 PM
  4. Qucik question of the "pixel font"
    By Outcast in forum Multimedia Fusion 2 - Technical Support
    Replies: 9
    Last Post: 18th February 2011, 04:18 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
  •