Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 6cd51b58c7 | |||
| a510dffb33 |
@@ -1,3 +1,8 @@
|
|||||||
|
|
||||||
|
0.0.18
|
||||||
|
------
|
||||||
|
* Add meta.fps project param
|
||||||
|
|
||||||
0.0.12
|
0.0.12
|
||||||
------
|
------
|
||||||
|
|
||||||
|
|||||||
@@ -42,6 +42,7 @@ class Config {
|
|||||||
company: null,
|
company: null,
|
||||||
width: 800,
|
width: 800,
|
||||||
height: 600,
|
height: 600,
|
||||||
|
fps: 60,
|
||||||
};
|
};
|
||||||
if (params) {
|
if (params) {
|
||||||
this.update(params);
|
this.update(params);
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "gulp-haxetool",
|
"name": "gulp-haxetool",
|
||||||
"version": "0.0.17",
|
"version": "0.0.19",
|
||||||
"description": "HaXe Tool for Gulp",
|
"description": "HaXe Tool for Gulp",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
|
|||||||
@@ -6,7 +6,8 @@
|
|||||||
<% sources.forEach(function(item) { %>
|
<% sources.forEach(function(item) { %>
|
||||||
<source path="<%=item%>"/><% }); %>
|
<source path="<%=item%>"/><% }); %>
|
||||||
<% assets.forEach(function(item) { %>
|
<% assets.forEach(function(item) { %>
|
||||||
<assets path="<%=item%>" rename="<%=item.split('/').pop()%>" include="*"/><% }); %>
|
<assets if="flash" path="<%=item%>" rename="<%=item.split('/').pop()%>" include="*" exclude="*.ogg"/>
|
||||||
|
<assets unless="flash" path="<%=item%>" rename="<%=item.split('/').pop()%>" include="*" exclude="*.mp3"/><% }); %>
|
||||||
<% libs.forEach(function(item) { %>
|
<% libs.forEach(function(item) { %>
|
||||||
<haxelib name="<%=item.name%>" version="<%=item.version.split('@').shift()%>"/><% }); %>
|
<haxelib name="<%=item.name%>" version="<%=item.version.split('@').shift()%>"/><% }); %>
|
||||||
<% macros.forEach(function(item) { %>
|
<% macros.forEach(function(item) { %>
|
||||||
@@ -14,8 +15,8 @@
|
|||||||
<% flags.forEach(function(item) { %>
|
<% flags.forEach(function(item) { %>
|
||||||
<haxeflag name="-D" value="<%=item%>"/><% }); %>
|
<haxeflag name="-D" value="<%=item%>"/><% }); %>
|
||||||
|
|
||||||
<window fps="30"/>
|
<window fps="<%=meta.fps%>"/>
|
||||||
<window width="<%=meta.width%>" height="<%=meta.height%>" unless="html5"/>
|
<window fps="<%=meta.fps%>" width="<%=meta.width%>" height="<%=meta.height%>" unless="html5"/>
|
||||||
|
|
||||||
<haxeflag name="-D" value="swf-gpu"/>
|
<haxeflag name="-D" value="swf-gpu"/>
|
||||||
<haxeflag name="-D" value="native-trace"/>
|
<haxeflag name="-D" value="native-trace"/>
|
||||||
|
|||||||
Reference in New Issue
Block a user