https://github.com/arkenidar/js_game_svg
SVG based Jump-n-Run game system
https://github.com/arkenidar/js_game_svg
game svg web
Last synced: 11 months ago
JSON representation
SVG based Jump-n-Run game system
- Host: GitHub
- URL: https://github.com/arkenidar/js_game_svg
- Owner: arkenidar
- Created: 2020-07-24T14:25:53.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-01T07:53:51.000Z (over 3 years ago)
- Last Synced: 2025-07-25T19:42:49.001Z (11 months ago)
- Topics: game, svg, web
- Language: JavaScript
- Homepage: https://arkenidar.github.io/js_game_svg/game.html
- Size: 83 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# js_game_svg
This project is a modern experiment toward adapting SVG editor (e.g. Inkscape) to 2D game levels design (e.g. of jump-and-run kind).
Of course there must be something to define rules and logic of the game and that is done by JavaScript code.
HTML is what keeps elements together (a web-browser like Firefox is needed).
CSS is used to define the visual part e.g. CSS classes for visual elements of the same kind.
This should work in all web browsers on all platforms (tested on Firefox and Safari).
Input should be provided via keyboard or visual keyboard on touchscreens where keyboard is not available.
Screen size of different kind should be handled, including orientation of the screen on mobiles and tablets.
This code is a port from a similar effort in HTML 2D game (but without using SVG), currently is more similar to a rewrite, but I am importing good features from its predecessor.
Enjoy!