Jump to content


Photo

View port scale bug?


  • Please log in to reply
3 replies to this topic

#1 Znyx

Znyx

    GMC Member

  • New Member
  • 56 posts
  • Version:Unknown

Posted 19 February 2012 - 12:19 PM

Hey.
Today i added rocks to my game, im using the draw_sprite_part() to draw them and im getting some graphical issues...
Im scaling the view port 2x. 250x250 pixels is scaled to 500x500 but i get this:
Posted Image

But when i set the viewport to 501 it dissapers:(The left one is 501x501 and the right is 500x500)
Posted Image

Bug in GM?
  • 0

#2 Mike.Dailly

Mike.Dailly

    Evil YoYo Games Employee

  • Administrators
  • 1482 posts
  • Version:GM:Studio

Posted 19 February 2012 - 04:46 PM

I presume your using tiles, if so have a read of my article on it....Seamless tile scaling in GameMaker
  • 0

#3 YellowAfterlife

YellowAfterlife

    GMC Member

  • Global Moderators
  • 3490 posts
  • Version:GM:Studio

Posted 19 February 2012 - 05:09 PM

I presume your using tiles, if so have a read of my article on it....Seamless tile scaling in GameMaker

I got to say that it is interesting not only that bug exists, but also that something that is assumed to make things worse fixes it with next to no losses (you get additional 2 pixels of viewport on right and bottom sides). Here's an example for it - http://solidfiles.com/d/16de14d969/
  • 0

#4 Znyx

Znyx

    GMC Member

  • New Member
  • 56 posts
  • Version:Unknown

Posted 19 February 2012 - 07:07 PM


I presume your using tiles, if so have a read of my article on it....Seamless tile scaling in GameMaker

I got to say that it is interesting not only that bug exists, but also that something that is assumed to make things worse fixes it with next to no losses (you get additional 2 pixels of viewport on right and bottom sides). Here's an example for it - http://solidfiles.com/d/16de14d969/


Both ways works as good as the other so ill just keep it at 501x501 pixels as it is easier than changeing all the tiles and i cant see any noticible diffrence. But thanks anyways!

Edited by Znyx, 19 February 2012 - 07:08 PM.

  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users