GammaÃâžÂ Posted July 27, 2010 Author Share Posted July 27, 2010 Hello,I resized my picScreen everything works fine but i have some little problems,>! ![](http://img716.imageshack.us/img716/5765/picscreenhelp.png) 1.: where 1 stands there is my mouse, but as you can see the tiles and the map grid are getting placed on a different place, how to fix that?2.: my name is getting ducked up it now has half-pixels somehow :S3.: same here, my sprite is getting ducked up4(Not in pic).: When i enter frmmaingame while playing my win7 is doing strange the button to start is getting zoomed in and normal etc… and yea it just ducks up my win7 :PPlease help me D:Gammaâ„¢ Link to comment Share on other sites More sharing options...
Robin Posted July 27, 2010 Share Posted July 27, 2010 Make sure your DPI setting is 100%.Also, you haven't changed the map size properly. Link to comment Share on other sites More sharing options...
GammaÃâžÂ Posted July 28, 2010 Author Share Posted July 28, 2010 What do you mean by dpi setting?and why didnt I changed the map size properly?its normal that its zoomed in thats my game's style :SGammaâ„¢:EDIT: My DPI is 100% Link to comment Share on other sites More sharing options...
Robin Posted July 28, 2010 Share Posted July 28, 2010 @Gammaâ„¢:> its normal that its zoomed in thats my game's style :SThen do it properly. You can't just break something and say 'Ooh, that looks nice'. You need to look at the underlying systems and how they're effected. Link to comment Share on other sites More sharing options...
GammaÃâžÂ Posted July 28, 2010 Author Share Posted July 28, 2010 @Robin:> @Gammaâ„¢:> > > its normal that its zoomed in thats my game's style :S> > Then do it properly. You can't just break something and say 'Ooh, that looks nice'. You need to look at the underlying systems and how they're effected.Could you give a hint; what underlying systems and what to change cuz i cant fin them :SGammaâ„¢ Link to comment Share on other sites More sharing options...
Akselj Posted July 28, 2010 Share Posted July 28, 2010 To change the map size properly, Change MAX_MAPX and MAX_MAPY Link to comment Share on other sites More sharing options...
GammaÃâžÂ Posted July 29, 2010 Author Share Posted July 29, 2010 i did… it all works fine but, only those problems the tiles are normal...Gammaâ„¢ Link to comment Share on other sites More sharing options...
GammaÃâžÂ Posted July 29, 2010 Author Share Posted July 29, 2010 Bump| i really need help Link to comment Share on other sites More sharing options...
GammaÃâžÂ Posted July 29, 2010 Author Share Posted July 29, 2010 sry for the triple post but i got the grid for the map editor working but, on the 3 or 4th tiles from up and under the grid shows strange, and the sprite ducks up.Gammaâ„¢ Link to comment Share on other sites More sharing options...
emblem Posted July 29, 2010 Share Posted July 29, 2010 I REALLY suggest againsed doing it like that because all it does is nearest neighbor resize everything after you've drawn it all. Which means, either deal with all your issues or have the game look normal and not resized. Link to comment Share on other sites More sharing options...
GammaÃâžÂ Posted July 29, 2010 Author Share Posted July 29, 2010 sorry i dont get it, what do you mean? Link to comment Share on other sites More sharing options...
emblem Posted July 29, 2010 Share Posted July 29, 2010 Heh. I'm running on assumptions here. Sorry.@Gammaâ„¢:> I did… it all works fine but, only those problems the tiles are normal...> > Gammaâ„¢Because you said this, I'm assuming you want all the tiles to look "stretched". Right?Well, having them stretched the way your doing it is very bad. Link to comment Share on other sites More sharing options...
GammaÃâžÂ Posted July 29, 2010 Author Share Posted July 29, 2010 no, those graphics are already stretched… thats just the style of my tiles, it doesnt stretch it. Link to comment Share on other sites More sharing options...
emblem Posted July 29, 2010 Share Posted July 29, 2010 Alright. Then setting MAX_MAPX and MAX_MAPY to the following should work.(Use a calculator to figure out the values, don't copy paste this.)```MAX_MAPX = (picScreen.Width / 32) - 1MAX_MAPY = (picScreen.Height / 32) - 1```Note: Yes, this means that the size of picScreen has to be a multiple of 32. Link to comment Share on other sites More sharing options...
GammaÃâžÂ Posted July 29, 2010 Author Share Posted July 29, 2010 doesnt work :S Link to comment Share on other sites More sharing options...
emblem Posted July 29, 2010 Share Posted July 29, 2010 Well. What's the size of your picScreen, and what's your MAX_MAPX/MAX_MAPY on both the client side and server side? Link to comment Share on other sites More sharing options...
GammaÃâžÂ Posted July 29, 2010 Author Share Posted July 29, 2010 the width of my picscreen is: 544 the length: 352the x = 17 and the y = 11 Link to comment Share on other sites More sharing options...
emblem Posted July 29, 2010 Share Posted July 29, 2010 The X should be 16, and the Y should be 10.Make sure you change this on both the client side, and the server side. Link to comment Share on other sites More sharing options...
GammaÃâžÂ Posted July 29, 2010 Author Share Posted July 29, 2010 its worser now, my sprite is stretched + it automatically makes new pixels around it+ if he steps to the right or walks down it steps like it warping to that point Link to comment Share on other sites More sharing options...
emblem Posted July 29, 2010 Share Posted July 29, 2010 Are the maps important right now?If not delete them all. Link to comment Share on other sites More sharing options...
GammaÃâžÂ Posted July 29, 2010 Author Share Posted July 29, 2010 ![](http://img188.imageshack.us/img188/2861/asdasdasdasdh.png) Link to comment Share on other sites More sharing options...
emblem Posted July 29, 2010 Share Posted July 29, 2010 That's really odd. Link to comment Share on other sites More sharing options...
GammaÃâžÂ Posted July 29, 2010 Author Share Posted July 29, 2010 @Tylian!:> That's really odd.i know and becuase of that it ducks up my win7 and when i close eo its just normal again xD Link to comment Share on other sites More sharing options...
Robin Posted July 30, 2010 Share Posted July 30, 2010 Again, you didn't resize it properly. :\ Link to comment Share on other sites More sharing options...
GammaÃâžÂ Posted July 30, 2010 Author Share Posted July 30, 2010 Nevermind, i fixed the name. it was something in drawplayername that was bugging, thanks everyone for your help ;D Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now