Pi  || Platformer                                                              #games #platformer
@Stage\n\n@Circle\n\ndefine Move\nif <key (left arrow v) pressed?> then\n    change x by (-8)\n    switch costume to (walk left v)\nend\nif <key (right arrow v) pressed?> then\n    change x by (8)\n    switch costume to (walk right v)\nend\n\ndefine jump/gravity\nif <touching color (#959595)?> then\n    set [y speed v] to [0]\n    if <key (up arrow v) pressed?> then\n        change [y speed v] by (10)\n    end\nelse\n    change [y speed v] by (-.5)\nend\nchange y by (y speed)\n\nwhen flag clicked\nshow\nbroadcast (message1 v)\nStart Talk\nswitch backdrop to (level 1 v)\nbroadcast (Level One v)\nshow\nReset\nrepeat until <touching color (#9c0091)?>\n    Move\n    jump/gravity\n    Touching?\nend\n\ndefine Start Talk\nswitch costume to (talking v)\ngo to x: (55) y: (-17)\nset size to (100) %\nswitch backdrop to (city v)\nrepeat (50)\n    change size by (1)\nend\nsay [Hey! I'm Circle!] for (2) seconds\nsay [I'm a perfect circle from that city named Circlus behind me!] for (4) seconds\nsay [I'm also an archeologist!] for (2) seconds\nsay [I'm trying to find an artifact called the Ancient Book of Pi.] for (4) seconds\nsay [Here's what it looks like!] for (2) seconds\nhide\nswitch backdrop to (book of pi v)\nwait (5) seconds\nswitch backdrop to (city v)\nshow\nsay [This book is very important to the circles of Circlus.] for (2) seconds\nsay [We have no idea what the true value of pi is.] for (2) seconds\nsay [All we know is that pi is the ratio of the circumference of any circle to the diameter of that circle. ] for (5) seconds\nsay [We also know that the book is in the ancient stronghold.] for (3) seconds\nsay [It was lost in ancient times during a war.] for (2) seconds\nsay [So let's go find it!] for (2) seconds\nswitch backdrop to (intermission v)\nhide\nwait (5) seconds\n\ndefine Reset\nset size to (50) %\ngo to x: (-192) y: (-166)\n\ndefine Touching?\nif <touching color (#cdcdcd)?> then\n    Reset\nend\nif <(x position) > [240]> then\n    Reset\n    next backdrop\nend\nif <touching color (#616161)?> then\n    change [y speed v] by (-5)\nend\nif <touching color (#9c0091)?> then\n    switch backdrop to (book of pie >:\) v)\n    hide\n    wait (2) seconds\n    switch backdrop to (book of pie >:\)2 v)\n    wait (2) seconds\n    switch backdrop to (book of pie >:\)3 v)\n    wait (5) seconds\n    switch backdrop to (end v)\n    stop [all v]\nend\n\n
Hi Scratchers! This is my 2nd platformer, and I worked really hard on it, so please don't troll! I would really love a heart, star, nice comments, and constructive feedback! If we reach 100 loves I will make a sequel! If we reach 50 loves I will add 3 new levels! Instructions are in game.\n\nYAY 30 LOVES! Thanks to @avis2014 for being the 30th lover!\n\n20 FAVES! Thanks to @--PlatformerLover-- !!!