[core] add meta.fps param
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
|
||||
0.0.18
|
||||
------
|
||||
* Add meta.fps project param
|
||||
|
||||
0.0.12
|
||||
------
|
||||
|
||||
@@ -16,4 +21,4 @@
|
||||
|
||||
* Windows compatibility
|
||||
* Change FlashPlayer download link
|
||||
* Use 'fs-extra' without 'mkdirp' and 'rmdir'
|
||||
* Use 'fs-extra' without 'mkdirp' and 'rmdir'
|
||||
|
||||
@@ -42,6 +42,7 @@ class Config {
|
||||
company: null,
|
||||
width: 800,
|
||||
height: 600,
|
||||
fps: 60,
|
||||
};
|
||||
if (params) {
|
||||
this.update(params);
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "gulp-haxetool",
|
||||
"version": "0.0.18",
|
||||
"version": "0.0.19",
|
||||
"description": "HaXe Tool for Gulp",
|
||||
"main": "index.js",
|
||||
"dependencies": {
|
||||
|
||||
@@ -15,8 +15,8 @@
|
||||
<% flags.forEach(function(item) { %>
|
||||
<haxeflag name="-D" value="<%=item%>"/><% }); %>
|
||||
|
||||
<window fps="30"/>
|
||||
<window width="<%=meta.width%>" height="<%=meta.height%>" unless="html5"/>
|
||||
<window fps="<%=meta.fps%>"/>
|
||||
<window fps="<%=meta.fps%>" width="<%=meta.width%>" height="<%=meta.height%>" unless="html5"/>
|
||||
|
||||
<haxeflag name="-D" value="swf-gpu"/>
|
||||
<haxeflag name="-D" value="native-trace"/>
|
||||
|
||||
Reference in New Issue
Block a user