Did I find the right examples for you? yes no

All Samples(854)  |  Call(0)  |  Derive(0)  |  Import(854)
pyglet is a cross-platform games and multimedia package.

Detailed documentation is available at http://www.pyglet.org

src/c/o/cocos2d-HEAD/samples/tetrico/tetrico.py   cocos2d(Download)
from cocos.text import *
 
import pyglet
from pyglet import gl, font
from pyglet.window import key

src/c/o/cocos2d-HEAD/samples/tetrico/soundex.py   cocos2d(Download)
#
from constants import MUSIC, SOUND
import pyglet
 
try:

src/c/o/cocos2d-HEAD/samples/tetrico/HUD.py   cocos2d(Download)
from cocos.actions import *
 
import pyglet
from pyglet.gl import *
 

src/c/o/cocos2d-HEAD/samples/tetrico/gamemodel.py   cocos2d(Download)
 
# pyglet related
import pyglet
 
# cocos2d related

src/c/o/cocos2d-HEAD/samples/tetrico/gamectrl.py   cocos2d(Download)
 
# pyglet related
import pyglet
from pyglet.window import key
 

src/c/o/cocos2d-HEAD/samples/tetrico/colors.py   cocos2d(Download)
import pyglet
 
class Colors( object ):
    colors = ['black','orange','red','yellow','cyan','magenta','green','blue',
            'black',        # don't remove

src/c/o/cocos2d-HEAD/samples/presentation/presentation.py   cocos2d(Download)
from cocos.director import director
 
import pyglet
from pyglet import font, image
from pyglet.gl import *

src/c/o/cocos2d-HEAD/samples/presentation/presentacion.py   cocos2d(Download)
from cocos.director import director
 
import pyglet
from pyglet import font, image
from pyglet.gl import *

src/c/o/cocos2d-0.5.5/samples/tetrico/tetrico.py   cocos2d(Download)
from cocos.text import *
 
import pyglet
from pyglet import gl, font
from pyglet.window import key

src/c/o/cocos2d-0.5.5/samples/tetrico/soundex.py   cocos2d(Download)
#
from constants import MUSIC, SOUND
import pyglet
 
try:

  1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9  Next