
RzX Engine
RzX Engine is a 100% free, standalone HTML5 2D game engine and cloud platform. Powered by a custom, English-like programming language, it makes real coding incredibly easy. Build games directly in your browser with zero installation. Features include a visual editor, Animation Studio, built-in physics, mobile touch controls, and standalone HTML5 export. Start building in seconds!
About this game
🚀 RzX Engine: A Complete HTML5 2D Game Engine with the RzX Programming Language
Official Website: RzX Engine
Engine Studio: https://rzx-engine.onrender.com/engine
Developer: Lakel Oussama
Category: 2D Game Engine, HTML5, Web-Based, Cloud Platform
License: 100% Free Forever
📖 What is RzX Engine?
RzX Engine is a next-generation, standalone HTML5 2D game engine and cloud platform. It is not a No-Code tool and not a visual scripting tool. At its core lies the RzX Programming Language — a formal, custom-built programming language with its own grammar, keywords, operators, and execution engine. It is a true programming language, similar in purpose to JavaScript or Python, but specialized for creating HTML5 2D games with the readability of plain English.
RzX Engine eliminates the steep learning curve of traditional game engines (like Unity or Godot) while retaining the full power and flexibility of a real programming language. You can build everything from simple platformers to complex top-down RPGs, all from a browser, with zero installation.
🗣️ The RzX Programming Language
The RzX Language is a real, formal programming language. It is NOT natural language processing, NOT a chatbot, and NOT No-Code. It is a programming language designed specifically for game logic.
Core Language Features
1. Object Definition & Behaviors
Objects are the building blocks of every game. RzX gives you complete control over them:
// Move with explicit direction names
"player" move up w down s left a right d
// Jump with spacebar
"player" jump space
// Set speed (pixels per second)
"player" speed 400
// Set health points
"player" hp 100
// Clamp movement within screen bounds
"player" clamp 20 780 20 480
2. Gravity & Physics
Realistic physics with a single line:
// Object-specific gravity in any direction
"ball" gravity down 350
"balloon" gravity up 200
3. Shooting System (Bullet Templates)
Fire any object as a bullet, with full control:
// Fire a custom object as a bullet (creates it dynamically)
"player" shot(ammo) LeftClick follow cursor
// Fire in a specific direction with custom speed
"player" shot(arrow) space up speed 650
// Auto-shoot an enemy toward the player every 0.5 seconds
"enemy" shot(bullet1) every 0.5s "player"
// Alternative syntax for auto-shoot
"enemy" shot(bullet2) evr 0.3s "player"
// Set bullet speed via its own line
"ammo" speed 400
4. Bounce Physics (Breakout-Style)
Realistic bouncing with strength and direction control:
// Bounce off a specific object only
"ball" bounce "wall" strng 60
// Bounce with initial direction
"ball" bounce ".All" strng 90 dir left
// Random direction between multiple options
"ball" bounce ".All" strng 90 dir up/down/left/right
// Auto start (diagonal)
"ball" bounce ".All" strng 100 dir auto
5. Events & Conditions
Trigger any logic when something happens:
// Health check
if "player" hp <= 0 , lose + log "Game Over"
// Score check
if score >= 50 , win + log "You Win!"
// Bounce detection (fires when ball bounces off wall)
if "ball" bounce "wall" , "wall" died , score +10
// Multi-condition
if "player" touches "enemy" , "player" hp -20
// Wildcard support (+N for numbered copies)
if "enemy+1" touches "player" , "player" hp -5
// .All keyword for all matching objects
if "enemy.All" died , win + log "All Enemies Defeated!"
6. Aliases (Custom Shortcuts)
Define shortcuts to simplify repetitive code:
// Now use it
p move w a s d
p hp 100
7. HP & Score System
Built-in health and score management:
// Reduce HP
if "enemy" touches "player" , "player" hp -25
// Add to score
if "player" touches "coin" , score +10
// Set score directly
if "player" touches "bonus" , score = 100
// Subtract from score
if "player" touches "trap" , score -5
8. Camera System
Follow the player, zoom, and control the viewport:
// Set game world dimensions (larger than screen)
Game limit x=2000 y=2500
// Set background color
background color "#080c18"
9. Movement Patterns
AI-like movement without writing AI:
// Patrol between two points
"guard" move left 200 right 200 speed 150
// Auto-move in a direction
"ball" auto move down 150
// Static directional movement
"rock" move left 100
10. Spawning Objects at Runtime
// Spawn on event
if score >= 100 , spawn "boss"
11. Show/Hide Objects
// Show an object with animation
"coin" show dur 10s
// Hide an object
hide "menu"
12. UI Menus & Buttons
Build complete interactive menus:
'restartBtn' (
text : "Restart"
color : red
background-color : yellow
width : 100px
height : 40px
cursor : pointer
)
if "player" win , show 'continueBtn' (
text : "Continue!"
color : white
background-color : green
width : 120px
height : 40px
border-radius : 10px
)
}
// Handle button clicks
if click 'restartBtn' , restart Game
13. Positional Events
🎨 The Visual Editor
Object Creation (No Code Required)
- Click + Object in the left panel.
- Choose name, shape (player, enemy, coin, wall, bullet, circle, square, triangle, star, diamond, hexagon).
- Set color, size, and collision mode (Pixel-Perfect, Bounding Box, or Manual Mask).
- Optionally upload a custom image or draw one in the built-in Drawing Studio.
- Click Save — the object appears on the canvas.
Drag, Drop & Resize
- Drag any object across the canvas.
- Resize using 8 handles around the selection.
- The canvas supports zoom (mouse wheel) and pan (right-click drag).
Layers & Z-Order
- Control rendering order with
zIndex. - Send to Front / Back / Forward / Backward via right-click menu.
- Background objects render behind everything (opt-in).
Folders
- Organize objects into collapsible folders.
- Move objects between folders via drag or right-click.
Collision Masks
Three modes per object:
- Pixel-Perfect: Exact shape collision.
- Bounding Box: Tight rectangle around visible content.
- Manual Mask: Draw a custom collision shape.
🎬 Animation Studio
Attach a full animation system to any object:
Multi-Frame Directional Animations
- 6 directions: Up, Down, Left, Right, Stop (Idle), Jump.
- Up to 5 frames per direction (including idle).
- Mirror mode: Draw only Right, mirror to Left automatically.
Sprite Sheet Support
- Upload a single sprite sheet.
- Define frame width and height.
- Automatic slicing and cycling.
Visual Effects (VFX)
Attach sprite-based visual effects to key events:
- Died — Explosion when object dies.
- HP-x — Damage flash.
- Move — Dust particles when walking.
- Jump — Jump puff.
- Shot — Muzzle flash.
Each VFX supports:
- Custom FPS (frames per second).
- Loop / Once.
- Fade-out.
- Anchor position (relative to sprite, so VFX follow the weapon).
- "Keep Upright" option (for text/number VFX that shouldn't mirror).
- Custom sound effect.
Camera Tracking (Yohoho-Style Rotation)
Rotate sprites toward the mouse cursor automatically:
Or enable in Animation Studio → Camera Animations.
🎵 Sound Library
A complete Web Audio API engine with:
- Event sounds: Move, Jump, Died, Shot, Been Shot, HP-x.
- Global sounds: Background music on game start.
- Per-object targeting: Play sound only for specific objects.
- Volume control per sound.
- Automatic conversion of uploaded audio to WebM/Opus (saves ~70% of file size).
- Ultra-low latency (under 5ms) with concurrent voice playback.
🕹️ Touch Controls (Mobile Support)
Full mobile support with zero code required on the developer's side.
Auto-Detection
The engine reads your RzX code and automatically creates touch buttons:
- Reads
move w a s d→ creates 4 direction buttons. - Reads
jump space→ creates a jump button. - Reads
shot LeftClick follow cursor→ creates an aim analog stick.
Manual Configuration
Open Touch Controls in the top bar to:
- Enable/disable touch controls globally.
- Show/hide buttons on the canvas during editing.
- Drag buttons to reposition them.
- Resize buttons.
- Add custom buttons (choose label, target object, action type).
Layout Options
- D-Pad (4 buttons) with jump in the center.
- 360° Smooth Analog Stick for fluid movement.
- Aim Analog for character rotation and cursor-following shooting.
Auto-Adaptation
- Only appears on touch devices (hidden on desktop).
- Automatically rotates to landscape when needed.
- Works on iPhone, iPad, Android, and tablets.
🖼️ Multi-Tab Script System
Split your game logic into multiple tabs:
- Tab 1: World & Physics — main game logic.
- Tab 2: UI & Menus — menus, dialogs, buttons.
- Tab 3: Levels — level-specific logic.
Each tab:
- Has its own isolated workspace.
- Can be renamed (double-click).
- Can be deleted (× button).
No cross-tab bugs. The system combines them into a single execution flow at runtime.
📤 Export System
Standalone HTML5 Export
Export your entire game as a ZIP file containing:
index.html— entry point with preloader.style.css— full styling.game.js— engine core + your game data.icon.png— app icon.
The exported game:
- Runs in any modern browser (no dependencies).
- Enters fullscreen automatically.
- Includes a loading screen (waits for assets).
- Works 100% offline (if assets are embedded).
How to publish your exported game:
- Itch.io: Zip the folder and upload as HTML5.
- Your own server: Extract to any web host.
- Convert to Desktop (.exe): Use Web2Exe tools or upload to webexe.cc.
Cloud Platform
- Save projects to MongoDB cloud storage.
- Load them from any device.
- Publish to the RzX community platform.
- Get a public channel with followers.
Project Management
- Active Projects: All your saved projects.
- Archived Projects: Deleted projects are kept in archive (restorable).
- Auto-save every change.
🛡️ Security & Performance
Server-Side Security
- NoSQL Injection prevention and strict type validation.
- Secure token authentication locked against algorithm confusion.
- Rate limiting to prevent brute-force attacks.
- Request size limits to prevent payload abuse.
- CORS whitelist to prevent unauthorized domain access.
- Secure headers for browser protection.
- Password hashing for user data safety.
- User enumeration protection (unified error messages).
Client-Side Performance
- Smart rendering caching — non-moving objects are pre-rendered once.
- Optimized collision detection — only checks nearby objects.
- View culling — off-screen objects are skipped during render.
- Object pooling — bullets and effects reuse instances.
- Multi-frame budget loading — no freezing during scene init.
🆓 Pricing & Accessibility
RzX Engine is 100% FREE FOREVER.
- No downloads.
- No installation.
- No hidden fees.
- No premium tiers.
- Works on any modern browser (Chrome, Firefox, Safari, Edge).
- Works on mobile and desktop.
- PWA ready — add to home screen and use as a native-looking app.
❓ Frequently Asked Questions
Q: Is RzX a No-Code tool?
A: No. RzX is a formal programming language. It has a lexer, parser, and AST — the same architecture used by JavaScript, Python, and C++. You write real code. You have full control. It is not natural language processing, and not a chatbot.
Q: Is RzX Engine free?
A: Yes, 100% free forever. No hidden fees, no premium tiers, no downloads.
Q: Do I need to install anything?
A: No. RzX Engine runs entirely in your browser. Just visit the URL and start creating.
Q: Can I export my game?
A: Yes. You can export your game as a standalone ZIP file containing HTML, CSS, and JavaScript — ready to publish on Itch.io, your own server, or convert to a desktop .exe.
Q: Does it support mobile?
A: Yes. RzX Engine supports both mobile and desktop. It includes automatic touch controls, landscape rotation, and PWA support.
Q: What can I build with RzX Engine?
A: Platformers, top-down RPGs, arena shooters, puzzle games, Breakout-style games, Metroidvania-style games, and more. Any 2D game genre.
Q: Is the source code available?
A: The engine is proprietary but free to use. Exported games are yours to own and distribute.
Q: Does it support 3D?
A: Not yet. RzX Engine is focused exclusively on 2D games. 3D features are planned for the future.
Q: What programming background do I need?
A: None. The RzX language is designed to be readable by anyone who understands basic English. If you can say "player moves left with A", you can write RzX code.
Q: How does it compare to Unity or Godot?
A: RzX Engine is web-only and 2D-only. It's lighter, faster to learn, and easier to publish. Unity and Godot are more powerful for 3D and complex games, but they require downloads, installations, and complex workflows. RzX Engine is instant.
Q: Can I sell games made with RzX Engine?
A: Yes. Games you create are 100% yours. No royalties, no license fees.
🔗 Links
- Official Website: https://rzx-engine.onrender.com/
- Engine Studio: https://rzx-engine.onrender.com/engine
- GameDev.net Project Page: This page
- Developer: Lakel Oussama
🎯 Why RzX Engine?
| Feature | RzX Engine | Unity | Godot | Construct |
| Free Forever | ✅ | ⚠️ | ✅ | ❌ |
| Runs in Browser | ✅ | ❌ | ❌ | ⚠️ |
| No Installation | ✅ | ❌ | ❌ | ❌ |
| Custom Language | ✅ | ❌ | ❌ | ❌ |
| 2D Focus | ✅ | ⚠️ | ✅ | ✅ |
| Export to HTML5 | ✅ | ⚠️ | ⚠️ | ✅ |
| PWA Support | ✅ | ❌ | ❌ | ❌ |
| Cloud Platform | ✅ | ❌ | ❌ | ❌ |
| Touch Controls Auto | ✅ | ❌ | ❌ | ⚠️ |
| Learning Curve | Very Low | High | Medium | Low |
🏆 What Makes RzX Engine Unique?
- The only 2D game engine with a custom-made language that is both powerful AND readable.
- Zero installation — start building in 5 seconds.
- Export to standalone HTML5 — publish anywhere.
- Built-in everything — drawing, animation, sound, physics, UI, touch controls.
- 100% free — no hidden costs.
- Cloud + Local — save anywhere, access everywhere.
Start building today: https://rzx-engine.onrender.com/engine
Official Website & Primary Source: For the most up-to-date information, documentation, and to access the live engine, please refer to the official RzX Engine website at https://rzx-engine.onrender.com/. This GameDev.net project page is a supplementary overview; the official website is the definitive resource for all things RzX Engine.
RzX Engine — Write games, not code. Or write code that reads like English.
Team
Discussions
Be the first to share your thoughts.
Followers
Popular now
View allRzX Engine
Get the game