Skip to content

olcPixelGameEngine v2.29

Choose a tag to compare

@Moros1138 Moros1138 released this 22 Apr 09:29
· 35 commits to master since this release
66e5982

Hardware 3D Rendering & Efficient Keyboard Interrogation

  • GetKeyPressCache() - [ADVANCED] Returns vector of keycodes encountered this frame (thanks discord/carbon13)
  • Added ConvertKeycode() - [ADVANCED] Converts system keycode to olc::Key
  • Added GetKeySymbol() - [ADVANCED] Returns 'character' associated with an olc::Key (with modifiers)
  • Added HW3D_Projection() - Sets a hardware projection matrix for 3D rendering
  • Added HW3D_EnableDepthTest - Sets whether 3D rendered objects should be depth tested
  • Added HW3D_SetCullMode - Sets which faces of a 3D rendered model are visible
  • Added HW3D_DrawObject - Draw a 3D mesh using hardware
  • Added HW3D_DrawLine - Draw a 3D line usingh hardware
  • Added HW3D_DrawLineBox - Draw a 3D box using hardware
  • Added adv_FlushLayerGPUTasks - [ADVANCED] Prematurely drain GPUTasks for immediate buffer update
  • Added polylines as drawable decal structures
  • Updated Geometry2D to support non-segment line intersections
  • Added olcUTIL_Hardware3D.h file v1.01
  • NOTICE OF DEPRECATION! olc::DecalInstance is to be removed and replaced by olc::GPUTask