Go Back   CodingForums.com > Search Forums

Before you post, read our: Rules & Posting Guidelines

Showing results 1 to 7 of 7
Search took 0.03 seconds.
Search: Posts Made By: Andrew Cay
Forum: JavaScript programming 12-13-2012, 01:26 AM
Replies: 9
Views: 434
Posted By Andrew Cay
I think what I said, could have been taken two...

I think what I said, could have been taken two ways haha, sorry. I meant that if I don't call draw, my character will look like hes staying still when he should be moving. Also, draw needs to be...
Forum: JavaScript programming 12-12-2012, 01:33 PM
Replies: 9
Views: 434
Posted By Andrew Cay
By the way, the code showing 1000/120 for the...

By the way, the code showing 1000/120 for the milliseconds to update is a test. It was showing me that the program is fast at first but slows not much later in the code.

Also, yes this is just a...
Forum: JavaScript programming 12-12-2012, 02:55 AM
Replies: 9
Views: 434
Posted By Andrew Cay
Problem: The fps is dramatically slowed. ...

Problem: The fps is dramatically slowed.

The updates are run through a setInterval of function system 60 times a second.


This is unmodified version of the system

// init function...
Forum: JavaScript programming 12-12-2012, 02:09 AM
Replies: 9
Views: 434
Posted By Andrew Cay
Question Program slows over time, trying to make timer

I believe it is my usage of the Date() object. I am creating a new one every update in my system code ( it updates every 60 times a second ). I do this because I want a millisecond accurate clock...
Forum: JavaScript programming 12-11-2012, 01:24 PM
Replies: 4
Views: 333
Posted By Andrew Cay
Thank's so much devnull!

Thank's so much devnull!
Forum: JavaScript programming 12-11-2012, 03:32 AM
Replies: 4
Views: 333
Posted By Andrew Cay
The error isn't defined, the page simply doesn't...

The error isn't defined, the page simply doesn't finish compiling the code when I put
obj_player.step() or obj_player.draw() inside the system functions.

I fixed it right now though., looking...
Forum: JavaScript programming 12-10-2012, 01:58 PM
Replies: 4
Views: 333
Posted By Andrew Cay
Problem with Object Function

Here's my code, the problem is when ever I try using an object's (obj_player) step or draw functions. The creation of the object runs fine, I get no errors until I try placing the step and draw...
Showing results 1 to 7 of 7

 
Forum Jump

All times are GMT +1. The time now is 11:33 AM.