olcPixelGameEngine

The official distribution of olcPixelGameEngine, a tool used in javidx9's YouTube videos and projects

OTHER License

Stars
3.7K
Committers
3

Bot releases are visible (Hide)

olcPixelGameEngine - olcPixelGameEngine v2.25 Latest Release

Published by Moros1138 5 months ago

  • Added DrawPolygonDecal(pos, tex, w, col)
olcPixelGameEngine - olcPixelGameEngine v2.24

Published by Moros1138 5 months ago

  • Fixed FillTexturedTriangle() to remove const-ref
olcPixelGameEngine - olcPixelGameEngine v2.23

Published by Moros1138 over 1 year ago

  • Fixed Emscripten host sizing errors - Thanks Moros
  • Fixed v2d_generic.clamp() function
olcPixelGameEngine - olcPixelGameEngine v2.22

Published by Moros1138 over 1 year ago

  • Fix typo on dragged file buffers for unicode builds
olcPixelGameEngine - olcPixelGameEngine v2.21

Published by Moros1138 almost 2 years ago

  • Emscripten Overhaul - Thanks Moros!
  • Added DrawPolygonDecal() tint overload, can now tint a polygon accounting for vertex colours
  • Added Multiplicative Pixel overload
  • Added v2d_generic clamp()
  • Added v2d_generic lerp()
  • Added GetDroppedFiles() - returns files dropped onto engine window for that frame (MSW only)
  • Added GetDroppedFilesPoint() - returns location of dropped files (MSW only)
  • Added Exposed OpenGL33 Loader interface so the typedefs can be shared with PGEX & user
  • Added Fix OGL33 DecalStructure types - wow, how did that one get missed?? lol
  • Added FillTexturedTriangle() - Software rasterizes a textured, coloured, triangle
  • Added FillTexturedPolygon() - Hijacks DecalStructure for configuration
  • Added olc::vf2d arguments for Sprite::Sample() functions
olcPixelGameEngine - olcPixelGameEngine v2.20

Published by Moros1138 almost 2 years ago

  • Added DrawRectDecal() - Keeps OneSketchyGuy quiet
  • Added GetScreenSize()
  • Added olc::Sprite::Size() - returns size of sprite in vector format
olcPixelGameEngine - olcPixelGameEngine v2.19

Published by Moros1138 about 2 years ago

  • Built in font is now olc::Renderable
  • Added EnablePixelTransfer() - Gate if layer content transfers occur (speedup in decal only apps)
  • Added TextEntryEnable() - Enables/Disables text entry mode
  • Added TextEntryGetString() - Gets the current accumulated string in text entry mode
  • Added TextEntryGetCursor() - Gets the current cursor position in text entry mode
  • Added IsTextEntryEnabled() - Returns true if text entry mode is activated
  • Added OnTextEntryComplete() - Override is called when user presses "ENTER" in text entry mode
  • Added Potential for regional keyboard mappings - needs volunteers to do this
  • Added ConsoleShow() - Opens built in command console
  • Added ConsoleClear() - Clears built in command console output
  • Added ConsoleOut() - Stream strings to command console output
  • Added ConsoleCaptureStdOut() - Capture std::cout by redirecting to built-in console
  • Added IsConsoleShowing() - Returns true if console is currently active
  • Added OnConsoleCommand() - Override is called when command is entered into built in console
olcPixelGameEngine - olcPixelGameEngine v2.17

Published by Moros1138 over 2 years ago

  • Added Clipping for DrawLine() functions
  • Reintroduced sub-pixel decals
  • Added Modified DrawPartialDecal() to quantise and correctly sample from tile atlasses
  • Added olc::Sprite::GetPixel() - Clamp Mode
olcPixelGameEngine - olcPixelGameEngine v2.16

Published by Moros1138 over 3 years ago

  • Fixed Emscripten JS formatting in VS IDE (thanks Moros)
  • Added "Headless" Mode
  • Added DrawLineDecal()
  • Added Mouse Button Constants
  • Added Move Constructor for olc::Renderable
  • Added Polar/Cartesian conversion for v2d_generic
  • Added DrawRotatedStringDecal()/DrawRotatedStringPropDecal() (thanks Oso-Grande/Sopadeoso (PR #209))
  • =Using olc::Renderable for layer surface
  • Added Major Mac and GLUT Update (thanks Mumflr)
olcPixelGameEngine - olcPixelGameEngine v2.15

Published by Moros1138 over 3 years ago

  • Added WASM Platform (via Emscripten) - Big Thanks to OLC Community - See Platform for details
  • Added Sample Mode for Decals
  • Added Made olc_ConfigureSystem() accessible
  • Added Added OLC_----_CUSTOM_EX for externalised platforms, renderers and image loaders
  • =Refactored olc::Sprite pixel data store
  • Deprecating LoadFromPGESprFile()
  • Deprecating SaveToPGESprFile()
  • Fix Pixel -= operator (thanks Au Lit)
olcPixelGameEngine - olcPixelGameEngine v2.14

Published by Moros1138 over 3 years ago

  • Fixed WIN32 Definition reshuffle
  • Fixed DrawPartialDecal() - messed up dimension during renderer experiment, didnt remove junk code, thanks Alexio
  • Fixed? Strange error regarding GDI+ Image Loader not knowing about COM, SDK change?
olcPixelGameEngine - olcPixelGameEngine v2.13

Published by Moros1138 over 3 years ago

  • Added GetFontSprite() - allows access to font data
olcPixelGameEngine - olcPixelGameEngine v2.12

Published by Moros1138 over 3 years ago

  • Fix for MinGW compiler non-compliance :( - why is its sdk structure different?? why???

From Unreleased v2.11

  • Made PGEX hooks optional - (provide true to super constructor)

From Unreleased v2.10

  • Fix PixelLerp() - oops my bad, lerped the wrong way :P
  • Fix "Shader" support for strings - thanks Megarev for crying about it
  • Fix GetTextSizeProp() - Height was just plain wrong...
  • Added vec2d operator overloads (element wise *=, /=)
  • Added vec2d comparison operators... :| yup... hmmmm...
  • Added vec2d ceil(), floor(), min(), max() functions - surprising how often I do it manually
  • Added DrawExplicitDecal(... uint32_t elements) - complete control over convex polygons and lines
  • Added DrawPolygonDecal() - to keep Bispoo happy, required significant rewrite of EVERYTHING, but hey ho
  • Added Complete rewrite of decal renderer
  • Added OpenGL 3.3 Renderer (also supports Raspberry Pi)
  • Added PGEX Break-In Hooks - with a push from Dandistine
  • Added Wireframe Decal Mode - For debug overlays
olcPixelGameEngine - olcPixelGameEngine v2.09

Published by Moros1138 almost 4 years ago

  • Fix olc::Renderable Image load error - Thanks MaGetzUb & Zij-IT for finding and moaning about it
  • Fix file rejection in image loaders when using resource packs
  • Tidied Compiler defines per platform - Thanks slavka
  • Pedant fixes, const correctness in parts
  • Added DecalModes - Normal, Additive, Multiplicative blend modes
  • Added Pixel Operators & Lerping
  • Added Filtered Decals - If you hate pixels, then erase this file
  • Added DrawStringProp(), GetTextSizeProp(), DrawStringPropDecal() - Draws non-monospaced font
olcPixelGameEngine - olcPixelGameEngine v2.08

Published by Moros1138 about 4 years ago

  • Fix SetScreenSize() aspect ratio pre-calculation
  • Fix DrawExplicitDecal() - stupid oversight with multiple decals
  • Disabled olc::Sprite copy constructor
  • Added olc::Sprite Duplicate() - produces a new clone of the sprite
  • Added olc::Sprite Duplicate(pos, size) - produces a new sprite from the region defined
  • Added Unary operators for vectors
  • More pedant mollification - Thanks TheLandfill
  • ImageLoader modules - user selectable image handling core, gdi+, libpng, stb_image
  • Mac Support via GLUT - thanks Mumflr!
olcPixelGameEngine - olcPixelGameEngine v2.07

Published by Moros1138 about 4 years ago

  • GetPixelSize() - returns user specified pixel size
  • GetScreenPixelSize() - returns actual size in monitor pixels
  • Pixel Cohesion Mode (flag in Construct()) - disallows arbitrary window scaling
  • Working VSYNC in Windows windowed application - now much smoother
  • Added string conversion for olc::vectors
  • Added comparator operators for olc::vectors
  • Added DestroyWindow() on windows platforms for serial PGE launches
  • Added GetMousePos() to stop TarriestPython whinging
olcPixelGameEngine - olcPixelGameEngine v2.06

Published by Moros1138 about 4 years ago

  • Added GetTextSize() - returns area occupied by multiline string
  • Added GetWindowSize() - returns actual window size
  • Added GetElapsedTime() - returns last calculated fElapsedTime
  • Added GetWindowMouse() - returns actual mouse location in window
  • Added DrawExplicitDecal() - bow-chikka-bow-bow
  • Added DrawPartialDecal(pos, size) - draws a partial decal to dpecified area
  • Added FillRectDecal() - draws a flat shaded rectangle as a decal
  • Added GradientFillRectDecal() - draws a rectangle, with unique colour corners
  • Added Modified DrawCircle() & FillCircle() - Thanks IanM-Matrix1 (#PR121)
  • Minor changes to appease pedants
olcPixelGameEngine - olcPixelGameEngine v2.05

Published by Moros1138 about 4 years ago

  • Added DrawPartialWarpedDecal()
  • Added DrawPartialRotatedDecal()
olcPixelGameEngine - olcPixelGameEngine v2.04

Published by Moros1138 about 4 years ago

  • Fixed Windows Full-Screen bug
olcPixelGameEngine - olcPixelGameEngine v2.03

Published by Moros1138 about 4 years ago

  • Added DrawStringDecal()
  • Added FreeBSD support