Aegis2D
Modular C++26 2D game engine for networked games
Loading...
Searching...
No Matches
render Directory Reference

Directories

 opengl
 

Files

 bitmap_font.hpp
 Text drawn with a bitmap font, through the sprite batcher.
 
 camera.hpp
 2D camera: the part of a world larger than the screen that is shown.
 
 color.hpp
 RGBA color used by the renderer.
 
 color_vision.hpp
 How colors look to players with a color vision deficiency, and how far apart they look, to check that a palette stays readable for everyone.
 
 controls_table.hpp
 Drawing the game's controls as a two-column table, for a reminder screen.
 
 headless_renderer.hpp
 Renderer that draws nothing and records what it is given.
 
 image.hpp
 Images in memory: loaded from files, generated by the engine, saved as PNG.
 
 letterbox.hpp
 A fixed logical screen scaled into a window of any size, keeping its aspect ratio.
 
 metrics_overlay.hpp
 Frame metrics and the overlay that shows them: frames per second, a graph of the frame times, entities, sprites and draw calls.
 
 module.hpp
 Entry header of the aegis2d::render module.
 
 particles.hpp
 Particle emitters: sparks, smoke and trails that live for a while, then fade.
 
 player_style.hpp
 Colors and shape markers that tell the players apart, color blindness included.
 
 renderer.hpp
 Backend-independent renderer interface and the sprite it draws.
 
 screen_effects.hpp
 Screen flashes and shake, with the player's option to turn them off.
 
 sound_cues.hpp
 On-screen cues for important sounds, so the game can be played without sound.
 
 sprite_batch.hpp
 Grouping the sprites of a frame into as few draw calls as possible.
 
 sprite_sheet.hpp
 Frames of a sprite sheet: the rectangles of a texture that a sprite shows in turn.
 
 starfield.hpp
 Parallax starfield: layers of stars scrolling at their own speed, driven by time.
 
 text_layout.hpp
 The player's text size, and laying text out so that larger text never overlaps.
 
 texture_manager.hpp
 Textures loaded once and found by name.
 
 tile_map.hpp
 Tiled maps (.tmj) and their tilesets (embedded or .tsj), loaded from JSON.
 
 tile_map_view.hpp
 Tile layers of a Tiled map drawn as sprites, culled to the camera.