Forum Replies Created
-
AuthorPosts
-
I get inconsistent results every time I run it:
this:
-1718160848
-1718160848
then this:
-1842821072
-1842821072
then this:
-1145541584
-1145541584etc..
The reason I run into this problem was because I was trying to get some integer values from a Rnd operation. and I couldn’t figure out why I was getting this strange values. I was getting this by adding the random float value to an integer.
it’s been mentioned twice in the GitHub repository. Pi is not 0 you just can’t assign it to something else while not in a class or function. I believe Mark mentioned that he has fixed it on the latest updated on the development section of Github. He had to fix it to add my billiard game to the repository. I don’t know for sure sure though. I haven’t tried it.
Well mark did say this:
http://monkey2.monkey-x.com/forums/topic/my-monkey-2-project-by-gstsoftware/#post-8248
Maybe this will be the project that’s a culmination of his life work.
I also don’t think he will work on another compiler project.Pretty good Adam.
I wish I had gotten in to 3D in my early days of programming. I don’t know if I have the patience to start on that road now.Is the operator ‘.?’ already implemented?
You mean this:
[/crayon]Monkey1234[crayon-5cbaa03ebe025403376332 inline="true" ]Local a:Int = 45<60 ? 45 Else 90Print aIt doesn’t run on Safari. I get an exception error right from the start. I compiled it in Emscripten but I get an exception error as well but only after I start playing. I believe it’s because, since it uses recursion, it overflows the stack. Desktop doesn’t have that small of a stack thats why it runs fine. On Chrome it works fine.
[edit]
forgot, Safari doesn’t play ogg files.looking good!
Awesome Mark. Thanks.
Ok, found the 2 line fix above and it seems to have helped!
Did it helped or did it fixed it?
That was the same issue with the previous game I posted. the difference is that those two line were already included in the source.
at the beginning of the game you can move the ball to where you want to break from. then press the shoot button so it can let you select the angle and shooting power. You need to press the button and pull back away from the ball in the direction of the stick then release the mouse button so it can shoot.
I thing you need to add those two lines that I mentioned in the first post.
You are welcome degac. Glad you like it.
Recently there have been problems specifically with windows. Sad part is, I don’t have a Windows machine so I really can’t figure out what is going on.
Thats weird. are you using the latest monkey2 from the repository’s development section?
Is anybody else getting that error?
Thanks therevills,
That is a collection of some of my life skills. I have been doing 3D in 2D since old-school days.
one of my first books on computer programming was a tutorial on how to do 3d animation before hardware 3d acceleration was available. It thought me how to do a 3d CAD program from scratch and that’s where I learned how to do 3d on 2d. I did several demos for the old DarkBitFactory website several years back using a 3d rotating ball. Although, the application of the 3d rolling ball was from a tutorial by Sol that codes with SDL in C. The vector math is something I recently learned from a couple of flash tutorials, some which are no longer available. The ball collision and response is something I combined from several different tutorials available in the web.I have tried to keep everything in object format so the objects can easily be ripped from the game and used in other projects. hope It’s useful to others.
-
AuthorPosts