i will maybe try to make a playdate game with pulp but i have a question ,
i know that there is a api for lua and another for c , and know that playdate have no gpu
but my question is , does the playdate have is own api like vulkan or opengl ?
Both of the above are also included with the SDK download.
If you're asking if the Playdate has a 3D API, the short answer is 'not really'.
There's an 3D Library example that can be used for 3D renders (though the camera implementation has issues that IMO make it impractical for use for other things), there's also some 3D mathstuffs tucked away in PlaydateSDK\Corelibs\3d.lua . But there's not anything like vulkan/opengl in the SDK itself.
Various folks have ported or otherwise rolled their own raycasting (2.5D ala Wolfenstein 3D) and 3D libraries, however. These tend to be written in C to be able to achieve acceptable performance on the Playdate.
I have said - yes - there is a graphics API, for 2D graphics.
It's available in both the Lua and C Playdate API.
The Playdate SDK API also includes sound and file handling and more. So it's more similar to DirectX (which does 2D, 3D , sound, etc) than Vulkan (which is only 3D afaik)