-
Notifications
You must be signed in to change notification settings - Fork 0
/
docs.html
57 lines (42 loc) · 1006 Bytes
/
docs.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Blipsy DOCS</title>
<style type="text/css">
body {
background: #250f2e;
}
h2 {
color: white;
}
p{
color: white;
margin: 5px;
}
</style>
</head>
<body>
<a href="./">Back</a>
<h1 style="color: #FFFFFF;">
Docs
</h1>
<p>
<h2>Draws the sprite that is stored in it's respective ID at x and y</h2>
<p>Blipsy.drawSprite(id, x, y)</p>
<h2>Draws pixel at x and y</h2>
<p>Blipsy.drawPixel(x, y)</p>
<h2>Clears screen</h2>
<p>Blipsy.clearScreen()</p>
<h2>Get the mouse x and y</h2>
<p>Blipsy.mouse.x</p>
<p>Blipsy.mouse.y</p>
<h2>Check is a key is pressed</h2>
<p>Blipsy.keys["ArrowUp"] //ArrowUp, ArrowDown, Space, etc</p>
<h2>Plays a tone for a split second</h2>
<p>Blipsy.beepTone(hertz)</p>
<h2>Yep, that is all you need to start making programs with blipsy!</h2>
</p>
</body>
</html>