Game Maker's Garage Forum

Game Creation => Code Exchange => Topic started by: GMG Tim on May 09, 2009, 05:19:17 PM

Title: Code Exchange Guidelines
Post by: GMG Tim on May 09, 2009, 05:19:17 PM
Welcome to the GMG Code Exchange!

Please feel free to post any code you feel will be helpful for other users. To keep the boards organized, please be sure to follow the following posting guidelines:
Ghost
Title: Re: Code Exchange Guidelines
Post by: Gan on May 09, 2009, 05:31:12 PM
Yes! - Aw crud. -->
Quote
Please don't post code for a language that is Windows-only. This is a mac homebrew game community.


-Gandolf
Title: Re: Code Exchange Guidelines
Post by: GMG Hendo on May 09, 2009, 07:49:56 PM
Yay! Glad to see this up and running. I'll post a few code snippets when I get home!!
Title: Re: Code Exchange Guidelines
Post by: bellybot1 on May 10, 2009, 11:01:47 PM
Finally. Thanks for getting this up and running. Might put a few of my sc codes here soon.
Title: Re: Code Exchange Guidelines
Post by: GMG Hendo on May 11, 2009, 06:49:02 AM
Hm no offense to WarHampster and Gandolf but, the code exchange here should be for slightly more complex or useful pieces of code. Creating strings and ints are just basics. Try posting something unique that could help new developers do slightly harder tasks.  
Title: Re: Code Exchange Guidelines
Post by: Silverwind on May 11, 2009, 08:06:57 AM
Actually, I've been trying to learn Java for awhile and I still haven't even figured out what I need to download to run it, so simple stuff like creating vars are incredibly helpful to me. :)

I'm gonna submit a super simplified V6 template though.
Title: Re: Code Exchange Guidelines
Post by: WarHampster on May 11, 2009, 11:54:45 AM
Quote
Hm no offense to WarHampster and Gandolf but, the code exchange here should be for slightly more complex or useful pieces of code. Creating strings and ints are just basics. Try posting something unique that could help new developers do slightly harder tasks.  

How about all the simple Java stuff gets moved into one thread?
Title: Re: Code Exchange Guidelines
Post by: Gan on May 11, 2009, 02:36:47 PM
That works. Compile all simple stuff into just one thread. Do you want to do this, or I?


-Gandolf
Title: Re: Code Exchange Guidelines
Post by: GMG Tim on May 11, 2009, 03:10:29 PM
Quote
Hm no offense to WarHampster and Gandolf but, the code exchange here should be for slightly more complex or useful pieces of code. Creating strings and ints are just basics. Try posting something unique that could help new developers do slightly harder tasks.  
I have to agree with Hendo. This forum is supposed to extend beyond basics, and give meaningful code samples that can be integrated into games.

Printing "Hello World" in assembly is not useful, and initializing variables and printing stuff in Java should be something learned prior to actually using Java.

Ghost
Title: Re: Code Exchange Guidelines
Post by: WarHampster on May 11, 2009, 04:40:10 PM
Can Gandolf and I still make a single topic for simple and random code?
Title: Re: Code Exchange Guidelines
Post by: GMG Tim on May 11, 2009, 06:41:26 PM
Quote
Can Gandolf and I still make a single topic for simple and random code?

Yes, you may make a random thread. Format the title like this:

[Various] Code Snippets