Search found 4 matches

by Neer
Wed Jan 03, 2018 5:55 am
Forum: Support and Development
Topic: Graphics.setMode doesnt work!!
Replies: 6
Views: 4894

Re: Graphics.setMode doesnt work!!

slime wrote: Fri Dec 29, 2017 2:55 pm It looks like the chinese translation of the tutorial hasn't been updated since before 0.9.0 came out.
thx,that’s true
by Neer
Wed Jan 03, 2018 5:54 am
Forum: Support and Development
Topic: Graphics.setMode doesnt work!!
Replies: 6
Views: 4894

Re: Graphics.setMode doesnt work!!

https://love2d.org/wiki/love.graphics.setMode -> Removed in LÖVE 0.9.0; Moved to the love.window module as love.window.setMode. https://love2d.org/wiki/love.window.setMode Interestingly, your link to the physics tutorial on the wiki shows love.windows.setMode being used, and that should work. Edit:...
by Neer
Fri Dec 29, 2017 5:54 am
Forum: Support and Development
Topic: Graphics.setMode doesnt work!!
Replies: 6
Views: 4894

Re: Graphics.setMode doesnt work!!

Welcome to the forums! We will be able to help you more if you post the line of code in which the error has happened, or maybe the entire code, even if you copied it. My only guess is that you replaced "window" with "graphics", or you are using an outdated version of love2d. thx...
by Neer
Tue Dec 26, 2017 9:43 am
Forum: Support and Development
Topic: Graphics.setMode doesnt work!!
Replies: 6
Views: 4894

Graphics.setMode doesnt work!!

wiki page:Tutorial:Physics
I read this tutorial and copy the whole code,
but it doesnt work and warn:Error main.lua:33:attempt to call field'setMode'(a nil value)
help me~ better in chinese~ ;) ;)