SDL plugin how-to

From CCTools
(Difference between revisions)
Jump to: navigation, search
(Created page with "SDL plugin includes next libraries: * SDL2 http://www.libsdl.org/ * SDL2_image http://www.libsdl.org/projects/SDL_image/ * SDL2_mixer http://www.libsdl.org/projects/SDL_mixer...")
 
 
(One intermediate revision by one user not shown)
Line 17: Line 17:
 
* showimage - show image (SDL_image library)
 
* showimage - show image (SDL_image library)
 
* testgesture - android multitouch test
 
* testgesture - android multitouch test
 +
 +
Find examples on internal SD card CCTools/Examples/SDL directory. Use Makefile to build and run examples. Open Makefile, type button Build (play icon with gears), type run in parameters for Make utility and press Continure to build and run.
 +
 +
Quick build and run from source file is not supported yet for SDL applications.

Latest revision as of 21:42, 30 December 2013

SDL plugin includes next libraries:

Included examples:

  • draw2 - draw random rectangles
  • drawchessboard - draw chess board
  • gles2example - GLES2 example (your device must support GLES2 to run this example!)
  • glesexample - GLES example
  • playmus - play ogg file (SDL_mixer library)
  • showfont - print string with ttf font (SDL_ttf library)
  • showimage - show image (SDL_image library)
  • testgesture - android multitouch test

Find examples on internal SD card CCTools/Examples/SDL directory. Use Makefile to build and run examples. Open Makefile, type button Build (play icon with gears), type run in parameters for Make utility and press Continure to build and run.

Quick build and run from source file is not supported yet for SDL applications.

Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox