Topic:   HTML5 Docs - I need your input   (Read 44325 times)


0 Members and 1 Guest are viewing this topic.

Circuit


  • GMG-er

  • **


  • Posts: 299

  • blast from the past
Re: HTML5 Docs - I need your input
« Reply #15 on: January 09, 2012, 08:15:43 PM »
InJavascript you can declare class variables anywhere. The best place is in the constructor.
That seems inconsistent with OOP, but I could probably get used to it.  It seems like a very efficient way to define classes.

I'm curious about what the relationship is between HTML5 GM and JavaScript.  HTML5 GM will have a scripting language which will be translated into JS.  But what makes them different?

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: HTML5 Docs - I need your input
« Reply #16 on: January 09, 2012, 09:30:22 PM »
Good question.

HTML5 GM will be more like SilverCreator. Syntax wise and structure.

Javascript has a very free structure. HTML5 GM will have a set structure to make it easier. Plus, dare I say it, syntax highlighting!

Right now I'm coding it in TextEdit and haven't found a nice, simple, light weight javascript editor that works as well as TextEdit.

Yeah, all commands will be in the docs and this will be tailored specifically to game making with the HTML5 canvas. Where as Javascript is open to everything, this will be narrow.
The HTML5 GM will be way easier than making a game in Javascript.

Charlo


  • GMG-er

  • **


  • Posts: 451
Re: HTML5 Docs - I need your input
« Reply #17 on: January 09, 2012, 09:46:12 PM »
If you're looking for a programmer's text editor, I recommend jEdit or notepad++.  I use jEdit for all of my JavaScript and PHP (even though jEdit's auto-indent can get messed up when confronted with jQuery).

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: HTML5 Docs - I need your input
« Reply #18 on: January 09, 2012, 10:05:14 PM »
I wish Notepad++ was natively for Mac...

I guess I can try Jedit.

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: HTML5 Docs - I need your input
« Reply #19 on: January 09, 2012, 11:55:05 PM »
Major milestone:
A boatload of the interface is now functional.

Still working on designs for other interfaces within the Gm...

Connors


  • ^ This guy is amazing.

  • ****


  • Posts: 2374

  • It's a secret to everyone...
Re: HTML5 Docs - I need your input
« Reply #20 on: January 10, 2012, 10:01:34 AM »
I can't wait to see how this works!
Warning: The above post may have been modified multiple times.

"In a great game, the character must never perfectly obey the user's command"
 - Tim Rogers

http://connorspuzzles.tumblr.com/

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: HTML5 Docs - I need your input
« Reply #21 on: January 10, 2012, 11:03:24 AM »
Just made a professional, super detailed, high quality down to the millimeter and exact mockup of how the Media tab will look:


You like? (The arrows show how that field can resize)

GabrielCA


  • GMG-er

  • **

  • no avatar

  • Posts: 224
Re: HTML5 Docs - I need your input
« Reply #22 on: January 10, 2012, 12:50:49 PM »
This sounds like an interesting project. Will the game editor be made in HTML5/JavaScript ?
Creator of the deprecated plugin KeyDetect (2005)

GabrielCA


  • GMG-er

  • **

  • no avatar

  • Posts: 224
Re: HTML5 Docs - I need your input
« Reply #23 on: January 10, 2012, 12:55:20 PM »
Here's some feedback

Quote
Declaring variables: (Should var be used to declare variables?)

Variables shouldn't have to be declared in a good scripting language, right ?

Quote
Should all variables created be global? Or should they be local unless specified as global variables?

To keep it noob-friendly and simple, I would suggest avoiding the overuse of OOP.
Creator of the deprecated plugin KeyDetect (2005)

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: HTML5 Docs - I need your input
« Reply #24 on: January 10, 2012, 01:12:12 PM »
Yeah, the game maker is in HTML5 and Javascript.

As for variables, we've decided to declare them using var so that there's a differentiation between local and global variables.

As for OOP, when you start making a game it's not OOP. But you can make classes and objects if you want OOP.

GabrielCA


  • GMG-er

  • **

  • no avatar

  • Posts: 224
Re: HTML5 Docs - I need your input
« Reply #25 on: January 10, 2012, 03:59:44 PM »
Yeah, the game maker is in HTML5 and Javascript.

As for variables, we've decided to declare them using var so that there's a differentiation between local and global variables.

As for OOP, when you start making a game it's not OOP. But you can make classes and objects if you want OOP.
Neat. I'll stay tuned for releases.
Creator of the deprecated plugin KeyDetect (2005)

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: HTML5 Docs - I need your input
« Reply #26 on: January 10, 2012, 06:52:04 PM »
Major Milestone Reached:
Another chunk of the interface has been finished. The two main chunks are complete(though they'll probably need a some tweakage over time) and now I just have a few small interfaces and the main interpreter.

Connors


  • ^ This guy is amazing.

  • ****


  • Posts: 2374

  • It's a secret to everyone...
Re: HTML5 Docs - I need your input
« Reply #27 on: January 10, 2012, 07:25:46 PM »
The interpreter is one of the last things?...
Warning: The above post may have been modified multiple times.

"In a great game, the character must never perfectly obey the user's command"
 - Tim Rogers

http://connorspuzzles.tumblr.com/

Gan


  • Administrator

  • ^ This guy is amazing.

  • *****


  • Posts: 4411
Re: HTML5 Docs - I need your input
« Reply #28 on: January 10, 2012, 07:33:11 PM »
Yeah, Interpreter is the big thing. Then again the very last thing is the saving feature.

Major Milestone Reached! (2 in one day! :O)
The interface is complete. Perhaps a little tweakage here and there. I'm now working on the interpreter.

Edit:
The interpreter appears to be working. Now just gotta add a whole buncha commands to do stuff.
« Last Edit: January 10, 2012, 08:29:25 PM by Gan »

Connors


  • ^ This guy is amazing.

  • ****


  • Posts: 2374

  • It's a secret to everyone...
Re: HTML5 Docs - I need your input
« Reply #29 on: January 10, 2012, 09:21:21 PM »
Hurray for doing STUFF!
Warning: The above post may have been modified multiple times.

"In a great game, the character must never perfectly obey the user's command"
 - Tim Rogers

http://connorspuzzles.tumblr.com/