Universal Script 📌
90.2k Views
8.4k Executions

fd neko

Universal Script 📌
nicn1202ff
nicn1202ffPublished 10
3 years ago
Get an executor
Please login to perform these actions:

Does it work?

No reports yet

No reports yet. Tried it? Be the first to say.

Also noticed:

Description

good

Updates

  1. Script edited: Create script

View Raw
//Neko Class

var NekoNin = gamecore.Base.extend('NekoNin',
	{
		nekoAnim:'',
		bmpAnimation:'',
		spriteSheet:''
	},

	{
		hp:1000,
		lastFireTime:0,
		nekoState : 'nekoIdle',
		nekoState2 : 'nekoIdle',
		nekoJump : false,
		jumpSpeedLimit : 15,
		jumpSpeed : 15,

		init: function()
		{
			this.Class.nekoAnim=new Image();
			this.Class.nekoAnim.onload = this.handleImageLoad;
    		this.Class.nekoAnim.onerror = this.handleImageError;
			this.Class.nekoAnim.src= 'img/MonsterARun.png';
			console.log(this);
		},

		handleImageLoad: function(e)
		{
			console.log(this);
			this.Class.spriteSheet = new createjs.SpriteSheet({
			    // image to use
			    images: [this], 
			    // width, height & registration point of each sprite
			    frames: { width: 64, height: 64, regX: 32, regY: 32 }, 
			    // To slow down the animation loop of the sprite, we set the frequency to 4 to slow down by a 4x factor
			    animations: {
			        walk: [0, 9, "walk", 4]
			    }
			});		


Comments

4
Log in to join the conversation. Login
cataldomaciel's profile picture
cataldomaciel10 months ago

not working man

1
BRAWLLL's profile picture
BRAWLLL2 years ago(edited)

not working..

1
emrysthecatsmeow's profile picture
emrysthecatsmeow2 years ago(edited)

richie what?

1
swag's profile picture
swag3 years ago(edited)

this is in js??

1

More universal scripts

See all
Script hub
3.0M
1.1M
Bumped 3 hours ago
Key System

Script hub

#6 today

CanHub V2 200 GAMES KEYLESS

Script hub
188
8
23 hours ago
Script hub
277.5k
165.4k
Bumped 4 hours ago
Key System
Universal Script 📌
6.7k
17.0k
Bumped 5 hours ago
Script hub
1.7M
431.9k
Bumped 6 hours ago
Key System

Script hub

#7 today

Verified script badgeAxonic Hub | 50+ Games Supported

Universal Script 📌
2.6k
7.1k
Bumped 11 hours ago
Script hub
6.0k
86.5k
Bumped 11 hours ago

Script hub

SAGAZx Hub

Script hub
77.8k
274.5k
Bumped 12 hours ago
Key System