Your project will be buildable for Android, PC, Web, everywhere. This game engine is open source and forever free. Please buy me a coffee is you like it! Send your game name and I will add it in the powered by ptk list.
- Easily loads PNG, BMP, TGA, 24Bits, 32Bits, with or without alpha transparency
- Easily loads Sound effects
- Easily loads Music playing in background
- OpenGL ES2 for fast graphics
- GLFM for fast maths
- OpenAL for fast audios
- Freetype2 fast Font text displays
- Splines and Nurbs
- System fontes draw suppot
- MultiTouch inputs support
- Accelerometer support
- EyeRetina supported
- iOS18 support
- Easily call HTTP requests
- Portrait & landscape support
- Tilemaps engine and editor
- Fast scrollings
- Sprites manager
- Physic Box2D
- Collisions detections slopes water grounds air ropes
- FileSystem
- KGraphic: Blit super fast, alpha, zoom, rotation.
- KFont: Render TTF fontes text.
- KInput: Key and touch input.
- KMusic: Music player
- KSound: Sound management with OpenAL.
- Clone this repository:
git clone https://github.com/brizzly/ptk.git
-
include /iPTKSources into your project
-
Example : xcode examples project in: /examples/Simple
- iOS Landscape
- iOS Portrait
- Android Portrait
- Load and display a sprite :
image = new KGraphic();
image->loadPicture("image.png");
image->blit(0, 0, 256, 256, 140, 80, a, z);
- Display lines :
graphic->drawLine(x, y, x2, y2, R, G, B, A, 1.0f);
- Display TTF text :
fonte = new KFont("neue.ttf", gameW, gameH);
fonte->RenderText(L"This is so COOL", 0, 0, 32);
- Load and play a sound or music :
sound = new KSound();
sound->loadSample("boing2.caf");
sound->setVolume(50);
music = new KMusic();
music->playMusic("menu.mp3");
- Read inputs:
sFinger fingerPos = KInput::getFinger(0);
int hitX, hitY = 0;
if(KInput::isScreenPressed(&hitX, &hitY) == true) {
}
- LIGHTFIELDS https://apps.apple.com/app/id1658981526
- ULTRANIUM https://apps.apple.com/app/space-breakout-ultranium/id6736717749
- GRIZZLY https://apps.apple.com/app/grizzly-adventures-crazy-bear-platformer/id357410945
- BARNEY https://apps.apple.com/app/barney-adventures/id502135523
- METAL-ANGEL https://apps.apple.com/app/metal-angel-best-shootem-up/id287261924
- GRIZZLY https://play.google.com/store/apps/details?id=com.jmapp.grizzlyandroid
- TAPTURTLE https://play.google.com/store/apps/details?id=com.jmapp.tapturtleandroid
- LIGHTFIELDS https://play.google.com/store/apps/details?id=com.jadegame.gl2jni
- ULTRANIUM https://play.google.com/store/apps/details?id=com.jmapp.ultranium
- GRIZZLY (macos) https://apps.apple.com/app/grizzly-retro-platformer/id413938360?mt=12
- ANDROID LODERUNNER (macos) https://apps.apple.com/app/android-best-retro-lode-runner/id412859612
- ANDROID2 (macos) https://apps.apple.com/app/android-2-retro-loderunner/id1347741576
- ANDROKIDS (macos) https://apps.apple.com/app/notebook-city-androkids/id1516357274
- BARNEY (macos) https://apps.apple.com/app/barney/id481853130
- ANDROKIDS2 (macos) https://apps.apple.com/app/androkids-2/id1516721499
- MARTY MCBLAST (macos) https://apps.apple.com/app/marty-mcblast/id870219886
- METAL-ANGEL (macos) https://apps.apple.com/app/metal-angel-shooter/id6544782954
- ULTRANIUM 3D (macos) https://apps.apple.com/app/ultranium3d/id413890023
- ULTRANIUM4 (macos) https://apps.apple.com/app/ultranium-4-breakout-shooter/id412207082
- ULTRANIUM5 (macos) https://apps.apple.com/app/ultranium-5-crazy-arcade-game/id431295311
- HALLOWEEN 3D (macos) https://apps.apple.com/app/halloween-3d/id1276055212
- GRIZZLY (pc) https://brizzlyy.itch.io/grizzly-adventures
- ANDROID LODERUNNER (pc) https://brizzlyy.itch.io/android-lode-runner
- ANDROID2 (pc) https://brizzlyy.itch.io/androkids2
- ANDROKIDS (pc) https://brizzlyy.itch.io/androkids
- BARNEY (pc) https://brizzlyy.itch.io/barney-adventures
- MARTY MCBLAST (pc) https://brizzlyy.itch.io/marty-mcblast
- METAL-ANGEL (pc) https://brizzlyy.itch.io/metal-angel-shoot-em-up
- ULTRANIUM4 (pc) https://brizzlyy.itch.io/ultranium-4
- ULTRANIUM5 (pc) https://brizzlyy.itch.io/ultranium-5