1
1
Fork 0
mirror of https://github.com/boxgaming/qbjs.git synced 2024-06-08 16:20:13 +00:00

js dependency version updates

This commit is contained in:
boxgaming 2023-09-12 16:32:23 -05:00
parent 626efd40d3
commit 02231960f6
2 changed files with 6 additions and 6 deletions

View file

@ -640,8 +640,8 @@ var GX = new function() {
img = _image(_bg[bi].image);
wrapFactor = _bg[bi].wrapFactor;
x = (GX.sceneX() * wrapFactor) % img.width;
y = (GX.sceneY() * wrapFactor) % img.height;
x = Math.floor((GX.sceneX() * wrapFactor) % img.width);
y = Math.floor((GX.sceneY() * wrapFactor) % img.height);
if (x < 0) { x = img.width + x; }
if (y < 0) { y = img.height + y; }
x2 = GX.sceneWidth() + x;
@ -1124,8 +1124,8 @@ var GX = new function() {
var t1 = t;
t = _tileFrame(t);
GX.tilesetPos(t, tpos);
tx = scol * GX.tilesetWidth() - xoffset - colOffset;
ty = srow * GX.tilesetHeight() - yoffset - rowOffset;
tx = Math.floor(scol * GX.tilesetWidth() - xoffset - colOffset);
ty = Math.floor(srow * GX.tilesetHeight() - yoffset - rowOffset);
GX.spriteDraw(GX.tilesetImage(), tx, ty, tpos.y, tpos.x, GX.tilesetWidth(), GX.tilesetHeight());//, __gx_scene.image
}
scol = scol + 1;

View file

@ -139,8 +139,8 @@
</div>
</dialog>
</body>
<script language="javascript" src="vfs.js"></script>
<script language="javascript" src="gx/gx.js"></script>
<script language="javascript" src="vfs.js?v=0.8.0"></script>
<script language="javascript" src="gx/gx.js?v=0.8.0"></script>
<script language="javascript" src="qb.js?v=0.8.0"></script>
<script language="javascript" src="qb2js.js?v=0.8.0"></script>
<script language="javascript" src="qbjs-ide.js?v=0.8.0"></script>