Jesse

Forum Replies Created

Viewing 15 posts - 271 through 285 (of 297 total)
  • Author
    Posts
  • in reply to: Maybe something wrong with Generics? #2115

    Jesse
    Participant

    well, I deleted the int, float and string classes and I was able to keep using the module. But I still don’t know why the error. as all I did was just remove those three classes and it worked. no other code edit on any of the other files.

    in reply to: Maybe something wrong with Generics? #2114

    Jesse
    Participant

    I am trying to isolate the code to post it but everything seems to work good. I can’t duplicate the error with the code I wrote. It’s working fine. I can’t understand is why the error now and why in those files because I am not using Int, Float or string Deque and it shouldn’t be a reason to point out those errors.

    in reply to: Maybe something wrong with Generics? #2113

    Jesse
    Participant

    Sorry Mark it tells me method super.new() in the extended type is undeclared:

    /Users/ayoitseve/Desktop/monkeypatrol/src/deque.monkey2 [209] : Error : Can’t find overload for ‘new(…)’ with argument types (string[])
    /Users/ayoitseve/Desktop/monkeypatrol/src/deque.monkey2 [198] : Error : Can’t find overload for ‘new(…)’ with argument types (float[])
    /Users/ayoitseve/Desktop/monkeypatrol/src/deque.monkey2 [187] : Error : Can’t find overload for ‘new(…)’ with argument types (int[])

    in reply to: Defender demo #1964

    Jesse
    Participant

    I would but I don’t have it anymore. it doesn’t come with the latest version of MX2.

    in reply to: ted2 mojox mouse errors #1963

    Jesse
    Participant

    I have  a similar problem with the mouse. on my MacBook with the latest os. when trying to drag the slider along the bottom of the editor window, if I press the mouse on the slider on the lower part of the slider the whole editor window moves. I have to be careful always to drag from the upper part of the slider. kind of annoying.

    in reply to: Why do we have to call Super.New for windows instances #1932

    Jesse
    Participant

    I haven’t looked into it but I assume hats how you pass those values to the window class.

    and for your information you don’t need to use “Super” for the New method  unless you have a “New” method  in the extended class. you do on the OnWindowEven so as not to confuse the one in the extended class from the window class.

    in reply to: Experimental module manager now online! #1807

    Jesse
    Participant

    Ha Ha ha, I clicked on Download and and it denied me but I was able to download by clicking on “Module Manager” and selecting available.

     

    [Edit]

    Edited and fixed!

    in reply to: Need help converting monkey 1 to monkey 2 code. #1790

    Jesse
    Participant

    Well, I kept getting an error when create stores of new classes and I couldn’t figure out what the problem was until now. it appears that I have to create a simple new method on the “T” class or it fails to compile. I am posting this for anybody that runs into this problem.

    in reply to: Fail to compile #1774

    Jesse
    Participant

    Will do. Thanks.

    in reply to: Fail to compile #1770

    Jesse
    Participant

    Thanks Olejr! that appeared to have solved it.

    My question now is. Shouldn’t monkey be able to detect that?

    in reply to: PixMap->Image bug #1761

    Jesse
    Participant

    I don’t think it’s a good idea to create a pixmap and an image from the pixmap every frame specially of that size. Creating the pixmap, clearing it, and converting it to an image are very intense operations.

    in reply to: PixMap->Image bug #1758

    Jesse
    Participant

    How do you paste code?

    Click on the “<>” above the posting box. Just enter the code don’t click on anything  and press Add.

    in reply to: do "Node" work the same in monkey2 as in monkey1? #1731

    Jesse
    Participant

    I alternatively figured it out with a minor change:

    this works as expected.

    in reply to: do "Node" work the same in monkey2 as in monkey1? #1730

    Jesse
    Participant

    OK Thanks Peter. I don’t get the need of Pred and Succ anymore. I guess I have a lot of re coding to do now.

    Personally I don’t think that’s a better way. i hate the fact that it goes trough a lot of processes in the background. I think the direct approach was better.

    in reply to: NextNode and PrevNode? #1490

    Jesse
    Participant

    never mind it’s now Pred Succ

Viewing 15 posts - 271 through 285 (of 297 total)