FANDOM


How to create a Mario Style Coin Box using Codepop

How to create a Mario Style Coin Box using Codepop

The coinbox will produce an object of your choice when Beta bumps it from below. Here is a coin box that produces a collectible memory.

Create the 'coinbox':

  • add platform x:5 y:7 skin:yellowBlock 
  • set platform_5_7 name:coinbox
  • collision add bumped coinbox beta add memory x:this.x y:this.y-1

Duplicating the 'coinbox':

  • clone coinbox x:7 y:7
  • row coinbox 11 7 10