Pakz

Forum Replies Created

Viewing 15 posts - 151 through 165 (of 166 total)
  • Author
    Posts
  • in reply to: Loop through only part of list? #5274

    Pakz
    Participant

    I am looking on google and see that it probably is not possible with linked lists. I will start to look at stack and else I wil use a regular array.

    in reply to: few small ted2 bugs. #5239

    Pakz
    Participant

    I am getting the results in here:

    Seems that using num lock does not change the keycodes. So It might not work.

    code for

    end – 217 ; pgdown – 219 ; pgup – 225 ; home – 223

    when numlock  – (211) is used the results are the same. So it might conflict with keypad numbers 1/end 3/pagedown 7/home 9/pagedown

    in reply to: few small ted2 bugs. #5238

    Pakz
    Participant

    Sorry, it is to difficult. I have no idea how to compile a project.

    Edit: I am trying to reverse engineer something. Seems like event.Key compiler error says “expecting expression but encountered “”””

    in reply to: few small ted2 bugs. #5236

    Pakz
    Participant

    I am trying to figure out how to use event.key. I have not used it yet. Might take a while. Or maybe you could post something?

    in reply to: Ted2go – can only compile debug versions? #5235

    Pakz
    Participant

    Ah, found it 🙂

    thanks.

    in reply to: few small ted2 bugs. #5229

    Pakz
    Participant

    Also. On my laptop (acer) the keypad does not work. (ctrl home end ect.)

    On my other laptop (msi) with extra keyboard the keypad also does not work. The keyboard(keypad) of the laptop itself does also not work.

    Not to sure if this needs to be implemented yet.

    edit: I just found that on the top right of the laptops there are page down home and end keys. These do work. Never had to use them before. Would be nice if the keypad home end ect would be implemented.

    in reply to: How do you put Data in the code? #5152

    Pakz
    Participant

    I just did this. Seems to work to.

    I want to keep certain code projects in a single text file so I can put it online on blogs and github and such.

    in reply to: few small ted2 bugs. #4970

    Pakz
    Participant

    One bug I keep encountering is that on lower resolution(hd) screen the Ted window is bigger then the screen. I need to run/compile before it switches to right proportions. On full hd this is not a problem.

    in reply to: First impressions… #2232

    Pakz
    Participant

    I use this to exit the app. From my example git.

     


    Pakz
    Participant

    The code insertion seems not to work? No idea what is happening.


    Pakz
    Participant

    <pre class=”lang:monkey decode:true ” title=”Framerate”>#Import “<std>”
    #Import “<mojo>”

    Using std..
    Using mojo..

    Global instance:AppInstance

    Class MyWindow Extends Window

    Field timer:Timer

    Method New()
    timer = New Timer(10,OnUpdate)
    End Method

    Method OnUpdate()
    If Keyboard.KeyReleased(Key.Escape) Then instance.Terminate()
    App.RequestRender()
    End Method

    Method OnRender( canvas:Canvas ) Override
    canvas.DrawText(“FPS:”+App.FPS,0,0)
    End Method

    End Class

    Function Main()
    instance = New AppInstance

    New MyWindow

    App.Run()

    End Function
    This I used to change the framerate. Using a timer.

    in reply to: [Bug] Resizable/Fullscreen blank screen #1855

    Pakz
    Participant

    I found that if you change the layout=”letterbox” line to something else then it works. I have not delved deep into Monkey2 to know what the problem might be.

    edit:

    btw – when I tried the fullscreen mode the first time my computer became very slow after ending the program. This for around 10 seconds. The mouse moved really slow and the music in the background played very weird. Never seen anything like this before on this gaming laptop.

    in reply to: PixMap->Image bug #1767

    Pakz
    Participant

    It is just a test. Should locals not be freed automatically when the function is exited?

    i thought i did something similar with monkey 1 and that worked without slowing down.

    the texture flag gave a compile error as was in the first post here.

    in reply to: PixMap->Image bug #1760

    Pakz
    Participant

    Thanks. I put the code in the codebox.

    in reply to: PixMap->Image bug #1757

    Pakz
    Participant

    I modified the code a bit and it slows the computer down a lot. Maybe a memory leak?

    In release mode it slows to a crawl.

     

     

    How do you paste code?

Viewing 15 posts - 151 through 165 (of 166 total)