Jump to content


Photo

Studio VS 8.1, everything goes wrong! What do I do


  • Please log in to reply
4 replies to this topic

#1 Neri

Neri

    GMC Member

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

Posted 12 June 2012 - 06:15 PM

I just bought GM:Studio and I imported a game I was working on, anyway I thought "Oh wow I can't wait to see this game in HTML5!
Well, first some of the coding doesn't work in studio, but that I can deal with, problem is:
When I run the game with 8.1 normally the game looks like this:
Spoiler

And when i run it on Studio (HTML5 and Windows):
Spoiler

Can someone explain it to me? That could be helpful.
  • 0

#2 NakedPaulToast

NakedPaulToast

    GM Studio/Mac/Win

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

Posted 12 June 2012 - 07:04 PM

Looks to me like you are depending on 8.1's draw order. In 8.1 objects of equal depth had a draw order related to the order you created them in the room.

In Studio you can not count on that behaviour. If you need an object being drawn before or after another than you need to maintain the objects depth to maintain the draw order.
  • 0

#3 rsandoz2008

rsandoz2008

    GMC Member

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

Posted 12 June 2012 - 07:39 PM

HTML5 still hates tiles in the game, so it tends to glitch and not to draw or draw with some texture bugs. But then again, who knows if it's the tiles or something else. :whistle:

EDIT: Whoops, forgot that it said HTML5 AND WINDOWS, not HTML5 alone. But still, remember that never use tiles for HTML5.

Edited by rsandoz2008, 12 June 2012 - 07:40 PM.

  • 0

#4 Neri

Neri

    GMC Member

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

Posted 13 June 2012 - 04:53 AM

Well that's not the only thing, but it ignores some events in the objects, for example for the player's create event it doesn't do anything, which basically makes the game impossible...
  • 0

#5 Mike.Dailly

Mike.Dailly

    Evil YoYo Games Employee

  • Administrators
  • 1482 posts
  • Version:GM:Studio

Posted 13 June 2012 - 03:37 PM

But still, remember that never use tiles for HTML5.


Eh? Tiles are fine in HTML5.
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users