Jump to content

for some reason this code:

// Run our game.
while (true)
{
    system.render();
    world.drawPoly(45, 100, 200, 45);
    FlipScreen();
};

relying on this function:

// Render the polygon to the screen at the defined position and angle.
grapler.prototype.drawPoly = function (angle, x, y, rotation)
{
    var cache = this.polygons[angle].image;
    cache = cache.rotate(rotation);
    cache.blit(x, y);
    
    system.pushEvent("grapler3D", "Drawing poly at X: " + x + " Y: " + y + " rotated to " + rotation + " degrees.");
};

Does this (I apologize for the poor gif quality):

untitled.thumb.gif.946b405f435f214516a9de0e61f4196d.gif

  1. SImoHayha

    SImoHayha

    Would make a good loading screen

  2. SilicateWielder

    SilicateWielder

    I agree. I'll probably use this bug to as the basis for creating a loading screen.

     

    Still though, I'm not sure why it's doing this, I need to look into this further.

×