首页| JavaScript| HTML/CSS| Matlab| PHP| Python| Java| C/C++/VC++| C#| ASP| 其他|
购买积分 购买会员 激活码充值

您现在的位置是:虫虫源码 > 其他 > baseone ActionScript 3的图书馆

baseone ActionScript 3的图书馆

资 源 简 介

This is a basic toolkit for everyday flash use like: Logger class (avoid putting trace commands all over) Stopwatch for measuring execution time Simple tile-based A-Star implementation Basic fps-meter with graph (i like it visual) Yes I"m lazy, but here"s some info AStar Notes This following explanation uses the Flash Player 10 version, using the new FP10 class Vector (which is much faster than using an Array). All you should need is in package com.baseoneonline.flash.astar The most important types are AStar and Graph. TileGraph and TileNode are there as an example or maybe it just suits your needs. Using the pathfinder This example is using the TileGraph and TileNode classes Create a grid with 50*30 tiles using the provided TileGraph, a implementation of Graph. You could use your own implementation of the Graph
VIP VIP
0.192619s