--
You received this message because you are subscribed to the Google Groups "brython" group.
To unsubscribe from this group and stop receiving emails from it, send an email to brython+u...@googlegroups.com.
To post to this group, send email to bry...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/brython/924d7a6e-d33b-4e5e-9bce-c5bda53d4245%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Hello.
I would be happy to see even it is messy. Can you send it to me ou put your draft code on the web ?
Christophe
To view this discussion on the web visit https://groups.google.com/d/msgid/brython/95afdf81-d906-4e85-9f23-e8f5335b7ae6%40googlegroups.com.
thanks, __random works nicely.
Using randint()
Dan
To view this discussion on the web visit https://groups.google.com/d/msgid/brython/d8113b0f-b89e-4c03-a451-c437d231c093%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/brython/a1ee458e-baf2-4325-ada1-d1d46784e948%40googlegroups.com.
I posted a very simple / basic example here :
http://webswap.free.fr/brythonrocks/simple.html
This shows the structure of a game.
Displaying text on the canvas
Dislaying an image on the canvas
Using a Timer
Keyboard event handling
Playing sounds
Integrating you Python classes / functions in all this
All the basics to create an HTML5 game with Brython :)
These examples don't work on Safari. :-( I'm using Safari on Mac OS X Yosemite and none of your links work here.
No game board showing here. :-( Is there some compatibility problem?
It works nice in Firefox, but not in Safari.
To view this discussion on the web visit https://groups.google.com/d/msgid/brython/14a9531293e.fe85cffd142267.3068040486571193760%40viniciusban.eu.org.
Hey Vinicius Assef,
Does Brython work n general (various demos on the Brython website) on Safari?
--
You received this message because you are subscribed to the Google Groups "brython" group.
To unsubscribe from this group and stop receiving emails from it, send an email to brython+u...@googlegroups.com.
To post to this group, send email to bry...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/brython/19594554-139a-4ae7-94a7-80bcbf9595f8%40googlegroups.com.
Looks like a question for Pierre Q. or others who know the internals of Brython. :)
Le vendredi 2 janvier 2015 16:39:08 UTC+1, dan d. a écrit :Looks like a question for Pierre Q. or others who know the internals of Brython. :)
Unfortunately I don't have an Apple so I can't test. The latest release fixed a bug that made Brython unusable on an iPhone (another Javascript compatibility problem : setting "throw" as an object attribute is ok for Firefox and Chrome, but throws an exception on Safari for the iPhone... I can tell you I had fun finding the bug !). It's fixed now, but seeing the attached error messages I don't think it was the same issueMight be a "Safari specific" problem.
Dan