I´m trying to make a javascript html canvas platformer game.
How can I scroll the screen when the character moves?
it is based off of the new <canvas> element.
A platformer is a game like mario, etc where you move left and right and can jump etc.
I´m trying to make a javascript html canvas platformer game.
How can I scroll the screen when the character moves?
it is based off of the new <canvas> element.
A platformer is a game like mario, etc where you move left and right and can jump etc.
what I'm trying to do is edit some HTML code using PHP...
kind of like the javascript "innerHTML"
this is what i mean:
<html>
<p id="myP">
blah blah bla
</p>
</html>
<?php
// I want to change the content of "myP"
?>