cocon

Forum Replies Created

Viewing 15 posts - 61 through 75 (of 342 total)
  • Author
    Posts
  • in reply to: 2 days and no joy. #13747

    cocon
    Participant

    One good practice for the commits is for them to be kept focused. Another one is to do prototyping and then store it (diff/stash/branch). At a later time you would create a better order of commits, where the point is to plan one step ahead of the actual source code. 🙂

    in reply to: TestPace X – Under development #13740

    cocon
    Participant

    Nice one 🙂

    in reply to: 2 days and no joy. #13739

    cocon
    Participant

    I don’t know if there’s other way other other than debugging all the way. For example if a user would have said: “when I collide with this red ball the game crashes” it would force you going to that collision point in code and find what happens afterwards.

    Perhaps Monkey could introduce such a debug-until-crash feature, which is simply a shortcut. Instead of pressing the [Play] button on and on and on again until you reach the part of the problem. You simply do this sort of Play-Until-Crash and by the time of crash you would see the last statement you were in.

    in reply to: Monkey as a Systems Language #13717

    cocon
    Participant

    What can’t really happen, is to remove C completely and place Monkey there. By removing C you immediately remove and the operating system as well, because all of the operating system is based in C code.

    However you could have Monkey as a system programming language, starting from a project that turns Monkey code to Microcode in order to be sent to EEPROMS. And then going on and on… 🙂

    in reply to: Select Case End #13685

    cocon
    Participant

    Yeah this was some sort of miscalculation.

    in reply to: Asynchronous asset loading #13655

    cocon
    Participant

    Is it possible to have multiple futures stacked? Such as a thread pool?

     

    @ethernaut, Now I downloaded the demo! AMAZING!

    in reply to: Powered by Monkey 2 logo. #13654

    cocon
    Participant

    Is the “contest” for offers still on? By no any means I try to undervalue the work already done, is good and it does the work, is only about exploring more and more stuff (within the boundaries of fan-art perhaps).

    Just before the grand re design, I had a few other ideas to test but unfortunately I did not manage to get some time, it would be interesting  however to post here any further images.

    in reply to: SpaceX's Falcon Heavy's first flight = AWESOME! #13562

    cocon
    Participant

    It was awesome.

    in reply to: Sound and Neurons #13495

    cocon
    Participant

    This is because if you are using mostly the part of the brain that contains words than the other part that contains images. When you are able to sit down quiet, then the brain automatically can start it’s idle process and bring more information about what was previously accessed, which was words.

    So in order to think of images you can actually start thinking of images, such as reading story books (see thousands of free public domain books from the gutenberg website), later it would be audio books. Perhaps start a collection of images as well, such as shaders, game screenshots, 3D models, etc…

    I remember that two years ago all I saw was a black canvas and nothing more, I was very frustrated at some point where I looked into the subject and read a book “pragmatic learning and thinking” which explained these concepts in detail. Now I can think of images normally again (now for no reason I thought the first level of Ace Combat 3 in PS1 … perhaps it’s about time to play again this one).

    in reply to: Is your Ted2Go crashing in Window 7 when debugging? #13442

    cocon
    Participant

    Yeah I noticed that on my old laptop, however I downloaded the 08 version from itch.io and works fine, the latest 09 won’t work at all.

    in reply to: Syntax Bomb #13366

    cocon
    Participant

    Well done, nice game it reminds me of these classic coin op games.

    in reply to: m2libui – Libui wrapper (Cross-Platform Native UI) #13365

    cocon
    Participant

    > I can’t really figure out how to add it to M2

    Perhaps windows has some sort of distinction between MinGW and MSVC? As a last resort you could consider these information if they are of any use. I will have a look as well just in case I figure out something.
    http://geekthis.net/post/visual-styles-in-win32-api-c-gcc-mingw/
    https://www.transmissionzero.co.uk/computing/win32-apps-with-mingw/
    (search term: mingw windows.h visual styles)

     

    Perhaps only a small piece of C function (like WindowsEnableVisualStyles) would be created in C and then it be called only once in Monkey. That way the tremendous effort to do the work inside Monkey, where figuring out the datatype conversions would take more time.

    in reply to: Operator overloading (hello, php) #13364

    cocon
    Participant

    You refer to this one right?
    http://php.net/manual/en/function.array-push.php

    From what I have tested up until now, in Monkey the operator [] as a language construct is specified to work as an indexer (which is similar to a C# concept). http://monkeycoder.co.nz/forums/topic/some-indexers-for-lists/

    You can think of the indexer function signatures (if you assume that there is no operators at all) similar to this:

    Where in this example you can see how this concept would possible work, but be aware that this is only an example for the Joy-Of-API-Hacking and satisfy the compiler.

     

    Also for the record, @hezkore found a way of changing the fundamental datatypes, perhaps you would be interested to see how you can change the meaning of the [] operator with this one, I haven’t tried something like this yet to be sure but it seems interesting. 🙂
    https://github.com/Hezkore/m2stp/blob/master/inc/base_functions.monkey2

    in reply to: m2stp – Simple text processing module #13363

    cocon
    Participant

    Oh, I left the previous message very abstract… I meant about the capabilities of the C standard library, where basically you would create a beefed-up wrapper around printf. But anyway it seems that you are up to something completely different here, it reminds me of the beginnings of a DSL, right? 🙂

    P.S. Can you move threads? There are a few of mine I would like to move as well.

    in reply to: Any suggestion on how to deal with std::vector ? #13362

    cocon
    Participant

    Good idea for when making modules.

Viewing 15 posts - 61 through 75 (of 342 total)