Author Topic: Announcing BrowserBasic  (Read 11202 times)

Guilect

  • Moderator
  • Full Member
  • *****
  • Posts: 110
    • View Profile
Announcing BrowserBasic
« on: 24. May 2013, 16:39:09 »
I hope the members here in this forum are not too adverse to trying JS/HTML5.
I have been working on a project that allows you to type in code in a BASIC-like syntax and it outputs working Javascript and uses HTML5 tags.
It is not a very 'retro' thing, so maybe this is the wrong audience....?

Cybermonkey

  • Administrator
  • Hero Member
  • *****
  • Posts: 573
    • View Profile
    • Home of EGSL
Re: Announcing BrowserBasic
« Reply #1 on: 24. May 2013, 17:11:19 »
I hope the members here in this forum are not too adverse to trying JS/HTML5.
I have been working on a project that allows you to type in code in a BASIC-like syntax and it outputs working Javascript and uses HTML5 tags.
It is not a very 'retro' thing, so maybe this is the wrong audience....?
Nope. One can do "retro" games with HTML5, can't we? (http://codeincomplete.com/projects/boulderdash/)
I am very interested in your project, how is the actual status? I know you implemented a BASIC which uses the codef library. Although quite impressive it was limited since no input (keyboard, mouse) was actually possible. Any news on that?
Best regards,
Cybermonkey

Tomaaz

  • Guest
Re: Announcing BrowserBasic
« Reply #2 on: 24. May 2013, 20:11:08 »
... so maybe this is the wrong audience....?

Absolutely not. Your project can be a success, because HTML5/JavaScript is extremely popular nowadays.

Guilect

  • Moderator
  • Full Member
  • *****
  • Posts: 110
    • View Profile
Re: Announcing BrowserBasic
« Reply #3 on: 25. May 2013, 00:00:55 »
I used codef as an experiment, a learning experience.
I have since moved on to another library that allows for image rotation, scaling, alpha blending, etc.
It now has mouse, keyboard, sound.
It is quite capable of making a game.
There are still several things that I want to add to it.
Also, there is no help file made yet.
(I like coding, I dislike making help files).

Here is the list of HTML5 related commands so far:
setBackgroundColor
getBackgroundColor
getAlpha
setAlpha
setColor
getWidth
getHeight
setDimensions
setLineWidth
getLineWidth
setLineCap
getLineCap
setImageSmoothing
getImageSmoothing
Line
StrokeRectangle
FillRectangle
StrokeCircle
FillCircle
StrokeArc
FillArc
Draw
DrawCentered
Translate
Scale
Rotate
Push
Pop
Canvas
ImageLoad
Sprite
SpriteSheet
KeyDown
MouseX
MouseY
MousePressed
SoundLoad
SoundPlay
SoundCanPlay
MediaLoaded
MediaPending
ImageWidth
ImageHeight
ImageDraw
SpriteWidth
SpriteHeight
SpriteDraw

Cybermonkey

  • Administrator
  • Hero Member
  • *****
  • Posts: 573
    • View Profile
    • Home of EGSL
Re: Announcing BrowserBasic
« Reply #4 on: 25. May 2013, 09:22:43 »
Sounds awesome. Will it be a commercial or a free product?
Best regards,
Cybermonkey

Guilect

  • Moderator
  • Full Member
  • *****
  • Posts: 110
    • View Profile
Re: Announcing BrowserBasic
« Reply #5 on: 25. May 2013, 15:09:15 »
FREE  ;D

Tomaaz

  • Guest
Re: Announcing BrowserBasic
« Reply #6 on: 25. May 2013, 15:15:17 »
It looks really impressive!

Cybermonkey

  • Administrator
  • Hero Member
  • *****
  • Posts: 573
    • View Profile
    • Home of EGSL
Re: Announcing BrowserBasic
« Reply #7 on: 25. May 2013, 17:20:59 »
Best regards,
Cybermonkey

Aurel

  • Regular Member
  • Sr. Member
  • *
  • Posts: 272
    • View Profile
Re: Announcing BrowserBasic
« Reply #8 on: 25. May 2013, 18:43:00 »
wait..are you author of brutus2d ?
Anyway cool thing..!
new basic pro forum on;
http://basicpro.spacefor.site/smf/
GUEST posting enabled

Cybermonkey

  • Administrator
  • Hero Member
  • *****
  • Posts: 573
    • View Profile
    • Home of EGSL
Re: Announcing BrowserBasic
« Reply #9 on: 25. May 2013, 22:44:49 »
wait..are you author of brutus2d ?
Yes, he is ... that's I why think that his Javascript converter must rock!
Best regards,
Cybermonkey

Aurel

  • Regular Member
  • Sr. Member
  • *
  • Posts: 272
    • View Profile
Re: Announcing BrowserBasic
« Reply #10 on: 26. May 2013, 09:17:20 »
This is good because if you ask me i prefer javaScript over java and i think that javascript is
far better solutions .
For example i like Crafty
« Last Edit: 26. May 2013, 09:28:13 by Aurel »
new basic pro forum on;
http://basicpro.spacefor.site/smf/
GUEST posting enabled

Guilect

  • Moderator
  • Full Member
  • *****
  • Posts: 110
    • View Profile
Re: Announcing BrowserBasic
« Reply #11 on: 01. June 2013, 02:27:59 »
Made some progress.
Put together a very basic help file.
Working on some simple examples.

Hope to have something for you to try in a week or two.

Cybermonkey

  • Administrator
  • Hero Member
  • *****
  • Posts: 573
    • View Profile
    • Home of EGSL
Re: Announcing BrowserBasic
« Reply #12 on: 01. June 2013, 09:11:30 »

Hope to have something for you to try in a week or two.
8)
Best regards,
Cybermonkey

John

  • Sr. Member
  • ****
  • Posts: 362
    • View Profile
Re: Announcing BrowserBasic
« Reply #13 on: 01. June 2013, 10:50:16 »
I actually use Rhino and a couple different JavaScript based BASIC languages. How would your project differ?


Guilect

  • Moderator
  • Full Member
  • *****
  • Posts: 110
    • View Profile
Re: Announcing BrowserBasic
« Reply #14 on: 01. June 2013, 13:56:14 »
I do not know rhino.
I googled for rhino and it only shows a big animal with a horn.
My project does not have a horn.


Seriously though, if you can provide me a link to this particular rhino I will take a look at it.

I just like making utilities that make games.
HTML5 seems to be the latest craze so I thought I would try my hand at creating something.
There might be better projects out there, there might not.