Jump to content

Game Window Not Rendering


Recommended Posts

Ever since a recent beta update my games window will not render.

http://www.leadwerks.com/werkspace/blog/1/entry-1746-beta-update-available/

 

I saw that this was an issue others were having as well and that it has been supposedly fixed.

http://www.leadwerks.com/werkspace/topic/14952-contextgetwidth-contextgetheight-no-longer-return-valid-info/

 

My game window still will not render if I use the beta and I can't seem to find out why.

 

I can revert to the current build and my game window renders correctly. There are no errors being shown and everything is loading the same way as far as I can tell. I am using the Indie Edition and I can provide my project if needed.

 

Link to a video I made to show my issue -

Check out my game Rogue Snowboarding- 

https://haydenmango.itch.io/roguesnowboarding

Link to comment
Share on other sites

Macklebee helped me figure this one out.

 

I had this as my window creation line -

 

self.window = Window:Create(self.title, 0,0,self.resolutions[self.rescounter].x,self.resolutions[self.rescounter].y,64)

 

then I changed it to this and now it works! biggrin.png -

 

local windowstyle=window.Titlebar

windowstyle=windowstyle+window.FullScreen

self.window = Window:Create(self.title, 0,0,self.resolutions[self.rescounter].x,self.resolutions[self.rescounter].y,windowstyle)

  • Upvote 1

Check out my game Rogue Snowboarding- 

https://haydenmango.itch.io/roguesnowboarding

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

×
×
  • Create New...