Updated docs
This commit is contained in:
48
doc/files/update.html
Normal file
48
doc/files/update.html
Normal file
@@ -0,0 +1,48 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="stylesheet" href="style.css">
|
||||
<meta content="text/html; charset=UTF-8" http-equiv="content-type">
|
||||
<title>Update [RCBasic Doc] </title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<p><h2>sub Update() </h2></p>
|
||||
<p>
|
||||
This is the most important function in a graphics window. It must be called every frame.
|
||||
</p>
|
||||
<p>
|
||||
It performs a few different operations
|
||||
</p>
|
||||
<ol>
|
||||
<li>
|
||||
Renders all graphics
|
||||
</li>
|
||||
<li>
|
||||
Checks for every event on the window
|
||||
<ul>
|
||||
<li>
|
||||
Keyboard and Mouse Events
|
||||
</li>
|
||||
<li>
|
||||
Joystick Events
|
||||
</li>
|
||||
<li>
|
||||
Window Control Events (minimize, maximize, close, etc.)
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
Updates the physics simulation for 2D and 3D objects if enabled
|
||||
</li>
|
||||
<li>
|
||||
Makes breakfast if you are hungry
|
||||
</li>
|
||||
</ol>
|
||||
<p>
|
||||
If you have a window open, you should have this function being called in your main render loop every frame.
|
||||
</p>
|
||||
<p>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user