Retrogamecoding(.org) > BrowserBasic

Announcing BrowserBasic

(1/18) > >>

Guilect:
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:

--- Quote from: Guilect 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....?

--- End quote ---
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:

--- Quote from: Guilect on May 24, 2013, 02:39:09 PM ---... so maybe this is the wrong audience....?

--- End quote ---

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

Guilect:
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:
Sounds awesome. Will it be a commercial or a free product?

Navigation

[0] Message Index

[#] Next page

Go to full version