Fatal error on build: Broken declaration in scope.

About Monkey 2 Forums Monkey 2 Programming Help Fatal error on build: Broken declaration in scope.

This topic contains 4 replies, has 3 voices, and was last updated by  Richard Betson 2 years, 10 months ago.

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #2510

    Richard Betson
    Participant

    Hi

    I’ve been on vacation so I thought I would see if this issue has come up. When building in either release or debug I get a fatal error. It looks like an issue with blend mode but I’m not sure. The source I’m using does build on Monkey2 1.0.0. Ideas?

     

    This build attempt was done with Ted2 and Monkey2 v-1.0.2.

    #2604

    Richard Betson
    Participant

    Cause. You cant do:

    Before it was converted to an integer.

    #2632

    Arjailer
    Participant

    BendMode is an Enum. Do:

    Not sure why putting it in an Int ever worked – it shouldn’t have.

    Edit: actually, I’m wrong – the Implicit Type Conversions section in the help says putting it in an Int should work.

    #2659

    Mark Sibly
    Keymaster

    Local blendMode:=BlendMode.Alpha *should* work – definitely a bug.

    Can you post this in ‘issues’ at github Richard? Just copy and paste of the original post is fine.

    #2671

    Richard Betson
    Participant

    @Mark will do. 😉

Viewing 5 posts - 1 through 5 (of 5 total)

You must be logged in to reply to this topic.