We just released a Feb. 5 '89 prototype of DuckTales for the NES!
If you'd like to support our preservation efforts (and this wasn't cheap), please consider donating or supporting us on Patreon. Thank you!
If you'd like to support our preservation efforts (and this wasn't cheap), please consider donating or supporting us on Patreon. Thank you!
The Amazing World of Gumball: Sky Streaker
Jump to navigation
Jump to search
Games > Games by content > Games with unused code
Games > Games by content > Games with unused text
Games > Games by developer > Games developed by Cartoon Network Studios
Games > Games by platform > Adobe Flash games
Games > Games by publisher > Games published by Cartoon Network Studios
Games > Games by release date > Games released in 2015
Games > Games by series > Amazing World of Gumball series
| The Amazing World of Gumball: Sky Streaker |
|---|
|
Developer:
Cartoon Network Studios
|
Unused Text
some message here
Placeholder message.
Unused FPS Counter
package com.fox
{
import flash.display.*;
import flash.events.*;
import flash.system.*;
import flash.text.*;
import flash.utils.*;
public class fpsbox extends TextField
{
protected var format:TextFormat;
protected var fpsarray:Array;
protected var targetfps:int = 0;
protected var frames:uint = 0;
public function fpsbox(... args)
{
args = null;
frames = 0;
format = new TextFormat();
fpsarray = new Array();
targetfps = 0;
args = new Timer(1000);
format.font = "Verdana";
format.color = 0;
format.size = 10;
this.autoSize = TextFieldAutoSize.LEFT;
this.defaultTextFormat = format;
this.text = "-- FPS ---- AV";
args.addEventListener(TimerEvent.TIMER, tick);
if (args[0] is Stage)
{
args[0].addEventListener(Event.ENTER_FRAME, fpsloop, false, 0, true);
targetfps = args[0].frameRate;
}
else
{
this.addEventListener(Event.ENTER_FRAME, fpsloop, false, 0, true);
}
args.start();
return;
}// end function
public function fpsloop(event:Event) : void
{
var _loc_3:* = frames + 1;
frames = _loc_3;
return;
}// end function
protected function tick(event:TimerEvent) : void
{
var _loc_2:* = 0;
fpsarray.push(frames);
if (fpsarray.length == 4)
{
_loc_2 = 1;
while (_loc_2 < fpsarray.length)
{
fpsarray[0] = fpsarray[0] + fpsarray[_loc_2];
_loc_2++;
}
fpsarray.splice(1, (fpsarray.length - 1));
fpsarray[0] = fpsarray[0] / 4;
}
this.text = frames + " FPS " + Math.round(fpsarray[0]) + " AV | RAM: " + int(System.totalMemory / 1000000 * 100) / 100 + "Mb";
frames = 0;
return;
}// end function
}
}
A piece of code for an unseen FPS counter.
| The Amazing World of Gumball series | |
|---|---|
| Adobe Flash | Blind Fooled • Dino Donkey Dash • Class Spirits • Nightmare in Elmore • Battle Bowlers • Sky Streaker |
Games > Games by content > Games with unused code
Games > Games by content > Games with unused text
Games > Games by developer > Games developed by Cartoon Network Studios
Games > Games by platform > Adobe Flash games
Games > Games by publisher > Games published by Cartoon Network Studios
Games > Games by release date > Games released in 2015
Games > Games by series > Amazing World of Gumball series