Author Topic: Announcing BrowserBasic  (Read 36273 times)

Guilect

  • Guest
Announcing BrowserBasic
« on: May 24, 2013, 02:39:09 PM »
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
  • *****
  • Posts: 0
Re: Announcing BrowserBasic
« Reply #1 on: May 24, 2013, 03:11:19 PM »
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?

Tomaaz

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

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

Guilect

  • Guest
Re: Announcing BrowserBasic
« Reply #3 on: May 24, 2013, 10:00:55 PM »
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
  • *****
  • Posts: 0
Re: Announcing BrowserBasic
« Reply #4 on: May 25, 2013, 07:22:43 AM »
Sounds awesome. Will it be a commercial or a free product?

Guilect

  • Guest
Re: Announcing BrowserBasic
« Reply #5 on: May 25, 2013, 01:09:15 PM »
FREE  ;D

Tomaaz

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

Cybermonkey

  • Administrator
  • *****
  • Posts: 0
Re: Announcing BrowserBasic
« Reply #7 on: May 25, 2013, 03:20:59 PM »

Aurel

  • Guest
Re: Announcing BrowserBasic
« Reply #8 on: May 25, 2013, 04:43:00 PM »
wait..are you author of brutus2d ?
Anyway cool thing..!

Cybermonkey

  • Administrator
  • *****
  • Posts: 0
Re: Announcing BrowserBasic
« Reply #9 on: May 25, 2013, 08:44:49 PM »
wait..are you author of brutus2d ?
Yes, he is ... that's I why think that his Javascript converter must rock!

Aurel

  • Guest
Re: Announcing BrowserBasic
« Reply #10 on: May 26, 2013, 07:17:20 AM »
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: May 26, 2013, 07:28:13 AM by Aurel »

Guilect

  • Guest
Re: Announcing BrowserBasic
« Reply #11 on: June 01, 2013, 12:27:59 AM »
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
  • *****
  • Posts: 0
Re: Announcing BrowserBasic
« Reply #12 on: June 01, 2013, 07:11:30 AM »

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

ScriptBasic

  • Guest
Re: Announcing BrowserBasic
« Reply #13 on: June 01, 2013, 08:50:16 AM »
I actually use Rhino and a couple different JavaScript based BASIC languages. How would your project differ?


Guilect

  • Guest
Re: Announcing BrowserBasic
« Reply #14 on: June 01, 2013, 11:56:14 AM »
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.