I thought I would write some tips/suggestions for those who are new to BYOND and wish to give coding a shot.
1. It may be helpful to you if you keep a personal log for your coding project. This could include information such as: changes you've made and things to-do(such as new things to implement or bugs to fix). You may also want to include the date for each entry, day, month and year will probably be enough for you. This helps so that if you quit coding for a long time, and come back it won't be so hard to understand your coding.
2. You may want to use "//" to add comments after lines of code to help you remember what each one does or is designed to do. This can also be used to suppress code if placed before it so that the compiler ignores it. /* and */ can also be used to comment out long stretches of code. /* is used to start it, and */ is used to tell the compiler where it ends.
3. If you have access to source code from games that have already been done, you could read from these to get ideas of how to code something similar for yourself. This can be helpful for people to learn about various uses of built-in procs and/or learn new ways to do things. Dream Maker has a built-in help that can be searched if you do not understand parts of code. I do not recommend using the code exactly as it is unless you are the author. It is best if you write it up from scratch.
That is all I can think of for now...
ID:168446
Oct 16 2005, 4:02 pm
|
|
Oct 16 2005, 4:04 pm
|
|
This belongs in community.
|
Ryuo wrote:
3. If you have access to source code from games that have already been done, you could read from these to get ideas of how to code something similar for yourself. This can be helpful for people to learn about various uses of built-in procs and/or learn new ways to do things. Dream Maker has a built-in help that can be searched if you do not understand parts of code. I do not recommend using the code exactly as it is unless you are the author. It is best if you write it up from scratch. For the most part on this one--no, no no no. The games most readily available are Zeta rips, or Zeta itself, where the only thing a prospective programmer should be expected to learn is how not to program. Lummox JR |