Danilo

Forum Replies Created

Viewing 15 posts - 46 through 60 (of 145 total)
  • Author
    Posts
  • in reply to: Structs and foreach loops #8896

    Danilo
    Participant

    Ethernaut’s code changed to use a list of Vec2f:

    Assign new value:

    in reply to: Welcome to the new monkey2 site! #8760

    Danilo
    Participant

    Got a new request for custom work yesterday. A woman has an idea
    to start a new company and she is looking for someone to bring
    her idea into reality. She is looking for a coder/programmer/software-developer.
    At start of a new business, developing a software using a full-time
    company ($70+/hour) may be too expensive, so she is looking for a cheaper solution.

    She had a program for desktop in mind.

    Thanks to MonkeyX2, I can at least cover Windows+Linux+Mac+Android+iOS,
    and maybe Web (MX2 using EMScripten is not the best solution for Web, IMO).
    So, thanks to MX2, I can bring-in new ideas to make the application
    portable for use on phones and tablets as well — the modern world.

    MX2 may open completely new doors, possibilities, ideas…

    Thanks for that, Mark! 🙂

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

    Danilo
    Participant

    ‘Override’ replaces a ‘Virtual’ method by a new method.

    Class X has a virtual method doSomething().
    Class Y inherits/extends class X.
    Class Y would like to change the method doSomething(),
    so it overrides it. When calling Y.doSomething(),
    the overriden/replaced method is executed.

    Without the keyword ‘Override’ you could replace a
    method by accident, just by using the same method
    fingerprint (method name + parameters).
    To avoid such accidents, you have to explicitely
    use ‘Override’ to make sure it is really what you want
    to do.

    Search for “OOP override”: https://en.wikipedia.org/wiki/Method_overriding

    in reply to: Ted2Go IDE #8473

    Danilo
    Participant

    @nerobot:
    Is it possible to configure shortcut keys? I would like to have
    “Compile+Run” as F5 key, and the new “Compile+Debug” as F6 for example.
    Pressing 2 keys (CMD+R / CMD+D) to trigger this most-used actions is annoying. 😉

    in reply to: "+=" inconsistency. #8454

    Danilo
    Participant

    > But strange still.

    Of course still a bug that needs to be looked at by Mark.
    Works with ‘0.1’, but with ‘.1’ there is a problem somewhere
    in the semantic process, automatic type conversion, or
    code generation.

    in reply to: "+=" inconsistency. #8450

    Danilo
    Participant

    It has nothing to do with ‘+=’, it is that ‘.1’ is not correctly converted to integer.
    The result is a random (uninitialized) number:

    For the loop it displays the same number 5 times, because it is only generated once.
    For the Print statements, each of the 5 assignments result in different uninitialzed/random numbers.

    Output:

    The generated C++ code has the wrong numbers directly implemented (hard coded):

    in reply to: Ted blurried on my machine #8437

    Danilo
    Participant

    Two things come to my mind:
    1. Windows DPI scaling. Do you have a HighDPI display (200% or so)?
    2. Graphics card driver settings. Check GPU driver settings. (NVidia/AMD control center?)

    in reply to: Texture filters #8409

    Danilo
    Participant

    image.Texture.TextureFilter = true/false
    image.Texture.WrapST = true/false

    +1 for AdamStrange

    in reply to: Monkey 2 IRC room #8291

    Danilo
    Participant

    For Linux, Mac, Windows: http://www.kvirc.net/ (free, open-source)

    in reply to: ToDo list, future plans #8231

    Danilo
    Participant

    Okay, thanks Mark!

    in reply to: Monkey2 3rd party IDE #7845

    Danilo
    Participant

    Mollusk ( http://grudlux.com/mollusk/ ) supports MX1 + MX2
    and is actively developed.

    in reply to: odd sound (wav) issue #7452

    Danilo
    Participant

    Mark wants to see every bug report on GitHub. Opening an issue
    on github increases the chance for a fix, as far as I understand it.

    in reply to: Can't get stb-image to work (bug?) #7433

    Danilo
    Participant

    😀

    in reply to: Can't get stb-image to work (bug?) #7431

    Danilo
    Participant

    @javicervera:
    Please don’t use “mx23d”…

    “MX2-3D” / “M2-3D”/ “MX-3D” / “MonkeyX2 3D” / “Monkey 2 3D” / “MonkeyX 3D”
    would be Okay.
    “mx23d” looks weird… and it would be better to
    have a name like “MX2-3D” / “MonkeyX2 3D” / “Monkey2 3D”.

    in reply to: Function variable pointer #7356

    Danilo
    Participant

    > Something like ‘Out’ or Var’ params will likely happen at some point, not sure when.

    +1 for ‘Out’ params.

Viewing 15 posts - 46 through 60 (of 145 total)