Extreme slowdown running HTA, Having touble with a learning project, getting unexplained slowdown. |
Extreme slowdown running HTA, Having touble with a learning project, getting unexplained slowdown. |
Jason1981 |
Mar 6 2010, 11:11 AM
Post
#1
|
Group: Members Posts: 7 Joined: 6-March 10 Member No.: 11,299 |
Hi there!
I'm obviously new to the forums here and don't really know if this is the right place to get help. I've made a small game in an HTA file using JavaScript and HTML (don't laugh, this was a serious learning project for me). The problem I'm having is that, after running the game for a while (having played, like to level 10 say), the HTA begins to slow down HORRIBLY. By level 10, it's almost unplayable... it takes like 3 seconds to register a button click. My messy code is below (yes, it's the entire game... I know it's huge). I don't really care that the math is horrible in calculating hit points and damage and whatnot. All I want to know is, why the hell does this slow down? Any help would be greatly appreciated. (Edit: After I posted this, I realized that you can actually attach a file . The HTA is attached in HTML format.) This post has been edited by Jason1981: Mar 6 2010, 11:35 AM Attached File(s) cr.html ( 47.4k ) Number of downloads: 870 |
Jason1981 |
Mar 9 2010, 12:23 PM
Post
#2
|
Group: Members Posts: 7 Joined: 6-March 10 Member No.: 11,299 |
I've simplified the problem by narrowing it down to the actual issue.
The new post is here: http://forums.htmlhelp.com/index.php?showtopic=11103 |
Lo-Fi Version | Time is now: 26th April 2024 - 04:31 PM |