Line 4: | Line 4: | ||
<script> | <script> | ||
alert('我也不知道我写这个脚本做什么哈哈哈哈哈'); | alert('我也不知道我写这个脚本做什么哈哈哈哈哈'); | ||
+ | var HelloLayer = cc.LayerColor.extend({ | ||
+ | ctor:function(){ | ||
+ | this._super(cc.color.BLUE); | ||
+ | //添加一个文本元素 | ||
+ | var size = cc.winSize; | ||
+ | var helloTxt = new cc.LabelTTF("Hello World","Arial",30); | ||
+ | helloTxt.x = size.width/2; | ||
+ | helloTxt.y = size.height/2; | ||
+ | this.addChild(helloTxt); | ||
+ | this._listener = new cc.EventListener.create({ | ||
+ | event:cc.EventListener.TOUCH_ONE_BY_ONE, | ||
+ | swallowTouches: true, | ||
+ | onTouchBegan:function(touch,event){ | ||
+ | var target = event.getCurrentTarget(); // 获取事件所绑定的 target | ||
+ | // 获取当前点击点所在相对按钮的位置坐标 | ||
+ | var locationInNode = target.convertToNodeSpace(touch.getLocation()); | ||
+ | var s = target.getContentSize(); | ||
+ | var rect = cc.rect(0, 0, s.width, s.height); | ||
+ | if (cc.rectContainsPoint(rect, locationInNode)) { // 点击范围判断检测 | ||
+ | alert("You don't ckick me"); | ||
+ | return true; | ||
+ | } | ||
+ | } | ||
+ | }); | ||
+ | cc.eventManager.addListener(this._listener,helloTxt); | ||
+ | }, | ||
+ | }); | ||
+ | var HelloScene = cc.Scene.extend({ | ||
+ | onEnter:function(){ | ||
+ | this._super(); | ||
+ | this.addChild(new HelloLayer()); | ||
+ | }, | ||
+ | }); | ||
+ | |||
</script> | </script> | ||
</head> | </head> |
Revision as of 02:42, 12 July 2018
Peking iGEM 2018
Welcome to our wiki!
Description
- Biosynthesis plays a significant role in industrial production while enzymatic reaction rate is one of the key factors in an efficient production. and concentration of enzymes is a widely employed solution. Here we engineered yeast cells to express enzymes for producing carotene, which would then be integrated into a protein scaffold based on the interaction between SUMO and SIM modules. The oligomerization of these modules could induce the proximity of enzymes, which enhances the speed of enzymatic reactions and the yield rate of products significantly.