User Tag List

Page 1 of 2 1 2 LastLast
Results 1 to 10 of 15

Thread: How to make a picture look pixelated.

  1. #1
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

    Join Date
    Oct 2006
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    How to make a picture look pixelated.

    Hi guys, im in the process of making a game where I need to pixelate a picture, losing image definition without changing its physical size.

    The way I thought of doing this was to zoom the image down, then zoom it back to the original size, thinking the pixels would be larger, and showing less detail in the image.
    I didn't take into account that the zoom function uses the same original image to do the process though.

    I then thought if I could zoom the image down, then save a copy of that image to memory or create another object using the smaller image, I could use that image/object to zoom back to the original size, thus loosing the required definition.

    I do need to keep the original image as the player will be shown this at some point in the game.

    The problem I have, is that I cant find how to save the zoomed image to memory to be used again.

    I hope this makes sense to you guys and thanks in advance for any help you can provide.

  2. #2
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    AyreGuitar's Avatar
    Join Date
    Jan 2011
    Location
    Wales, UK
    Posts
    1,113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    zoopboy - You'd probably need t use the Screen Capture object to capture the scaled down image, then reload it into an Active Picture (with Picture Resize set to Fast) that's the same size as your original image. The other thing to consider is do you really NEED this effect for your game? You might find the Zoom or Zoom 2 Fade-in/out transitions look good enough, or some other process that's easier to achieve.

  3. #3
    Clicker Fusion 2.5 DeveloperiOS Export Module

    Join Date
    Sep 2006
    Posts
    207
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I'd use the Surface object. Blit the background, Resize Surface to [something pretty small], Resize to original size.
    Attached files Attached files

  4. #4
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

    Join Date
    Oct 2006
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks for your suggestion AyreGuitar, I did know there was a Screen Capture object but thought it would be simpler if I could store a copy of a zoomed pic then use that. Also I want this process not to be seen by the player, just the end result.

    Wouldnt it take quite a long time saving and loading the image from the screen capture?

    The game is for iOS, does the Screen Capture extension work on iOS?

    Also I dont think i will know the size of the picture, as it will be loaded in by the player from ones they have. I will probably have to limit it to a maximum size but will not know the original size.

    The effect i'm after isn't a visual effect for transitions, im going to use it to make the image a player is looking at less obvious. I want to have different stages of pixelation depending on the difficulty settings.

  5. #5
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

    Join Date
    Oct 2006
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks Nim, where can i find the surface object extension?

  6. #6
    Clicker Fusion 2.5 DeveloperiOS Export Module

    Join Date
    Sep 2006
    Posts
    207
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

  7. #7
    Clicker Multimedia Fusion 2 DeveloperiOS Export Module

    Join Date
    Oct 2006
    Posts
    10
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks nim.

  8. #8
    Clicker Multimedia Fusion 2 DeveloperiOS Export ModuleSWF Export Module
    Jaffob's Avatar
    Join Date
    May 2008
    Location
    USA
    Posts
    1,833
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    These are pretty convoluted solutions. Firstly, if you need to take a screenshot, don't use the Screen Capture object; in this case you only need to take the screenshot through Windows.

    I haven't tested this, but the easiest way would probably be to scale down the object, right-click, do Create -> Active Object, and scale the new object back up. If that doesn't work, try a combination of copy/paste operations, or use an external image editor if need be.

  9. #9
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleSWF Export Module
    Eliyahu's Avatar
    Join Date
    Oct 2007
    Location
    Seattle, WA
    Posts
    1,523
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Why can't the pixelated version just be stored as a different animation?

  10. #10
    Clicker Fusion 2.5 DeveloperAndroid Export ModuleiOS Export ModuleMac Export ModuleUnicode Add-on
    Fusion 2.5 (Steam)Fusion 2.5 Developer (Steam)Android Export Module (Steam)HTML5 Export Module (Steam)iOS Export Module (Steam)Universal Windows Platform Export Module (Steam)
    AyreGuitar's Avatar
    Join Date
    Jan 2011
    Location
    Wales, UK
    Posts
    1,113
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    zoopboy - If it's for an iOS project, then you might have more luck posting in the iOS forum.
    I don't think the surface object has been converted for iOS.
    I have done a very limited conversion of the Screen Capture object for iOS (you can find it in the iOS Extensions subforum) - all it does is capture the whole screen, so probably not useful for what you want.

Page 1 of 2 1 2 LastLast

Similar Threads

  1. Take picture and make from it Active Object / Active picture
    By qenio in forum Android Export Module Version 2.0
    Replies: 3
    Last Post: 3rd February 2014, 07:34 AM
  2. who to make active picture work on ios?
    By springthunder in forum iOS Export Module Version 2.0
    Replies: 1
    Last Post: 21st December 2013, 03:39 PM
  3. BUG: Active Picture > New Picture from Selector doesn't wait for image - Beta9
    By AyreGuitar in forum iOS Export Module Version 2.0
    Replies: 5
    Last Post: 27th January 2013, 03:09 PM
  4. Picture Name$ for Active Picture
    By AyreGuitar in forum iOS Export Module Version 2.0
    Replies: 2
    Last Post: 11th April 2012, 07:54 AM
  5. How to make an a picture move after clicking
    By stillhawk in forum The Games Factory 2 - Technical Support
    Replies: 11
    Last Post: 7th July 2007, 08:06 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
  •