This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <title>Leetspeak Name Tracker</title> | |
| <style> | |
| :root { | |
| --bg: #0b1020; | |
| --panel: #121936; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0" /> | |
| <title>Leetspeak Name Tracker</title> | |
| <style> | |
| :root { | |
| --bg: #0b1020; | |
| --panel: #121936; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <html lang="en"> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"> | |
| <title>2D Zone Platformer</title> | |
| <style> | |
| html,body{margin:0;height:100%;overflow:hidden;background:#87cfff;touch-action:none} | |
| canvas{display:block;width:100vw;height:100vh;image-rendering:pixelated} | |
| #hud{position:fixed;left:8px;top:8px;color:#fff;font:14px monospace;text-shadow:0 1px 2px #0008;user-select:none} | |
| </style> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <html lang="en"> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"> | |
| <title>2D Zone Platformer</title> | |
| <style> | |
| html,body{margin:0;height:100%;overflow:hidden;background:#87cfff;touch-action:none} | |
| canvas{display:block;width:100vw;height:100vh;image-rendering:pixelated} | |
| #hud{position:fixed;left:8px;top:8px;color:#fff;font:14px monospace;text-shadow:0 1px 2px #0008;user-select:none} | |
| </style> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <html lang="en"> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"> | |
| <title>2D Zone Platformer</title> | |
| <style> | |
| html,body{margin:0;height:100%;overflow:hidden;background:#87cfff;touch-action:none} | |
| canvas{display:block;width:100vw;height:100vh;image-rendering:pixelated} | |
| #hud{position:fixed;left:8px;top:8px;color:#fff;font:14px monospace;text-shadow:0 1px 2px #0008;user-select:none;white-space:pre} | |
| #gameover{position:fixed;inset:0;display:none;align-items:center;justify-content:center;color:#fff;font:700 54px monospace;text-shadow:0 4px 0 #000c;background:rgba(0,0,0,.18);pointer-events:none} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <html lang="en"> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"> | |
| <title>2D Zone Platformer</title> | |
| <style> | |
| html,body{margin:0;height:100%;overflow:hidden;background:#87cfff;touch-action:none} | |
| canvas{display:block;width:100vw;height:100vh;image-rendering:pixelated} | |
| #hud{position:fixed;left:8px;top:8px;color:#fff;font:14px monospace;text-shadow:0 1px 2px #0008;user-select:none;white-space:pre} | |
| #screen{position:fixed;inset:0;display:none;align-items:center;justify-content:center;color:#fff;font:700 54px monospace;text-shadow:0 4px 0 #000c;background:rgba(0,0,0,.18);pointer-events:none} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!doctype html> | |
| <html lang="en"> | |
| <meta charset="utf-8"> | |
| <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"> | |
| <title>2D Zone Platformer</title> | |
| <style> | |
| html,body{margin:0;height:100%;overflow:hidden;background:#87cfff;touch-action:none} | |
| canvas{display:block;width:100vw;height:100vh;image-rendering:pixelated} | |
| #hud{position:fixed;left:8px;top:8px;color:#fff;font:14px monospace;text-shadow:0 1px 2px #0008;user-select:none;white-space:pre} | |
| #screen{position:fixed;inset:0;display:none;align-items:center;justify-content:center;color:#fff;font:700 54px monospace;text-shadow:0 4px 0 #000c;background:rgba(0,0,0,.18);pointer-events:none} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #define UNICODE | |
| #define NOMINMAX | |
| #include <windows.h> | |
| #include <windowsx.h> | |
| #include <dwmapi.h> | |
| #include <chrono> | |
| #include <thread> | |
| #include <algorithm> | |
| #include <string> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #include <windows.h> | |
| int WINAPI wWinMain(HINSTANCE hInstance, HINSTANCE, PWSTR, int) { | |
| EasyWindow win; | |
| win.title = L"Simple Game Window"; | |
| win.width = 1600; | |
| win.height = 900; | |
| win.fps(60); | |
| win.onUpdate = [](float dt) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| EasyWindow win; | |
| win.title = L"My Game"; | |
| win.width = 1280; | |
| win.height = 720; | |
| win.fps(120); | |
| win.onUpdate = [](float dt) { | |
| // game logic | |
| }; |