Forum Replies Created
-
AuthorPosts
-
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.
Nice one
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.
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…
Yeah this was some sort of miscalculation.
Is it possible to have multiple futures stacked? Such as a thread pool?
@ethernaut, Now I downloaded the demo! AMAZING!
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.
It was awesome.
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).
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.
Well done, nice game it reminds me of these classic coin op games.
> 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.
You refer to this one right?
http://php.net/manual/en/function.array-push.phpFrom 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:
Monkey12Function IndexerOnly<T2>:T1(t1:T1)Function IndexerWithEquals<T1, T2>(t1:T1, t2:T2)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.
Monkey123456789101112131415161718192021222324252627282930313233343536#Import "<std>"Using std..Struct SupaStringField TheString:StringOperator[]=(key:Bool, value:String)' normally you would overload the "key" parameter with key:Bool=False' but in this case it's a restriction of the [] operator' that really needs a value inside the [] operatorIf keyTheString += valueElseTheString = valueEndEndOperator[]:String(key:String=False)Return TheStringEndEndFunction Main()Local supa := New SupaStringsupa[False] = "Hello World"supa[False] = "Super Duper" ' false key will replacesupa[True] = " String" ' true key will appendsupa[True] = " Is The Best"Print(supa[False])EndAlso 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.monkey2Oh, 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.
Good idea for when making modules.
-
AuthorPosts