Author Topic: My browser based game building platform  (Read 18939 times)

0 Members and 1 Guest are viewing this topic.

Offline JL235

  • LV3 Member (Next: 100)
  • ***
  • Posts: 57
  • Rating: +13/-0
    • View Profile
    • Play My Code
Re: My browser based game building platform
« Reply #45 on: December 14, 2011, 10:31:09 am »
The problem with writing a new parser in Python, is that the implementations would probably end up drifting. New features and bug fixes would need to be built twice, and you would also find bugs in one implementation that are not present in the other.

I'd be more interested in re-writing in JS, as then it could be used for both desktop (using say V8 or Java/Rhino) and for the web. The compiler is also about 10,000 lines, which excludes the Quby libraries (String, Array, Hash, Function, Image, Controlls, Sound, etc), and I'd rather re-use as much as that as I could for any desktop port. The only bit that really needs re-building is the grammar, where the structure is formed.
Build games in the browser at PlayMyCode.com, @playmycode

Offline Spyro543

  • LV9 Veteran (Next: 1337)
  • *********
  • Posts: 1189
  • Rating: +74/-3
    • View Profile
Re: My browser based game building platform
« Reply #46 on: December 23, 2011, 09:46:23 am »
Is there a command for checking the color of a certian pixel? That would be useful, if there isn't one already.

Offline JL235

  • LV3 Member (Next: 100)
  • ***
  • Posts: 57
  • Rating: +13/-0
    • View Profile
    • Play My Code
Re: My browser based game building platform
« Reply #47 on: December 23, 2011, 08:32:59 pm »
Is there a command for checking the color of a certian pixel? That would be useful, if there isn't one already.
There is, although indirectly. You can call the 'getScreenshot' function to get a copy of the screen as an image. On the Image object you can then call the 'getPixel' methods, or similar ones such as 'getPixelRed', to get specific pixels from the canvas.
Build games in the browser at PlayMyCode.com, @playmycode

Offline JL235

  • LV3 Member (Next: 100)
  • ***
  • Posts: 57
  • Rating: +13/-0
    • View Profile
    • Play My Code
Re: My browser based game building platform
« Reply #48 on: January 06, 2012, 01:07:29 pm »
and the paint editor I built for the site, has just been made a Chrome Experiment. Yay!
Build games in the browser at PlayMyCode.com, @playmycode

Offline flyingfisch

  • I'm 1337 now!
  • Members
  • LV10 31337 u53r (Next: 2000)
  • **********
  • Posts: 1620
  • Rating: +94/-17
  • Testing, testing, 1...2...3...4...5...6...7...8..9
    • View Profile
    • Top Page Website Design
Re: My browser based game building platform
« Reply #49 on: January 06, 2012, 01:18:53 pm »
and the paint editor I built for the site, has just been made a Chrome Experiment. Yay!
Nice paint program :)



Quote from: my dad
"welcome to the world of computers, where everything seems to be based on random number generators"



The Game V. 2.0