- 博客(32)
- 资源 (65)
- 收藏
- 关注
原创 ape之AbstractItem
看一组circleparticle类的继续关系:CircleParticle--> AbstractParticle--> AbstractItem AbstractItem是所有contraints和particles的基类。(The base class for all constraints and particles。)顺便看一下AbstractParticle和Abstr
2012-09-28 17:05:11 516
原创 ape之APEngine
看看前一篇文章的代码都有些什么?AKA,APEngine是ape的核心类。提供了一系列静态方法用来操作ape。看看api中都说些什么:init()方法,初始化引擎。你必须在添加particles或constraints之前调用这个方法。init(dt:Number = 0.25),有一个参数dt表示时间增量(delta time),(未完)通常值为1/3或1/4。较低的值导致较
2012-09-26 11:45:16 670
原创 ape开始
简单版的APE swc文件的可以到这里下载。版本是alpha 0.45。可以去cove的官网查看。google code上托管的有增强版。在此不再赘述。*ape中的 vector改成了vectorAPE。按着官网上的QS自己动手做了一下。*环境 Flash cs5.5package {import flash.display.Sprite;import org.cove
2012-09-26 11:27:03 756
原创 Flash好望角
as3引擎资源备注Starlingstarling官网starling中文网站starling框架帮助手册中文版(pdf)starling 1.1 api (asdoc)starling 1.2 api (asdoc) Prosceniumproscenium webadobe官方开发的3d引擎gaming_eng
2012-09-20 09:15:57 1239
原创 minimalcomps minimalconfigurator
这个类在utils包中,可谓一枝独秀。可以直接解析xml文件,用来布局很方便。如前所述可以参考kp的这篇文章。loadXML()方法,用来加载xml文件parseXMLString()parseXML()getCompById(),通过id得到当前对象的引用 import com.bit101.utils.MinimalConfigurator;import f
2012-09-14 16:35:43 840
原创 minimalcomps piechart
var myPieChart:PieChart=new PieChart(this,10,10);var arr:Array=new Array();var value:Number;for(var i=0;i{value=Math.random()*50+50;arr.push({value:value,label:("value"+(i+1))}
2012-09-14 16:13:48 591
原创 minimalcomps barchart/linechart
这里参照了pk的实例来实现的。var myBarChart:BarChart=new BarChart(this,50,10);myBarChart.showScaleLabels=true;var myLineChart:LineChart=new LineChart(this,300,10);myLineChart.showScaleLabels=true;
2012-09-14 15:58:11 710
原创 minimalcomps chart
kp的实例。所有图表类的基类。直接继承自component类。////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////一系列的getter/setter方法////////////
2012-09-14 15:21:15 579
原创 minimalcomps window
可以察看kp的这篇文章。var a:String="aa";var b:String="bb";var c:String="cc";var win:Window=new Window(this,10,10);win.title="@mengtianwxs";win.color=0xCCCCCC;//////////////////////
2012-09-14 15:10:26 545
原创 minimalcomps wheelmenu
var wm:WheelMenu=new WheelMenu(this,3);wm.setItem(0,a,a);wm.setItem(1,b,b)wm.setItem(2,c,c);wm.move(200,100);wm.borderColor=0xFF0000;wm.color=0xCCCCCC;wm.show();wm.addEventListener
2012-09-14 14:57:31 758
原创 minimalcomps rotaryselector
var r:RotarySelector=new RotarySelector(this,100,100);//////////////////////////////////////////显示多少个选择数r.numChoices=5;///////////////////////////////////////////////////////////////
2012-09-14 14:30:31 412
原创 minimalcomps radiobutton
var panel:Panel=new Panel(this,10,10);panel.width=150;var r1:RadioButton=new RadioButton(panel,10,10,"aa");r1.groupName="mengtianwxs";r1.selected=true;var r2:RadioButton=new RadioButton(
2012-09-14 14:11:43 518
原创 minimalcomps pushbutton
var panel:Panel=new Panel(this,10,10);panel.width=150;var b:PushButton=new PushButton(panel,10,10);b.label="@mengtianwxs";b.width=100;
2012-09-14 14:02:34 487
原创 minimalcomps progressBar
var pb:ProgressBar=new ProgressBar(this,10,10);pb.maximum=100;addEventListener("enterFrame",onEnterEvent);function onEnterEvent(event:Event):void{pb.value++;if(pb.value==100)pb.value
2012-09-14 11:55:07 443
原创 minimalcomps panel
var panel:Panel=new Panel(this,10,10);panel.setSize(300,200);//////////////////////////////////////是否设置阴影//panel.shadow=false;//////////////////////////////////////////////////////
2012-09-14 11:49:33 492
原创 minimalcomps numericStepper
当一个计数器用挺不错的。//////////////////////////////////////////////////////////////////////////////////////////////////////////////////getter/setter///////////////////////////////////////////////////////
2012-09-14 11:32:13 389
原创 minimalcomps meter(仪表)
var m:Meter=new Meter(this,10,10);m.label="@mengtianwxs";///////////////////////////////是否显示数字信息//m.showValues=false;////////////////////////////////////////////////////////////阻
2012-09-14 11:22:12 449
原创 minimalcomps list
这里有一篇kp的list实例。list组件和comboBox重叠部分较多。//////////////////////////////////////////////////////////////////////////////////////////////getter/seter方法///////////////////////////////////////////
2012-09-14 11:06:00 795
原创 minimalcomps knob(旋钮)
Component.initStage(stage);Style.setStyle(Style.LIGHT);var k:Knob=new Knob(this,10,10);k.move(200,150);k.label="@knob 旋钮";//可能设置一个默认开始的值k.value=10.2;k.mouseRange=10; //是否显示la
2012-09-13 17:21:38 640
原创 minimalcomps Text/InputText/TextArea
Component.initStage(stage);Style.setStyle(Style.LIGHT);//样式是通过style类的一系列静态属性来设置,设置样式的代码要放在前面Style.fontSize=14;//不要使用嵌入字体Style.embedFonts=false;var it:InputText=new InputText(this,1
2012-09-13 16:59:47 806
原创 minimalcomps indicatorLight(指示灯)
Component.initStage(stage);Style.setStyle(Style.LIGHT);var l:IndicatorLight=new IndicatorLight(this,10,10);//灯颜色l.color=0xFF0000;//指示灯开始工作,可以设置间隔时间,默认500l.flash(500);//控制灯是否亮//
2012-09-13 16:34:44 471
原创 minimalcomps VUISlider/HUISlider
Component.initStage(stage);Style.setStyle(Style.LIGHT);var v:VUISlider=new VUISlider(this);v.label="@VUISlider";v.move(200,200);var h:HUISlider=new HUISlider(this);h.label="@HUISlider"
2012-09-13 16:18:07 458
原创 minimalcomps VRangeSlider/HRangeSlider
Component.initStage(stage);Style.setStyle(Style.LIGHT);var v:VRangeSlider=new VRangeSlider(this);v.move(100,10);v.minimum=10;v.maximum=90;v.lowValue=20;v.highValue=70;/////////
2012-09-13 15:42:19 579
原创 minimalcomps HBox/VBox
Component.initStage(stage);Style.setStyle(Style.LIGHT);var myHBox:HBox=new HBox(this,0,0);var myLabel1:Label=new Label(myHBox,0,0,"ice");var myLabel2:Label=new Label(myHBox,0,0,"ice");
2012-09-13 14:53:41 665
原创 minimalcomps accordion
手风琴,可折叠的面板。使用方式,可以到这里参考一下。getWindowAt()方法,通过索引获得当前window的引用。addWindowAt()方法,通过索引不回新window。addWindow()方法,添加新window。Component.initStage(stage);Style.setStyle(Style.LIGHT);var myAcc
2012-09-13 14:25:52 543
原创 minimalcomps FPSMeter
这是一个测试帧速率的类。可以用prefix设置或修改显示的前缀信息。可以用stop()方法停止测试。默认已经启用start()方法。 Component.initStage(stage);var fps:FPSMeter=new FPSMeter(this,10,10);//fps.start();fps.prefix="mengtianwxs fps:";
2012-09-13 13:11:56 750
原创 minimalcomps comboBox
不废多余,以避迂阔之嫌。var a:String = "aaaa";var b:String = "bbbb";var c:String = "cccc";var d:String = "dddd";var e:String = "eeee";var f:String = "ffff";Component.initStage(stage);var myLab
2012-09-13 12:45:48 715
原创 minimalcomps colorChooser
颜色选择器。这个东西很高级呀~~////////////////////////////////////////////////////////////////////////////getter/setter方法实现//////////////////////////////////////////////////////////////////////////val
2012-09-13 11:25:17 647
原创 minimalcomps checkBox
checkBox组件没有groupname属性。label属性,设置显示内容。selected属性,是否被选择。Component.initStage(stage);var myCheckBox:CheckBox=new CheckBox(this,10,10);myCheckBox.label="mengtianwxs";好像不能实现一个组级别的选择。
2012-09-13 11:01:21 468
原创 minimalcomps calendar
/////////////////////////////////////////////////////////////////////////////日历类///////////////////////////////////////////////////////////////////////////可以通过setDate()方法来设置日历中的时间。也可以通过s
2012-09-13 10:44:12 550
原创 minimalcomps component
所有组件的基类。public 方法://设置组件的位置move(xpos,ypos)//设置组件的大小setSize(w,h);/////////////////////////////////////////////////////////////////////////////getter/setter方法实现////////////////////
2012-09-13 10:26:30 539
blender-2.82a-windows64.7z.001
2021-08-26
vlc-3.0.12-win64.exe
2021-01-22
nethack-366-src.tgz
2020-09-27
nethack-362-src.tgz
2020-09-23
cgoban 1.9.13
2020-09-22
libXp so文件
2017-09-04
sip for python
2016-11-24
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人