abakobo

Forum Replies Created

Viewing 15 posts - 286 through 300 (of 455 total)
  • Author
    Posts
  • in reply to: Can you specify an Enum's size/type? #8834

    abakobo
    Participant

    I think for now enums are just 32 bits Uints in monkey2. I’ve had the opposite problem, I wanted more than 32 bits..

    in reply to: Integrated docs gitHub community organisation #8817

    abakobo
    Participant

    Bullet physics has been added to modules! (can’t wait to see mojo 3d)
    For this occasion I udated the module section on http://turdus.be/monkey2docs/docs/

    in reply to: running third party exe #8816

    abakobo
    Participant

    It can be done with the std:std.process.Process class

    in reply to: Integrated docs gitHub community organisation #8794

    abakobo
    Participant
    in reply to: Integrated docs gitHub community organisation #8772

    abakobo
    Participant

    extension added to user defined types section
    encaplsulation (private,protected,public) added in misc section

    please review if you have some time

    in reply to: Integrated docs gitHub community organisation #8748

    abakobo
    Participant

    There has been some docs additions from BRL recently.

    The http://turdus.be/monkey2docs/docs has been updated with it (with some MarkDown corrections)

    in reply to: Keycodes #8731

    abakobo
    Participant

    Like impixi, it’s welcome but can be part of 3rd party framework too. You probably have more interresting things to achieve.
    But it would be nice if the KeyboardDevice (and others InputDevices) had a ‘Last(pressed)Button’ method in order to make controls setupscreen without the need of the OnKeyEvent method override (or other On(INPUT)Event)

    I made a little controls setup demo (without the use of ints, only Key) to show it. In the case I missed something.

    in reply to: Keycodes #8661

    abakobo
    Participant

    using the int allowed me to do what I wanted in the OnMouseEvent

    I don’t undestand why you want to mix mouse events and key events… or you meant OnKeyEvent?
    You want the player to be able to chose between mouse or key controls?

    in reply to: Keycodes #8657

    abakobo
    Participant

    I don’t really get what you’re trying to do here but I know you don’t have to be warned that hidden functionalities are subject to change..

    in reply to: Keycodes #8620

    abakobo
    Participant

    Keys are Enums of type Key.

    They are defined in mojo/input/keycodes.monkey2

    you just have to

    [/crayon]

    and then you can (or just do as Jesse wrote)

    [/crayon]

    you may also

    [/crayon]

    But you’ll lose it’s Enums properties (mainly the ability to |Key.Raw in this case, wich sould ALWAYS be used for WASD type controls IMO). And you wont be able to reconvert it to the ‘Key’ type easily.

    If it’s of the ‘Key’ type you’ll be able to
    `keyPressed=keyPressed.Y’
    wich can be usefull if you call your keyPressed just k for example.

    in reply to: What is "Override"? #8576

    abakobo
    Participant

    I started to work on the docs to add some missing think. There’s a keyword index where you would have had a brief answer to the question. It is in total WIP but contains all the official infos + some I added.

    http://turdus.be/monkey2docs/docs/

    note that you can call the super method in you override with the Super keyword so you don’t have to rewrite all the super methods code.

    [/crayon]

    there’s also the Pakz exmples that are great to start with https://github.com/Pakz001/Monkey2examples

    in reply to: TextField bug/weirdness #8510

    abakobo
    Participant

    There was a time numpad enter was doing nothing at all in ted2… Mark had corrected it as soon as I posted the issue. It must be a legacy of that numpad enter management.

    in reply to: Cant upgrade modules #8509

    abakobo
    Participant

    looks like you had a prblem connecting with the monkey server. May be it was in maintennance and is OK now? I just tried and I could download all the available modules.

    in reply to: Monkey 2 examples github #8451

    abakobo
    Participant

    @pakz : would you be ok if you examples are taken as a base for docs samples?

    in reply to: Documentation example submissions idea #8425

    abakobo
    Participant

    If you want admin rights on the fork just ask (and give your github id)..

Viewing 15 posts - 286 through 300 (of 455 total)