Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
momg [2024/10/16 04:10] GlitchyZoruamomg [2024/10/28 23:56] (current) – [Trivia] GlitchyZorua
Line 30: Line 30:
 ====== Trivia ====== ====== Trivia ======
 - The First Room is always the same 8 gifs! - The First Room is always the same 8 gifs!
 +
 +====== Breaking the code ======
 +
 +Forcefully go to the next room
 +<code>
 +room();</code> 
 +
 +You can also do this as well
 +<code>
 +newRoom();</code>
 +
 +
 +Puts the graphic in a frame
 +{{ ::screenshot_2024-10-28_at_15-44-04_html_online_viewer.png?400|}}
 +
 +<code>
 +<link rel="stylesheet" type="text/css" href="https://momg.neocities.org/frames.css" /><div class="picture-frame-1"><img src="https://momg.neocities.org/gifs/i-41399.gif" /></div>
 +</code>
 +
 +Random name generator
 +<code>
 +<script src="https://momg.neocities.org/names.js" charset="utf-8"></script><script>alert(randomFullName());</script>
 +</code>
 +
 +Audio Toggle
 +<code>
 +audioToggle();
 +</code>
 +
 +
 +Sets the number of paintings in a room
 +<code>
 +g.settings.minRoomSize // 5
 +</code>
 +
 +<code>
 +g.settings.maxRoomSize // 25
 +</code>
 +
 +Optimizations for the back button.
 +<code>
 +updateHistory()</code>
 +
 +Tells if song should be on or off.
 +<code>
 +g.global.playMusic // true
 +</code>
 +
 +Outputs the total amount of gifs in the gallery
 +<code>
 +g.settings.frameSize</code>
 +
 +