Skip to content

Commit

Permalink
更新 APG.js
Browse files Browse the repository at this point in the history
  • Loading branch information
SuCicada committed Feb 26, 2020
1 parent 531e3c3 commit 92fcb1c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dist/APG.js
Original file line number Diff line number Diff line change
Expand Up @@ -317,7 +317,7 @@ var preload = {
console.log(scripts)
let path;
for(i=0;i<scripts.length;i++){
let file = scripts[i].getAttribute("src");
let file = "./" + scripts[i].getAttribute("src");
if(file && file.substring(file.lastIndexOf('/')+1, file.lastIndexOf('.')) == "APG-core"){
path = file.substring(0, file.lastIndexOf('/')+1);
}
Expand Down Expand Up @@ -797,7 +797,7 @@ var showButton = function(){
' 2 2 ',
'2 2',
]

var restart = [
' 2222 ',
'2 2',
Expand Down
7 changes: 7 additions & 0 deletions docs/log.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
# APG (Algorithm PlayGround)

## 更新记录
2020/2/26
+ APG-core 修复了一个BUG, 此BUG表现为 <br>
> 将APG-core.js等APG库文件放置于index.html同级目录下时, <br>
> 同时index.html文件中的js引用为 `<script src="APG-core.js"></script>`
> <br> 则游戏会因为无法加载相关APG库而报错
> <br> [] 此BUG只会在使用 APG-core 分段加载 APG库文件时出现
8/10
+ 虚空碰撞检测
+ 背包系统更新.
Expand Down

0 comments on commit 92fcb1c

Please sign in to comment.