Showing 877 of 877 total issues
128
is a magic number Open
else _img.position.set(128 * (i - 5), 128);
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that there are no magic numbers. By default, -1, 0, 1, and 2 are not considered to be magic numbers.
10
is a magic number Open
for (i in 0 ... 10) {
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that there are no magic numbers. By default, -1, 0, 1, and 2 are not considered to be magic numbers.
800
is a magic number Open
width = 800;
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that there are no magic numbers. By default, -1, 0, 1, and 2 are not considered to be magic numbers.
24
is a magic number Open
_reels.height = Browser.window.innerHeight - (24 * _scale);
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that there are no magic numbers. By default, -1, 0, 1, and 2 are not considered to be magic numbers.
80
is a magic number Open
_label2.position.set(0, 80);
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that there are no magic numbers. By default, -1, 0, 1, and 2 are not considered to be magic numbers.
0.5
is a magic number Open
_bunny.anchor.set(0.5);
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that there are no magic numbers. By default, -1, 0, 1, and 2 are not considered to be magic numbers.
3
is a magic number Open
_bunny.scale.set(3);
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that there are no magic numbers. By default, -1, 0, 1, and 2 are not considered to be magic numbers.
26
is a magic number Open
var bunny1 = new Texture(wabbitTexture.baseTexture, new Rectangle(2, 47, 26, 37));
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that there are no magic numbers. By default, -1, 0, 1, and 2 are not considered to be magic numbers.
26
is a magic number Open
var bunny2 = new Texture(wabbitTexture.baseTexture, new Rectangle(2, 86, 26, 37));
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that there are no magic numbers. By default, -1, 0, 1, and 2 are not considered to be magic numbers.
5
is a magic number Open
bunny.speedY = (Math.random() * 5) - 3;
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that there are no magic numbers. By default, -1, 0, 1, and 2 are not considered to be magic numbers.
0x003366
is a magic number Open
backgroundColor = 0x003366;
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that there are no magic numbers. By default, -1, 0, 1, and 2 are not considered to be magic numbers.
3
is a magic number Open
_colorMatrix[4] = Math.sin(_count / 3) * 2;
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that there are no magic numbers. By default, -1, 0, 1, and 2 are not considered to be magic numbers.
5
is a magic number Open
_colorMatrix[5] = Math.sin(_count / 2);
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that there are no magic numbers. By default, -1, 0, 1, and 2 are not considered to be magic numbers.
0.5
is a magic number Open
_littleRobot.filters = [new GlowFilter(15, 2, 1, 0xFF0000, 0.5)];
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that there are no magic numbers. By default, -1, 0, 1, and 2 are not considered to be magic numbers.
210
is a magic number Open
_graphics.moveTo(210, 300);
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that there are no magic numbers. By default, -1, 0, 1, and 2 are not considered to be magic numbers.
580
is a magic number Open
_graphics.lineTo(580, 20);
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that there are no magic numbers. By default, -1, 0, 1, and 2 are not considered to be magic numbers.
20
is a magic number Open
_thing.moveTo(-120 + Math.sin(_count) * 20, -100 + Math.cos(_count) * 20);
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that there are no magic numbers. By default, -1, 0, 1, and 2 are not considered to be magic numbers.
0.1
is a magic number Open
_thing.rotation = _count * 0.1;
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that there are no magic numbers. By default, -1, 0, 1, and 2 are not considered to be magic numbers.
50
is a magic number Open
for (i in 0 ... 50) _loader.add("img" + (i + 1), (i + 1) + ".png");
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that there are no magic numbers. By default, -1, 0, 1, and 2 are not considered to be magic numbers.
800
is a magic number Open
_floor.shapes.add(new Polygon(Polygon.rect(0, 595, 800, 1)));
- Read upRead up
- Create a ticketCreate a ticket
- Exclude checks
Checks that there are no magic numbers. By default, -1, 0, 1, and 2 are not considered to be magic numbers.