cocon

Forum Replies Created

Viewing 15 posts - 151 through 165 (of 342 total)
  • Author
    Posts
  • in reply to: Visual Studio Code plan #10435

    cocon
    Participant

    OK, thanks.

    in reply to: My 3D Modelling skills have improved immensely!! #10434

    cocon
    Participant

    LOL! Why not combine the two of them and create space cyborg dinosaurs, this reminds me of some 80s cartoons btw. 🙂

    Which program do you use? I have been using Blender for many years.

    in reply to: Visual Studio Code plan #10417

    cocon
    Participant

    Nice job! I will try it. How to install it though?

    I extracted the folder and placed it here: C:\Users\cocon\.vscode\extensions

    Then I set the m2.path value in the settings.json.

    When I open a file I see no syntax highlight, then when I try to debug a file I can see the Monkey2 build system, but when I select it I get this message: command ‘m2.debug.startSession’ not found

    in reply to: Sprites in Mojo3D #9964

    cocon
    Participant

    Are 3D sprites same as a 3D object?

    However you will have to apply a rotation to look at the camera all the time.

    in reply to: Minecraft in a week #9841

    cocon
    Participant

    Nice find! I will definitely try it.

    in reply to: Reflecting on reflection. Game maps and plugins. #9823

    cocon
    Participant

    For example if I have this simple example, can I use reflection to bypass the Select statement?

     

    Note that this is the most simple example you can get, writing a full interpreter will need more work.

    in reply to: Reflecting on reflection. Game maps and plugins. #9797

    cocon
    Participant

     

    If Monkey treated datatypes as objects you would do this:

    But now you might try this:

     

    However if is possible to automate anything Reflection I would be interested to learn how is done. 🙂

    in reply to: [Tips] Reusable Library Directories #9764

    cocon
    Participant

    From what I see, I can open a file from command prompt nicely, but the monkey2 compiler can’t figure out the location of the file. I wonder if it’s related to the reason that monkey can’t load full-paths as well. 🙂

    in reply to: prompt invasion 2 is ace #9763

    cocon
    Participant

    Yeah, it rocks!

    in reply to: Reflecting on reflection. Game maps and plugins. #9762

    cocon
    Participant

    I have faced a practical use case with reflection in C#, to have the runtime system read the static type system and make some creative uses out of it, for example one real benefit is to avoid silly boilerplate code and gain some dynamism in this side.

    For example if you have this:

    You can iterate the class names (that implement the interface) and store them to a string list, and present them to the user, once you enter the name of the class you want, you can search the class by name and initialize it right away. This technique is used in some programming frameworks where having to manually maintain the descriptions of 100 examples is not a wise choice. 🙂

    in reply to: [Tips] Reusable Library Directories #9570

    cocon
    Participant

    Where?

    in reply to: Pixel Monkey #9536

    cocon
    Participant

    This is amazing! I want to learn about this old school pixel art style, are there any good tutorials?

    in reply to: mojo3d – unit of rotation?! #9450

    cocon
    Participant

    Yeah from what I have experienced if you go for radians you will have to reference the PI a lot, which is not an exactly user friendly way.

    For example
    0
    Pi = 180
    Pi * 2 = 360

    Another way is to have extension methods and have the alternative option of feeding either degrees or radians.
    camera.RotateRadians(Pi, 0, 0)

    in reply to: mojo3d – proper camera class? #9427

    cocon
    Participant

    I had created a camera class once in OpenTK, if you are interested I can offer the source.

    However all of my interest would be to create a “Transform” class first and let the camera have a transform property instead.

    in reply to: Monkey 2/Alien Phoenix does triple monitor setup. #9272

    cocon
    Participant

    Perhaps I would go for ultrawide monitor soon, I hope that it would work as well with Monkey2.

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