This site requires JavaScript, please enable it in your browser!
Greenfoot back
szaborobert1
szaborobert1 wrote ...

2017/2/12

eror at the font.PLAIN in Greenfoot 3.1.0

szaborobert1 szaborobert1

2017/2/12

#
eror at the font.PLAIN in Greenfoot 3.1.0 but in 2.8.0 is working. I need help.
danpost danpost

2017/2/12

#
szaborobert1 wrote...
eror at the font.PLAIN in Greenfoot 3.1.0 but in 2.8.0 is working. I need help.
Try 'Font.PLAIN'.
davmac davmac

2017/2/14

#
Font.PLAIN doesn't exist in Greenfoot 3.1.0's Font class (greenfoot.Font). You need to explain why you think you need it, and/or show how you are using it in your code, before anyone will be able to help you.
MrBradley MrBradley

2017/2/25

#
If you are referring to the font style modifier, you are correct. The new 3.0 version has changes that affect Fonts. Make sure you check the method signatures, you may also be using the parameter in the wrong location with the new changes. Always helpful to post a bit of code as well.
You need to login to post a reply.