Forum Replies Created
-
AuthorPosts
-
as I mentioned above, I tried to create a small program to illustrate the problem but I wasn’t able to reproduce it. I think it has to do with the order of the #Import of files and how they are processed by the compiler. just a wild guess.
Anyway, I am not sure if what I am running is the developer ver. or the Master ver. I think it’s the Developer ver. I’ll try again. If I can duplicate it with small code, I will post it. Thanks Mark.
no this is one of my old monkey1 classes, I was just converting the code to monkey2. it’s a regular Class none have a structure involved.
Nice game Adam. the graphics and presentation is great. I didn’t quite like the controls/physics of the player but I guess it’s just a personal thing.
I had a problem with crashing on my Mack because flash drive was some how incompatible with my operating system or faulty. It probably was just faulty. I would start typing and all of a sudden the IDE would just crash. I replaced the Flash Drive where I was storing the programs and it stopped doing it.
The only real issue is that asteroids/rocks flying around seem to have a fringe/border.
I didn’t notice that until now that you mentioned it. I had to make my screen brighter to see it.
well, let’s just call it a feature. Hahahaha!
Thanks @impixi, It kind of makes sense. I have some applications that use that set up. I am just wondering where would data for a maze would go? I am guessing in the game asset folder but I wouldn’t know?
@Mark
hope you don’t think I was hassling,
No not at all. Other times I have but not this time.
No idea of how it should have been done. I tried what I thought was intuitive but none of my attempts worked. That’s why I made that statement. I just thought that a default dir for all assets/data would be a good idea just like in Monkey1 and it somebody wants to store their data in a different folder than you would go through more complicated steps. I don’t know if it’s a great or bad idea. it’s just that I got used to the way Monkey1 works. Thanks either way for taking the time Mark.
That did it! Thanks.
Personally, I think games should just default to the assets dir but what do I know.1. Ted2 on OSX sierra, If I press command F twice or press command F after it’s already active the Ide crashes. this happens at random.
2. I have been getting this weird text in the IDE’s source window. I renamed several files from monkey1 to monkey2
and when I load them into the IDE I get what’s in this picture below instead of the breakdown of classes, methods and functions. This happens on Ted2 and Ted2Go.3. this Happens on Ted2go, when the IDE loads more files the the Handle can handle, the idea crashes.
I renamed a file from monkey1 to monkey2 and when I try to run it and detects errors. it starts to load a bunch of program files and module files. I guess thats when it reaches a certain amount of files it becomes too much for the IDE to handle and crashes.Attachments:
I thing you are getting a little drastic. It’s a little hard to learn from examples but I also know that some of us have learned that way. The language is not rocket science. Most of the instructions are basics that any body with a little effort can figure out how to use. I say this because I am an example of this. I learned blitzMax and OOP by looking at examples. I am not a great programmer but I can defend myself. Simple examples will get you started but complex examples will move you forward. Besides, there is the community here to help if you have problems. I think most commands are pretty self explanatory on what they do. there are more complex ones that require more knowledge than what’s presented but post the problem and somebody here will help you. when I have problems understanding something, I post it and someone here has answered, even Mark have taken the time to clear it up. I understand it’s a little frustrating with the documentation available at the moment, but even with documentation if you don’t know what to look for or what to expect, it won’t be much help.
Give yourself some time, looks at the documentation and commands. look at examples on how others are using them, then you will begin to understand. I do hope you have an idea on how to do or work with OO code otherwise it will be exponentially harder to learn. Keep in mind this is not something that is learned in a day or two, this will take you months or longer to actually get good at it. It will mostly depend on the effort.
you can up to the latest release from here:
https://github.com/blitz-research/monkey2/releasesThank you. I want to continue improving it and try to add other baddies, more levels even add a boss level but will see.
Right now I am working on another game a spin of Moon Patrol. When I am done, “maybe” I’ll give this an update.Ok, Thanks. I’ll post the issue over at Github. Maybe Mark can resolve it.
Meantime I’ll update the code to work with the value instead.
I have a suspicion that Pi is not initialized in some systems windows maybe
can somebody on windows try this with the latest build V1.1.03:[/crayon]Monkey12345678910111213[crayon-5cbaa0c51482e092084171 inline="true" ]Namespace myapp#Import "<std>"Using std..Const pii := PiFunction Main()Print piiEndif I am right some of them should give the result of 0.0
if it does
can you replace this code on line 33 of the source code:
[/crayon]Monkey123[crayon-5cbaa0c514834579770858 inline="true" ]Const ATR := Pi/180.0to thi:
[/crayon]Monkey123[crayon-5cbaa0c514839528290861 inline="true" ]Const ATR := 3.14159265/180.0i believe it has to do with line 1918 in the source code:
[/crayon]Monkey1234[crayon-5cbaa0c51483e373167437 inline="true" ]angle += 1*ATR 'speed -
AuthorPosts
