{"author_link":"\/author\/tmat-productions\/","author_name":"TMAT Productions","author_uid":"42241","comments":[{"author_name":"Yaroslav Kravtsov","author_uid":"44195","time":"Dec 8, 2014 @ 7:23pm","epoch":1418066280,"text":"You can use for your code sites like http:\/\/pastebin.com\/ and don't mess description. I can recommend to look at game &quot;Gods will be watching&quot;. This is a game borned on previous Ludum Dare and good example of managment game."},{"author_name":"wer2chosen","author_uid":"43767","time":"Dec 10, 2014 @ 1:07am","epoch":1418173320,"text":"Cute game, interesting dynamic. I didn't try the eskimoe, I assumed he would kill me. My daughter thought it was cute too."},{"author_name":"cmayhem","author_uid":"22508","time":"Dec 10, 2014 @ 11:02am","epoch":1418209020,"text":"Interesting take on the survival genre and with cure graphics. Good job!"},{"author_name":"Apple Padle","author_uid":"47747","time":"Dec 10, 2014 @ 12:17pm","epoch":1418213520,"text":"very rawrful!"},{"author_name":"Havi","author_uid":"46369","time":"Dec 10, 2014 @ 1:46pm","epoch":1418218860,"text":"Cute game! I liked it :)"},{"author_name":"TriSquare","author_uid":"45249","time":"Dec 10, 2014 @ 1:51pm","epoch":1418219160,"text":"I like the cute graphics and its an interesting take on the survival genera."},{"author_name":"gene-z","author_uid":"26095","time":"Dec 10, 2014 @ 10:00pm","epoch":1418248500,"text":"Good Game , Congratulations"},{"author_name":"Jonapulse","author_uid":"20270","time":"Dec 10, 2014 @ 11:16pm","epoch":1418253060,"text":"Interesting.\r<br\/>\r<br\/>I wasn't quite sure why I died when I did."},{"author_name":"Crosstales","author_uid":"32967","time":"Dec 11, 2014 @ 8:39pm","epoch":1418330040,"text":"Funny, but I wasn't sure, what I'm doing :-)\r<br\/>But it's a good starting point!"},{"author_name":"xWarZonex","author_uid":"39237","time":"Dec 11, 2014 @ 8:39pm","epoch":1418330040,"text":"Pretty good game, not really sure what was going on though.:P"},{"author_name":"Mekuri","author_uid":"20130","time":"Dec 11, 2014 @ 10:24pm","epoch":1418336340,"text":"Nice idea! It was fairly easy, had to &quot;die on purpose&quot; to die. A nice game for a first try. Good job!"},{"author_name":"6DownStudios","author_uid":"39552","time":"Dec 12, 2014 @ 2:15am","epoch":1418350200,"text":"Congrats on your first LD!  Great concept, and I love the programmer art with the cub's bobbin head, good stuff!"},{"author_name":"Teesquared","author_uid":"35091","time":"Dec 14, 2014 @ 3:40pm","epoch":1418571300,"text":"It was a good interpretation of the theme but it didn't hold my interest for too  long."},{"author_name":"TaoPhoenix","author_uid":"13269","time":"Dec 26, 2014 @ 9:48am","epoch":1419586980,"text":"Cute game indeed, but I ran into some bugs where it would lock up esp at 0 action points."},{"author_name":"maxmetallica","author_uid":"47374","time":"Dec 28, 2014 @ 2:55am","epoch":1419735000,"text":"osm game"}],"images":["ld31\/42241-06ae899f204c6bdd7d2c9c945fa1ff80.jpg","ld31\/42241-9f71443f9114d500a205913238280151.jpg"],"links":[{"url":"https:\/\/976c21ce-a-62cb3a1a-s-sites.googlegroups.com\/site\/tmatproductionspolarbeargame\/Polar%20bear%20survival.swf?attachauth=ANoY7cpLTwhqvYJtLMx7S7lbkftbc4wSJGrfXuj26eUu4Ygggv34apSBmBykmvdzx2Y5i6dcgX4G15Va_2oz-s969IU3kS9XzEm9ivs9o7hxeKcOeQYJ3jP8-mSxjm4jDnVqlv_4FprghRmzYFynXSad8IOp48b5oEpJb3N5LM0gPSuMmZPKNpPOcJnFwbD6Ni2DNoKH-e0f6eOQAi9QV30Im-Yp_5h4gL3x0DKqOfPXL81tFD6rVsLRKmuYbIqjJZXVuQYHGlcg&amp;attredirects=0","text":"web"}],"metadata":{"g_key":"14934","g_author":"42241","g_event":"LD31","g_eventkey":"26","g_subevent":"COMPO","g_urlkey":"14964","g_title":"Polar bear survival","g_status":"UCHK1","g_place":"1108","g_commentcount":"15","g_site2_node_id":"0","g_hide":"N","g_has_icon":"Y","g_rqueue":"0","g_random":"0"},"nds":[],"node":null,"orig_images":["http:\/\/ludumdare.com\/compo\/wp-content\/compo2\/\/407933\/42241-shot0.jpg-eq-900-500.jpg","http:\/\/ludumdare.com\/compo\/wp-content\/compo2\/\/407933\/42241-shot1.jpg-eq-900-500.jpg"],"text":"Welcome to Polar bear survival! This game is a management\/survival\/sim game where you are a Polar bear trying to survive. This is my very first ludum dare and i am a novice programmer. Any feedback is great. Thanks for playing!\r\n\r\nThings to note:\r\n-if you cant seem to do anything, look at your action points. If they are at 0, sleep in the cave.\r\n\r\n-if the river does not have ice over it, you cannot reach the seal.\r\n\r\n-Humans give more food than seals.\r\n\r\n-Snowstorms freeze you in place.\r\n\r\n-Game made with as3\r\n\r\ni could not (for whatever reason) upload my flash file, so here is my extremely messy cod:\r\n\r\nframe 1:\r\n\r\nstop();\r\nimport flash.utils.Timer;\r\nvar hunger:int = 30;\r\nvar threat:int = 0;\r\nvar warmpth:int = 100;\r\nvar actionPoints:int = 5;\r\nvar score:int = 0;\r\n\r\nvar riverIce:Boolean = true;\r\nvar seals:Boolean = true;\r\nvar cave:Boolean = true;\r\nvar people:Boolean = false;\r\nvar wolf:int = 0;\r\nvar snowStorm:Boolean = false;\r\n\r\nvar position:int = 0;\r\n\r\nvar gameTimer:Timer = new Timer(30000);\r\nvar scoreTimer:Timer = new Timer(1000);\r\nvar iceTimer:Timer = new Timer(30000);\r\nvar wolfTimer:Timer = new Timer(7000);\r\nvar snowTimer:Timer = new Timer(10000);\r\nvar display:Timer = new Timer(10);\r\nvar hungerTimer:Timer = new Timer(2000);\r\nvar threatTimer:Timer = new Timer(40000);\r\nvar aTimer:Timer = new Timer(4000);\r\nvar bTimer:Timer = new Timer(4000);\r\nvar cTimer:Timer = new Timer(4000);\r\nvar dTimer:Timer = new Timer(4000);\r\nstart_btn.addEventListener(MouseEvent.CLICK, onStart);\r\nfunction onStart(event:MouseEvent):void\r\n{\r\n\tgotoAndPlay(2);\r\n}\r\n\r\nframe 2:\r\n\r\nstop();\r\nif (snowStorm == false)\r\n{\r\n\tremoveChild(snowStorm_mc);\r\n}\r\nif (riverIce == false)\r\n{\r\n\tremoveChild(ice_mc);\r\n}\r\nseal_btn.addEventListener(MouseEvent.CLICK, onSeal);\r\nwolf_btn.addEventListener(MouseEvent.CLICK, onWolf);\r\nhumans_btn.addEventListener(MouseEvent.CLICK, onHumans);\r\nsleep_btn.addEventListener(MouseEvent.CLICK, onSleep);\r\ngameTimer.addEventListener(TimerEvent.TIMER, onGT);\r\nsnowTimer.addEventListener(TimerEvent.TIMER, onS);\r\nwolfTimer.addEventListener(TimerEvent.TIMER, onW);\r\niceTimer.addEventListener(TimerEvent.TIMER, onI);\r\ndisplay.addEventListener(TimerEvent.TIMER, onDisplay);\r\nhungerTimer.addEventListener(TimerEvent.TIMER, onFood);\r\nthreatTimer.addEventListener(TimerEvent.TIMER, onT);\r\nscoreTimer.addEventListener(TimerEvent.TIMER, onScore);\r\ngameTimer.start();\r\nscoreTimer.start();\r\nhungerTimer.start();\r\nwolfTimer.start();\r\ndisplay.start();\r\nthreatTimer.start();\r\nfunction onScore(event:TimerEvent):void\r\n{\r\n\tscore +=  1;\r\n}\r\nfunction onT(event:TimerEvent):void\r\n{\r\n\tthreat -=  1;\r\n}\r\nfunction onFood(event:TimerEvent):void\r\n{\r\n\thunger -=  1;\r\n}\r\nfunction onDisplay(event:TimerEvent):void\r\n{\r\n\tif (threat<0)\r\n\t{\r\n\t\tthreat = 0;\r\n\t}\r\n\tif (wolf<0)\r\n\t{\r\n\t\twolf = 0;\r\n\t}\r\n\tthreat_txt.text = threat.toString();\r\n\thunger_txt.text = hunger.toString();\r\n\tactionPoints_txt.text = actionPoints.toString();\r\n\twarmpth_txt.text = warmpth.toString();\r\n\twolf_txt.text = wolf.toString();\r\n\r\n\tif ((wolf >= 10)||(threat >= 10)||(hunger<=0)||(warmpth<=0))\r\n\t{\r\n\t\tgotoAndStop(7);\r\n\t}\r\n}\r\nfunction onGT(event:TimerEvent):void\r\n{\r\n\tvar randomEvent:int = (Math.random()*4);\r\n\tif (randomEvent==0)\r\n\t{\r\n\t\ttrace(\"ice\");\r\n\t\tremoveChild(ice_mc);\r\n\t\ticeTimer.start();\r\n\t\triverIce = false;\r\n\t}\r\n\telse if (randomEvent==1)\r\n\t{\r\n\t\ttrace(\"Storm\");\r\n\t\tsnowTimer.start();\r\n\t\tsnowStorm = true;\r\n\t\twarmpth -=  50;\r\n\t}\r\n\telse if (randomEvent==2)\r\n\t{\r\n\t\ttrace(\"ice\");\r\n\t\tremoveChild(ice_mc);\r\n\t\ticeTimer.start();\r\n\t\triverIce = false;\r\n\t}\r\n}\r\nfunction onI(event:TimerEvent):void\r\n{\r\n\ticeTimer.stop();\r\n\triverIce = true;\r\n}\r\nfunction onW(event:TimerEvent):void\r\n{\r\n\twolf +=  1;\r\n}\r\nfunction onS(event:TimerEvent):void\r\n{\r\n\tremoveChild(snowStorm_mc);\r\n\tsnowStorm = false;\r\n\tsnowTimer.stop();\r\n}\r\nfunction onSeal(event:MouseEvent):void\r\n{\r\n\tif ((riverIce == true)&&(actionPoints>0)&&(snowStorm == false))\r\n\t{\r\n\t\tactionPoints -=  1;\r\n\t\thunger +=  5;\r\n\t\ttrace(\"seal\");\r\n\t\tgotoAndPlay(3);\r\n\t}\r\n}\r\nfunction onSleep(event:MouseEvent):void\r\n{\r\n\tif(snowStorm == false)\r\n\t{\r\n\tactionPoints +=  3;\r\n\twarmpth +=  10;\r\n\ttrace(\"Sleep\");\r\n\tgotoAndPlay(4);\r\n\t}\r\n}\r\nfunction onWolf(event:MouseEvent):void\r\n{\r\n\tif ((actionPoints>0)&&(snowStorm == false))\r\n\t{\r\n\t\tactionPoints -=  1;\r\n\t\twolf -=  2;\r\n\t\ttrace(\"Wolf\");\r\n\t\tgotoAndPlay(6);\r\n\t}\r\n}\r\nfunction onHumans(event:MouseEvent):void\r\n{\r\n\tif ((actionPoints>0)&&(snowStorm == false))\r\n\t{\r\n\t\tactionPoints -=  1;\r\n\t\thunger +=  10;\r\n\t\tthreat +=  2;\r\n\t\ttrace(\"Peopsle\");\r\n\t\tgotoAndPlay(5);\r\n\t}\r\n}\r\n\r\nframe 3 - 6 (aTimer-bTimer-cTimer-dTimer):\r\n\r\nstop();\r\naTimer.addEventListener(TimerEvent.TIMER, onA);\r\naTimer.start();\r\nfunction onA(event:TimerEvent):void\r\n{\r\n\taTimer.stop();\r\n\tgotoAndPlay(2);\r\n}\r\n\r\nframe 7:\r\n\r\nstop();\r\nscoreTimer.stop();\r\nscore_txt.text = score.toString();\r\nrestart_btn.addEventListener(MouseEvent.CLICK, onRestart);\r\ngameTimer.stop();\r\niceTimer.stop();\r\nhungerTimer.stop();\r\nwolfTimer.stop();\r\ndisplay.stop();\r\nthreatTimer.stop();\r\naTimer.stop();\r\nbTimer.stop();\r\ncTimer.stop();\r\ndTimer.stop();\r\nsnowTimer.stop();\r\n\r\nfunction onRestart(event:MouseEvent):void\r\n{\r\n\tgotoAndPlay(1);\r\n}\r\n\r\n","title":"Polar bear survival"}