@mdjb4/

p5.js Game Starter

HTML, CSS, JS

Created by @theangryepicbanana | Written in p5.js, use the arrow keys to control the square. Add more to this repl to make it a game!

fork
loading
Files
  • index.html
  • script.js
  • style.css
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<meta name="viewport" content="width=device-width">
		<title>repl.it</title>
		<link href="style.css" rel="stylesheet" type="text/css" />
	</head>
	<body>
		<script src="https://cdnjs.cloudflare.com/ajax/libs/p5.js/0.7.3/p5.min.js"></script>
		<script src="script.js"></script>
	</body>
</html>
result
console