Yes, it is possible to make a 2-D action game using only
HTML5 and JavaScript. This paper describes the making
of such a game.
Making good graphics is a challenge and time-consuming,
so the graphics for this game are simple and crude. There is
room for artistically skilled people to contribute to a game
like this, in defining sprites and tiles.
The game engine was made alongside the game, and the
two depend upon the other. However, the game engine could
be used with another game entirely. The main challenge
would be to adjust the goal, and perhaps alter the interactions
between the user and items. The graphics would
need to be changed, too, however that only requires changing
XML data and preparing new Portable Network Graphic
(PNG) images.
Special object handling, e.g. what to do when the player’s
character encounters a trap, is handled within the game engine.
In the future, it would be good to put as much of this
as possible within the game’s XML data, such as what text
to show. However, it will not be possible to put all special
handling in the data.
The game is available at http://carmaux.cs.gsu.edu/
~mweeks/maze6/maze6.html, and web-pages related to it, including
earlier versions, can be found at http://carmaux.
cs.gsu.edu/~mweeks/js/index.html.
Yes, it is possible to make a 2-D action game using onlyHTML5 and JavaScript. This paper describes the makingof such a game.Making good graphics is a challenge and time-consuming,so the graphics for this game are simple and crude. There isroom for artistically skilled people to contribute to a gamelike this, in defining sprites and tiles.The game engine was made alongside the game, and thetwo depend upon the other. However, the game engine couldbe used with another game entirely. The main challengewould be to adjust the goal, and perhaps alter the interactionsbetween the user and items. The graphics wouldneed to be changed, too, however that only requires changingXML data and preparing new Portable Network Graphic(PNG) images.Special object handling, e.g. what to do when the player’scharacter encounters a trap, is handled within the game engine.In the future, it would be good to put as much of thisas possible within the game’s XML data, such as what textto show. However, it will not be possible to put all specialhandling in the data.The game is available at http://carmaux.cs.gsu.edu/~mweeks/maze6/maze6.html, and web-pages related to it, includingearlier versions, can be found at http://carmaux.cs.gsu.edu/~mweeks/js/index.html.
การแปล กรุณารอสักครู่..
