Forum Replies Created
-
AuthorPosts
-
December 26, 2016 at 4:07 pm in reply to: Shortening file extension *.monkey2 to *.mx2 or other #6032
I really don’t understand why people complaint about this. it’s not like you are having to constantly write the name .monkey2 in exaggerated quantities. you use it to write the name of a file once and then add it to another file maybe once and even then the extension “monkey2” is optional, every other time it’s just point and click.
Spoke too soon. It displays fine when displaying to even coordinates but it fails when displaying to odd coordinates:
Attachments:
[/crayon]Monkey123[crayon-5cbaa03fb63f6854752813 inline="true" ]Mouse.PointerVisible = FalsePeter beat me to it.
Apparently on my Macbook SwapInterval for anything other than 0, it does the same thing. I get 60 FPS regardless of what I set it to: -1,1,2,15,30.
Edit: that’s on desktop.
That happens because of the rate at which the mouse is updating the values. the lag will change depending on the frame rate. The higher the frame rate the smaller the lag. I believe it has to do with not synchronizing to the operating system frame rate. That is common in most if not all computer languages as well. I had that problem in BMax, C and MonkeyX as well as Windows and Mac before. Best thing is to hide the mouse and just display the crosshair.
Edit
That lag is almost unavoidable as you can see in programs like Gimp and Paint. they both suffer from the same problem.Everybody wants to find an excuse for why the language has not caught on while we all think it’s a great language. But for more experienced programmers in the popular languages that have quite a bit of libraries to choose from and a large community to fall to in case of problems, this is just an experimental trial language in which they are not to keen on gambling their time. Unless we, who now make the community, start making quality games and putting them out for other communities to see and envy, this is going to keep being a small community which only those of us who have been here and have blind faith in the Blitz products will continue to be here.
The fact that this language is no longer the simple to get started “Blitz Basic” from the old days, makes it even harder for a beginner to start and while this is the case for most other languages as well, the attention will be directed to the already most popular computer languages available that have plenty of tutorials and excellent documentations as well as a large number of useful libraries. As long as this continue no matter what name the language gets, its going to be passed by skilled programmers that don’t want to spend time reinventing the wheel.
That brings me to the conclusion that if mark would have stuck to improving a single language and supported the community, the community would be very large and very fruitful by now and possibly we would not be having this discussion. ***wishful thinking***
You can Select the “Files” tab and select the latest prebuilt stable version see if that works for you. I have no problem running Ted2Go on my 5 year old Macbook.
November 26, 2016 at 3:05 pm in reply to: Workaround for container restrictions during iteration? #5444see if this thread helps you:
http://monkey2.monkey-x.com/forums/topic/concurrent-list-modification-error/It’s a bug. Monkey2 should have caught it.
There is also a sort with custom “Function” as a parameter for stacks.
>More docs are needed here.
Definitely!
I have a 2001 Macbook with El Capitan that has problem running some applications running OpenGL GLES20. The intel driver is not fully compatible. It does not run the Bananas Sdl2 Test but all the other bananas demos work.
Nice indeed. Some years Ago I was trying to learn OpenGL so I looked at a few tutorials and started learning it. But with out much luck. At the time I had a project I was working on and didn’t really concentrate on learning it. I did managed to convert a few tutorials from C++ to BlitzMax. When I saw your project, I remembered I had translated a C++ OpenGL cube to Blizmax. I pulled it out and tried to see If I could convert it to Monkey2 GLES but no luck. I don’t know enough about OpenGL to do it. Here is the source and my lousy attempt at converting it to monkey2:
source code with Blitzmax executable:
https://www.dropbox.com/s/x8w95ggaj7tv6bq/texturecube.zip?dl=0
source code Only:
Attachments:
I know how they work, but I wasn’t looking for speed. I just needed it to work. I know there are other ways I could have done it to make it even faster but it served it’s purpose so I am fine with it. Thanks for the advice anyway.
Oh, this is good! Thanks abakobo. that did it. I haven’t gone trough the code to see how you did it but it works so Thank you.
>You should have used Vec2f instead of redefine a vec2. Monkey is full of little gentle things like that..
I had several reasons for using my own Vector class. the #1 reason I had for using it was that I have some functionality on it that the default module does not have and I will be needing it in the long run. Another is that since I am using pointers to determine where the if statements take action and a null is needed and since the default vector is a structure it is really never Null, You don’t even have to create an instance of the structure for it to have a value or access its fields, so It was no use for this program.
-
AuthorPosts

