- Powerup manager: create and manage different types of powerup
- Range powerup: gauss gun, minigun, taser...
- Melee powerup: earthquake, hurling, pushback...
- A wrapper of IObjectWeaponItem which contains additional data like powerup
- https://github.com/NearHuscarl/BotExtended/tree/master/src/BotExtended/Powerups
- Player manager: manage instances of Player which is a wrapper of IPlayer
- Player: an extension of IPlayer
- Different type of players (robots, hookers, gangsters, thugs, pirates,...)
- Player can be subclassed to create special abilities using lifecycles, properties in the base class E.g. thugs loot objects for weapon, engineer build turrets, metrocop spawns sweepers...)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- Tiny: all players are tiny but fast | |
- Chonky: chonky but slow | |
- Ninja: all players can move extremely fast, jump higher | |
- Invisible: all players are invisible | |
- Weak: x10 to all damage types | |
- DrugIsCool: all players have unlimited strengthboost and speedboost | |
- Unstable: have a chance of exploding when taking damage | |
- Nuclear: explodes and destroyes all entities in a radius on dealth | |
- Teleport: players are teleported when taking damage | |
- TimeWarp: time slows down and speeds up continously |
This file has been truncated, but you can view the full file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"header": { | |
"target": "w", | |
"formatVersion": 5, | |
"hidef": false, | |
"compressed": 128 | |
}, | |
"readers": [ | |
{ | |
"type": "SFD.Content.AnimationsContentTypeReader, SFD.Content", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// this file is auto generated. Do not touch. | |
import { PaletteName } from "./palettes"; | |
export type Gender = 0 | 1 | 2; | |
export type Item = { | |
id: ItemID; | |
gameName: string; | |
fileName: ItemID; | |
equipmentLayer: 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://gist.github.com/NearHuscarl/29b150557e866b7910e50a84c11bb18e | |
// https://dartpad.dev/29b150557e866b7910e50a84c11bb18e?null_safety=true | |
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
void main1() { | |
const a = <String>[]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://dartpad.dev/6182feb015bbb179e08bf5eb61cbabac?null_safety=true | |
// Copyright (c) 2019, the Dart project authors. Please see the AUTHORS file | |
// for details. All rights reserved. Use of this source code is governed by a | |
// BSD-style license that can be found in the LICENSE file. | |
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://gist.github.com/NearHuscarl/e5ddb59b4ed745d693f5d9025519d789 | |
// https://stackoverflow.com/a/59121771/9449426 | |
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://gist.github.com/NearHuscarl/195907b36fef5aefbf8682133b95c01d | |
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://gist.github.com/NearHuscarl/29c5577b94571d00926723c85a370e43 | |
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// https://gist.github.com/NearHuscarl/6e8c4dff9ebaabf2980ae05fee8ae109 | |
import 'package:flutter/material.dart'; | |
void main() => runApp(MyApp()); | |
class MyApp extends StatelessWidget { | |
@override | |
Widget build(BuildContext context) { | |
return MaterialApp( |
NewerOlder