Author Topic: jBasic  (Read 32006 times)

0 Members and 4 Guests are viewing this topic.

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 #60 on: May 08, 2010, 11:07:45 pm »
Idk I just had a bad experience with arrays in Js before, now that I remembered the syntax, it seemed too confusing for me and I could never get anything to work. :/

Sub() would be enough for me, though, because this is what I used in VB for tilemapping :P

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: jBasic
« Reply #61 on: May 09, 2010, 01:57:44 am »
Yeah arrays are a little annoying at first. I usually forget to define then before i start assining things to them.
Ill work on sub() because it isnt thay hard to make.

I am working on a small physics demo to show off how easy it is to make things with jBasic.
/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 #62 on: May 09, 2010, 04:23:39 am »
Cool to hear, can't wait for the demo

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: jBasic
« Reply #63 on: May 09, 2010, 08:01:04 pm »
http://tinyurl.com/jBasicPhysics
take a look :P
also, it's not quite done, but there are some physics :P and they are bouncy!
/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 #64 on: May 09, 2010, 08:12:12 pm »
Its not working for me :( The url just turns into about:blank, and nothing loads.  Im in chrome btw, although it was working earlier when we were testing things.

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: jBasic
« Reply #65 on: May 09, 2010, 08:15:42 pm »
/e

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: jBasic
« Reply #66 on: May 09, 2010, 08:17:28 pm »
Ya, same here. Tried it on Firefox, IE, Safari, and Chrome and got nothing. :(

Oh ok, that one worked.
« Last Edit: May 09, 2010, 08:18:26 pm by meishe91 »
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: jBasic
« Reply #67 on: May 09, 2010, 08:18:01 pm »
same...stupid tinyurl...
/e

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: jBasic
« Reply #68 on: May 09, 2010, 08:24:56 pm »
Ya, but the direct link works. That is pretty cool only glitch I found was that if you hold down right when on the ground the boxes will continue outside the box and will just keep going.

Chrome: Runs to fast.
Firefox/IE: Runs at a speed that seems like the intentional speed.
Safari: Runs in the middle of the two speeds.

Great job though :)
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: jBasic
« Reply #69 on: May 09, 2010, 08:38:37 pm »
yeah it should be fixed now, I've been working one that...
I made it on FF so that's why it works right, and it shouldn't run any faster on chrome/safari, because it's timed...it only runs the movement every 1ms...wait....that must be because they are a little faster at parsing JavaScript...

EDIT: just fixed some problems, check it out.
« Last Edit: May 09, 2010, 08:47:15 pm by Eeems »
/e

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: jBasic
« Reply #70 on: May 09, 2010, 11:29:53 pm »
Ah ok. Ya, it seems to still run fast in those to and still doesn't work in IE for what ever reason ???

But ya, the going right issue seems to be directly fixed though it is still possible to get them out while jumping (I think, its harder to recreate). Also, it went through the floor once too though I don't know how that happened. Um, last thing I noticed is that when you hold right you will come to a stop but holding left will still make it do "jumps."

Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

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 #71 on: May 10, 2010, 12:00:23 am »
wow nice!

Later I'll give this a try on my old computer just to see how it loads :)

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: jBasic
« Reply #72 on: May 10, 2010, 02:09:35 am »
Yeah i havent quite figured out all the kinks, what errors does IE give?
DJ: let me know how fast it runs, I might decide to try and add more objects if it runs fast :p
/e

Offline meishe91

  • Super Ninja
  • LV11 Super Veteran (Next: 3000)
  • ***********
  • Posts: 2946
  • Rating: +115/-11
    • View Profile
    • DeviantArt
Re: jBasic
« Reply #73 on: May 10, 2010, 03:00:42 am »
Well for me it will show the boxes dropping at the beginning but then it isn't recognizing any key presses so you can't move the boxes. also it doesn't seem to be loading the right and bottom of the box (like the edge).
Spoiler For Spoiler:



For the 51st time, that is not my card! (Magic Joke)

Offline Eeems

  • Mr. Dictator
  • Administrator
  • LV13 Extreme Addict (Next: 9001)
  • *************
  • Posts: 6266
  • Rating: +318/-36
  • little oof
    • View Profile
    • Eeems
Re: jBasic
« Reply #74 on: May 10, 2010, 09:24:37 am »
Hmm, strange...I'll have to look into it. Does it report any javascript errors? (bottom left corner open it if it does and let me know).
/e