Converting/Translating and learning from python game sources to DM
__________________________________________________
While learning python I've notice how similiar it was to DM
Learning from any langauge will help you with other languages. For example learning Spanish will
help you with learning other languages.
Python
-The language is extremely similiar to DM
-The following are some difference between Python and DM
What I've notice from within the guess game
*Uses # and // to comment
* doesn't require var or var/ to be typed
*Output print() instead of <<
*While and if doesn't use parenthesis but requires : at the end of the line
*Can define var in while
*int() can change txt2integer, float can change txt2round down or parse
As someone once said programming is not telling a computer what to do, but knowing how to tell it what to do.
You can download the guide and sources here http://adf.ly/KkSfb .
Guessing game .rsc http://adf.ly/KkSZU
ID:1196182
Mar 12 2013, 5:20 pm (Edited on Mar 12 2013, 7:07 pm)
|
|
Mar 13 2013, 11:27 am
|
|
So.. moral of the story is?
|
I've been doing a lot of Python coding lately, and this has influenced my DM coding as well. Specifically, I've been getting all sorts of interesting compilation errors in DM due to improper syntax. :P
|