Issue inheriting TGadget properties

BlitzMax Forums/BlitzMax GUI Programming/Issue inheriting TGadget properties

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

You need to initialise several variables. Add this to the beginning of your code:

SuperStrict

Local wx:Int = 10
Local wy:Int = 10
Local GAME_WIDTH:Int = 640
Local GAME_HEIGHT:Int = 480



It should then compile without errors.

Tip: Use SuperStrict or Strict in all your projects.