Author Topic: jBasic  (Read 32231 times)

0 Members and 3 Guests are viewing this topic.

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: jBasic
« Reply #105 on: May 13, 2010, 08:54:48 pm »
Hmm how are you doing the friction?  Maybe i can see why weird things are happening

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: jBasic
« Reply #106 on: May 13, 2010, 09:03:45 pm »
Take a look at the source its commented enough.
/e

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: jBasic
« Reply #107 on: May 13, 2010, 09:07:31 pm »
Urm, where can i find that?  I can only find the links to the webpage.

Offline bwang

  • LV7 Elite (Next: 700)
  • *******
  • Posts: 634
  • Rating: +30/-11
    • View Profile
Re: jBasic
« Reply #108 on: May 13, 2010, 09:10:13 pm »
Look at the page source in your browser (View > Page Source in Firefox).

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: jBasic
« Reply #109 on: May 14, 2010, 04:39:29 pm »
ok, I've updated some of the commands, and I think that my fps counter works...tell me what you think :)
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: jBasic
« Reply #110 on: May 14, 2010, 05:42:16 pm »
it works but not consistently. SOmetimes it will stop working completly, then suddently it will start working again. I had many times where it was 0 fps

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: jBasic
« Reply #111 on: May 14, 2010, 06:27:01 pm »
hmm, strange... I haven't experienced this yet. It sounds like the browser is lagging a little bit, how many objects and what's the gravity set at?
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: jBasic
« Reply #112 on: May 14, 2010, 07:30:17 pm »
1 object and gravity was 3 (tried with 4 too)
« Last Edit: May 14, 2010, 07:30:29 pm by DJ Omnimaga »

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: jBasic
« Reply #113 on: May 14, 2010, 07:42:45 pm »
Hmm, how long did it stop for?
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: jBasic
« Reply #114 on: May 14, 2010, 08:58:25 pm »
about 2 seconds I think

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: jBasic
« Reply #115 on: May 18, 2010, 04:55:59 pm »
That seems like your browser is trying to catch up with JavaScript execution, mine sometimes does this for about half a second.
I just uploaded a new version with object collision detection, which you can turn off or on, but it drastically slows down the framerate with it on.
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: jBasic
« Reply #116 on: May 18, 2010, 05:23:16 pm »
aaah I see, maybe that's why. Weird, though, considering I'm on a quad core computer with 8 GB of RAM :P

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6268
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: jBasic
« Reply #117 on: May 18, 2010, 06:29:49 pm »
Yeah, well it doesnt Mean it wont pause, i dont have anything that powerful, but i know my ram and cpu arent fully loaded down at all when it happens
/e

Offline Builderboy

  • Physics Guru
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5673
  • Rating: +613/-9
  • Would you kindly?
    • View Profile
Re: jBasic
« Reply #118 on: May 18, 2010, 11:32:32 pm »
Hey DJ, does it happen on other browsers?  Maybe its Opera :O

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55943
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: jBasic
« Reply #119 on: May 18, 2010, 11:35:50 pm »
I'm not sure, haven't tried yet. That said it would be good to make sure it's cross-browser compatible, else it might not be useable by many people D: