Author Topic: jBasic  (Read 28679 times)

0 Members and 1 Guest are viewing this topic.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: jBasic
« Reply #90 on: May 11, 2010, 04:41:00 pm »
http://future_history.freehostia.com/jBasic/jBasicPhysics.html

I think the tinyurl failed for some people
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6265
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: jBasic
« Reply #91 on: May 11, 2010, 04:57:59 pm »
that was the other tinyurl, it just lead to a blank page for some reason x.x this one works though.
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: jBasic
« Reply #92 on: May 11, 2010, 05:14:18 pm »
Oooh ok I see
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6265
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: jBasic
« Reply #93 on: May 11, 2010, 07:36:12 pm »
I just uploaded a new version. When you turn off/on the screen it will also halt/start the physics engine, so you can "save" what is happening and not have to close the tab if it is using too much ram.
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: jBasic
« Reply #94 on: May 11, 2010, 07:37:59 pm »
Aaaah nice to hear :D
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline ztrumpet

  • The Rarely Active One
  • CoT Emeritus
  • LV13 Extreme Addict (Next: 9001)
  • *
  • Posts: 5712
  • Rating: +364/-4
  • If you see this, send me a PM. Just for fun.
    • View Profile
Re: jBasic
« Reply #95 on: May 11, 2010, 10:16:36 pm »
Thanks!  I can't wait to try it! :)

Offline Stephan

  • LV2 Member (Next: 40)
  • **
  • Posts: 23
  • Rating: +4/-4
    • View Profile
Re: jBasic
« Reply #96 on: May 12, 2010, 08:21:33 am »
Sorry about that DJ. Yes I was thinking of a totally different project not related to here. I was thinking of Visual J++, which I did not like. I don't know how I got the two confused. Project recognition is NOT my forte. XD I am a complete moron and I feel like an ass for saying that. Sorry Eeems, I did check it out a little bit, it actually is very good. Again, I mixed up jBasic and Visual J++, and thats why I said that. Sorry. :(

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6265
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: jBasic
« Reply #97 on: May 12, 2010, 09:22:19 am »
Its ok stephan, just try and read the first post first before you assume :)
/e

Offline Stephan

  • LV2 Member (Next: 40)
  • **
  • Posts: 23
  • Rating: +4/-4
    • View Profile
Re: jBasic
« Reply #98 on: May 12, 2010, 09:54:02 am »
I did, I just didn't follow because I mixed the two things up. My bad :D.

Offline Galandros

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1140
  • Rating: +42/-10
    • View Profile
Re: jBasic
« Reply #99 on: May 12, 2010, 01:03:19 pm »
I think I found a bug:
Some objects fall out of the screen with gravity 4, friction 2 and 100 objects after playing a bit.
I can't repeat but first I tried a massive number of objects, stopped the script in Firefox changed the settings and after playing a bit some objects exit start to exit the screen.
Hobbing in calculator projects.

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: jBasic
« Reply #100 on: May 12, 2010, 01:36:44 pm »
Aaah ok I see, yeah it's good to read the first post carefully to make sure to know what's the topic about, espeically when it's large, otherwise there can be misinterpreting x.x
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6265
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: jBasic
« Reply #101 on: May 12, 2010, 07:18:05 pm »
the bug would be due to friction, it's a bug I haven't figured out how to solve... I'll probably have to add a small check to each movement part of the code to fix it.
does anybody have some good object collision detection pseudo code? I kind of have no idea where to start x.x

EDIT: oh yeah, I've been working on adding in some built in debug console stuff so far you can set it up, send variable changes to it, send a normal message to it, and send errors to it. keep in mind though, you have to set up your own error traps :P
I also fixed the randomly deleting one more object then necessary bug. I also might be revamping the screen creation so you don't have to have the tag's already in the HTML and it will build it for you :P.
« Last Edit: May 12, 2010, 08:13:48 pm by Eeems »
/e

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6265
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: jBasic
« Reply #102 on: May 13, 2010, 12:44:21 pm »
I've taken out the ability to edit friction, because it really messes up the collision detection, instead now just use gravity to effect the speed...
also I'm adding in checks to help with gravity change.
/e

Offline DJ Omnimaga

  • Clacualters are teh gr33t
  • CoT Emeritus
  • LV15 Omnimagician (Next: --)
  • *
  • Posts: 55942
  • Rating: +3154/-232
  • CodeWalrus founder & retired Omnimaga founder
    • View Profile
    • Dream of Omnimaga Music
Re: jBasic
« Reply #103 on: May 13, 2010, 04:31:15 pm »
aaah ok, I'll check later
Now active at https://discord.gg/cuZcfcF (CodeWalrus server)

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6265
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: jBasic
« Reply #104 on: May 13, 2010, 05:41:01 pm »
ok, now you can not make your gravity smaller then 2 and the debugger on the bottom is fully functional btw, it will spit out errors if you get them...which you shouldn't I've made a lot of checks.
I'm going to make a check to make sure that the debugger doesn't get too large, because it slows down if it does. how lines should it max out at?
/e