Example #1
0
def update( delta ):
	global scrollX
	global scrollY
	
	PC.markDirty()
	
	scrollX += (rightDown - leftDown) * 2
	scrollY += (downDown - upDown) * 2
	
	map.update(delta, scrollX, scrollY)
Example #2
0
def update(delta):

    # Tell the engine that we need to call the draw function
    PC.markDirty()

    # update the player
    player.update(delta)

    # update the things
    for t in things:
        t.update(delta)
Example #3
0
def update( delta ):
    
    # Tell the engine that we need to call the draw function
    PC.markDirty()

    # update the player
    player.update( delta )
    
    # update the things
    for t in things:
        t.update( delta )
Example #4
0
def update( delta ):
    PC.markDirty()
Example #5
0
def update(delta):
    PC.markDirty()
Example #6
0
def update( delta ):
	PC.markDirty()

	player.update(delta)