{"author_link":"\/users\/wh05herlock","author_name":"wh05herlock","author_uid":"1002280","comments":[{"author_name":"coryru","author_uid":"1226747","time":"2020-10-06T04:17:11Z","epoch":1601957831,"modified":1601957831,"text":"Really cool idea! But OOOOO BOY! I was not very good at it. I like the complexity of it.","likes":1,"format":"md"}],"format":"md","images":["ld47\/226042-224b72289c18631556b6115f9ed8f7b4.png"],"links":[{"url":"https:\/\/github.com\/Fermats-Fish\/Ludum-Dare-47","text":"Youtube"},{"url":"https:\/\/fermatsfish.itch.io\/ld47","text":"Youtube"}],"metadata":{"g_key":"64548","g_author":"1002280","g_event":"LD47","g_eventkey":"76","g_subevent":"JAM","g_urlkey":"281020","g_title":"Run Time Error - Infinite Loop Detected","g_status":"PVT1","g_place":"99999","g_commentcount":"1","g_site2_node_id":"226042","g_hide":"N","g_has_icon":"Y","g_rqueue":"0","g_random":"0"},"nds":{"n_key":"226042","n_urlkey":"281020","n_parent":"212256","n_path":"\/events\/ludum-dare\/47\/run-time-error-infinite-loop-detected","n_slug":"run-time-error-infinite-loop-d","n_type":"item","n_subtype":"game","n_subsubtype":"jam","n_author":"2280","n_created":"1601874610","n_modified":"1601930489","n_version":"680543","n_status":"COMMIT"},"node":{"id":226042,"parent":212256,"superparent":9,"author":2280,"type":"item","subtype":"game","subsubtype":"jam","published":"2020-10-05T20:41:29Z","created":"2020-10-05T05:10:10Z","modified":"2020-10-05T20:41:29Z","version":680543,"slug":"run-time-error-infinite-loop-detected","name":"Run Time Error - Infinite Loop Detected","body":"![Image.png](\/\/\/raw\/8e8\/z\/3648e.png)\n\nTo earn points and money write a program for your robot that gets it to navigate its way to a resource, pick it up, and return to base.\n\nSimple, right?\n\nSee the scripting documentation in game for help with scripting.\n\nImportant to note: The custom programming language uses prefix notation for all functions. This means to write if (var0 < 2) requires the following code: If LessThan GetVar 0 2.\n\nThis order is required because the code gets compiled down to the following: If( LessThan( GetVar(0), 2) )\n\nAnother important note: If statements might not work the way you would expect. The language I created for the robots to follow is quite simple, and so all that an if statement does is skip the next line of code if the condition is not met. Else statements are similar in that the skip the next line if the last if statement had its condition met.\n\nWhilst you can hard code a route for the robot to take, this is not recommended since it isn't very fun and kind of defeats the purpose of the game. Also this certainly won't work late in the game when you have to program the robot to dodge a large number of enemies.","meta":{"author":[2280,189866,227157],"link-01-tag":[42332],"grade-06-out":"1","grade-08-out":"1","grade-07-out":"1","allow-anonymous-comments":"1","cover":"\/\/\/content\/8e8\/z\/36484.png","link-01":"https:\/\/github.com\/Fermats-Fish\/Ludum-Dare-47","link-02":"https:\/\/fermatsfish.itch.io\/ld47","link-02-tag":[42336]},"path":"\/events\/ludum-dare\/47\/run-time-error-infinite-loop-detected","parents":[1,5,9,212256],"love":0,"notes":1,"notes-timestamp":"2020-10-06T04:17:11Z","grade":{"grade-01":3,"grade-02":3,"grade-03":3,"grade-04":3,"grade-05":3},"magic":{"cool":0,"feedback":0,"given":0,"grade":3,"grade-01-average":3,"grade-02-average":1,"grade-03-average":4.5,"grade-04-average":3.5,"grade-05-average":2,"smart":-42.264973081037}},"text":"![Image.png](\/\/\/raw\/8e8\/z\/3648e.png)\n\nTo earn points and money write a program for your robot that gets it to navigate its way to a resource, pick it up, and return to base.\n\nSimple, right?\n\nSee the scripting documentation in game for help with scripting.\n\nImportant to note: The custom programming language uses prefix notation for all functions. This means to write if (var0 < 2) requires the following code: If LessThan GetVar 0 2.\n\nThis order is required because the code gets compiled down to the following: If( LessThan( GetVar(0), 2) )\n\nAnother important note: If statements might not work the way you would expect. The language I created for the robots to follow is quite simple, and so all that an if statement does is skip the next line of code if the condition is not met. Else statements are similar in that the skip the next line if the last if statement had its condition met.\n\nWhilst you can hard code a route for the robot to take, this is not recommended since it isn't very fun and kind of defeats the purpose of the game. Also this certainly won't work late in the game when you have to program the robot to dodge a large number of enemies.","title":"Run Time Error - Infinite Loop Detected"}