Jump to content


Photo

GM Studio hates Tiles


  • Please log in to reply
7 replies to this topic

#1 mazimadu

mazimadu

    GMC Member

  • GMC Member
  • 203 posts

Posted 29 March 2012 - 01:09 AM

Dear Yoyo Team

I am a long time user of game maker and have been using the software for 5 years now. Usually when ever there is a jump from one version to the next I usually wait a while for all the kinks to be removed before I get the next version. But GMS and GMHTML5 are the exception to the rule and I choose to get these now that they are in Beta to learn the program while it gets improved. So far, things have been quite nice and I cant wait to get my hands on the finished version so I can start Android development. Unfortunately, I ran into a few critical presentation problems, each unique to GMS and GMHTML5 respectively.

Now I have been developing a new Squares game (another one) and have created some placeholder assets to test out my engine. Nothing to shabby. Sprites, tiles and a few parallax scrolling backgrounds. I did this from scratch using GMHTML5 and since it is using the GM8 runner, the results were as I expected below.

Posted Image

here, I set the backgrounds to tile horizontally but not vertically.

In HTML5, the result was similar, but the Backgrounds tile vertically instead of horizontally. Below

Posted Image

I imported the project into GM studio and ran it with the C++ runner. Here ther background problem is fixed, but...

Posted Image


WTF is up with those tiles. The pointer to the tiles seems to be messed up. They also have shrunk for some reason . Weird.

While I could easily post to the bug tracker, I felt that it would be better if everyone actively using the program saw the differences that seem to be present in each version of GM. I am confident that the yoyo team will fix this little bug and appreciate the hard work they put into the project. Till then I will be waiting patiently for the issue(s) to be fixed.

Sincerely

Mazimadu
  • 0

#2 Mike.Dailly

Mike.Dailly

    Evil YoYo Games Employee

  • Administrators
  • 1483 posts
  • Version:GM:Studio

Posted 29 March 2012 - 08:34 AM

Post a bug and attach your code. We use both backgrounds and tiles without issue, so we need your code to test the problem. It's all very well letting everyone else know, but if you don't file a bug and attach an example, it won't get fixed - simple as that.
  • 0

#3 mazimadu

mazimadu

    GMC Member

  • GMC Member
  • 203 posts

Posted 29 March 2012 - 09:43 PM

I seem to have found the cause of the problem. It looks like opening the GMHTML5 project in GMS causes the tile settings to get set to 32xx32 (explaining the size and location problems with tiles). I will try reloading my tiles from scratch.

Also, I tried filing a bug report and got this

APPLICATION ERROR #700
Project "22" not found.


  • 0

#4 mrsmes

mrsmes

    GMC Member

  • GMC Member
  • 972 posts
  • Version:Unknown

Posted 08 April 2012 - 03:05 AM

I am going to have to buy your product at a later time this year is there a chance that i can buy them at the same price in a few days after i get back from my birthday trip to bali so maybe in june and if you keep the price at $100 each for every item you may get more bang for your buck as more people are more likely to spread the word about how amazing it is and how cheap it is soo you may get more money sure it may be a slow process but if you go to global audiences it will make you richer than Microsoft before you can say "Wow" and start singing "Bang!, Bang, daddy were dirty rich" heck you could buy up Microsoft and be getting business really rolling.
Edit: sorry if i went off topic but i hope you get your problem solved soon.

Edited by mrsmes, 08 April 2012 - 03:07 AM.

  • 0

#5 Robert3DG+

Robert3DG+

    VR Games

  • GMC Member
  • 1848 posts
  • Version:GM:Studio

Posted 08 April 2012 - 03:07 AM

I am going to have to buy your product at a later time this year is there a chance that i can buy them at the same price in a few days after i get back from my birthday trip to bali so maybe in june and if you keep the price at $100 each for every item you may get more bang for your buck as more people are more likely to spread the word about how amazing it is and how cheap it is soo you may get more money sure it may be a slow process but if you go to global audiences it will make you richer than Microsoft before you can say "Wow" and start singing "Bang!, Bang, daddy were dirty rich" heck you could buy up Microsoft and be getting business really rolling.


Have you ever heard of punctuation? It's pretty cool Posted Image
  • 1

#6 mrsmes

mrsmes

    GMC Member

  • GMC Member
  • 972 posts
  • Version:Unknown

Posted 08 April 2012 - 03:10 AM

so terribly sorry i completely forgot to use punctuation i was in such a rush to get my story heard that i completely forgot to use it, at all oh moderators please forgive me.
  • 0

#7 Pokemonrey

Pokemonrey

    GMC Member

  • GMC Member
  • 53 posts

Posted 08 April 2012 - 12:48 PM

okay I've run into this bug a few times but it probably isn't game maker, this is most likely a) your running html version, and the old file is in your cache, giving you weird patterns, just go to your browser settings and delete cookies and cache.
or
B) you ran the game on ios or android without game maker finishing the compilation, and you got half of the old one half the new one.
c) you didn't check the way your using the tiles.
that would fix the weird tiles

it might be a glitch like you say there might be a way to fix it, just like for those above, try going to the folder where Gm is compiling the game, and delete everything from there and run it again, just don't delete the actual folder, only the contents.

however the one persistent glitch is the black line on ios devices, at a certain point of the view there's that black line that always shows up on tiles only, and when you move the view, the line moves to other tiles, that there's no fix for, summit a bug report =p.
cheers.

Edited by Pokemonrey, 08 April 2012 - 12:52 PM.

  • 0

#8 mazimadu

mazimadu

    GMC Member

  • GMC Member
  • 203 posts

Posted 09 April 2012 - 10:50 PM

For the the HTML5 Background issue, I worked around it using
if browser_not_browser = false{
     var tmp;
     tmp = background_htiled; 
     background_htiled = background_vtiled;
     background_htiled = tmp;
}

As for the C++ runner, I was using a tile set greater than 1024x600. I don't know why this is an issue but it stopped happening when I used a smaller tileset.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users