Skip to content

Commit 74b3c97

Browse files
committed
feat: pixi.js from v5 to v6
1 parent bfa8d44 commit 74b3c97

61 files changed

Lines changed: 4596 additions & 3777 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.babelrc

Lines changed: 0 additions & 18 deletions
This file was deleted.

.gitignore

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,12 @@
1+
.DS_Store
12
node_modules
3+
/build
4+
/.svelte-kit
5+
/package
6+
.env
7+
.env.*
8+
!.env.example
9+
.vercel
10+
.output
11+
vite.config.js.timestamp-*
12+
vite.config.ts.timestamp-*

.npmrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
# proxy=http://127.0.0.1:1080
2+
# https-proxy=http://127.0.0.1:1080
3+
registry=https://registry.npmmirror.com

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2019 JetLu
3+
Copyright (c) 2024 JetLu
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

context/app.js

Whitespace-only changes.

demo.mp4

11.9 MB
Binary file not shown.

dist/context/index.js

Lines changed: 1 addition & 113 deletions
Original file line numberDiff line numberDiff line change
@@ -1,113 +1 @@
1-
/******/ (function(modules) { // webpackBootstrap
2-
/******/ // The module cache
3-
/******/ var installedModules = {};
4-
/******/
5-
/******/ // The require function
6-
/******/ function __webpack_require__(moduleId) {
7-
/******/
8-
/******/ // Check if module is in cache
9-
/******/ if(installedModules[moduleId]) {
10-
/******/ return installedModules[moduleId].exports;
11-
/******/ }
12-
/******/ // Create a new module (and put it into the cache)
13-
/******/ var module = installedModules[moduleId] = {
14-
/******/ i: moduleId,
15-
/******/ l: false,
16-
/******/ exports: {}
17-
/******/ };
18-
/******/
19-
/******/ // Execute the module function
20-
/******/ modules[moduleId].call(module.exports, module, module.exports, __webpack_require__);
21-
/******/
22-
/******/ // Flag the module as loaded
23-
/******/ module.l = true;
24-
/******/
25-
/******/ // Return the exports of the module
26-
/******/ return module.exports;
27-
/******/ }
28-
/******/
29-
/******/
30-
/******/ // expose the modules object (__webpack_modules__)
31-
/******/ __webpack_require__.m = modules;
32-
/******/
33-
/******/ // expose the module cache
34-
/******/ __webpack_require__.c = installedModules;
35-
/******/
36-
/******/ // define getter function for harmony exports
37-
/******/ __webpack_require__.d = function(exports, name, getter) {
38-
/******/ if(!__webpack_require__.o(exports, name)) {
39-
/******/ Object.defineProperty(exports, name, { enumerable: true, get: getter });
40-
/******/ }
41-
/******/ };
42-
/******/
43-
/******/ // define __esModule on exports
44-
/******/ __webpack_require__.r = function(exports) {
45-
/******/ if(typeof Symbol !== 'undefined' && Symbol.toStringTag) {
46-
/******/ Object.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });
47-
/******/ }
48-
/******/ Object.defineProperty(exports, '__esModule', { value: true });
49-
/******/ };
50-
/******/
51-
/******/ // create a fake namespace object
52-
/******/ // mode & 1: value is a module id, require it
53-
/******/ // mode & 2: merge all properties of value into the ns
54-
/******/ // mode & 4: return value when already ns object
55-
/******/ // mode & 8|1: behave like require
56-
/******/ __webpack_require__.t = function(value, mode) {
57-
/******/ if(mode & 1) value = __webpack_require__(value);
58-
/******/ if(mode & 8) return value;
59-
/******/ if((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;
60-
/******/ var ns = Object.create(null);
61-
/******/ __webpack_require__.r(ns);
62-
/******/ Object.defineProperty(ns, 'default', { enumerable: true, value: value });
63-
/******/ if(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));
64-
/******/ return ns;
65-
/******/ };
66-
/******/
67-
/******/ // getDefaultExport function for compatibility with non-harmony modules
68-
/******/ __webpack_require__.n = function(module) {
69-
/******/ var getter = module && module.__esModule ?
70-
/******/ function getDefault() { return module['default']; } :
71-
/******/ function getModuleExports() { return module; };
72-
/******/ __webpack_require__.d(getter, 'a', getter);
73-
/******/ return getter;
74-
/******/ };
75-
/******/
76-
/******/ // Object.prototype.hasOwnProperty.call
77-
/******/ __webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };
78-
/******/
79-
/******/ // __webpack_public_path__
80-
/******/ __webpack_require__.p = "";
81-
/******/
82-
/******/
83-
/******/ // Load entry module and return exports
84-
/******/ return __webpack_require__(__webpack_require__.s = 0);
85-
/******/ })
86-
/************************************************************************/
87-
/******/ ({
88-
89-
/***/ "./context/app.js":
90-
/*!************************!*\
91-
!*** ./context/app.js ***!
92-
\************************/
93-
/*! no static exports found */
94-
/***/ (function(module, exports) {
95-
96-
97-
98-
/***/ }),
99-
100-
/***/ 0:
101-
/*!******************************!*\
102-
!*** multi ./context/app.js ***!
103-
\******************************/
104-
/*! no static exports found */
105-
/***/ (function(module, exports, __webpack_require__) {
106-
107-
module.exports = __webpack_require__(/*! ./context/app.js */"./context/app.js");
108-
109-
110-
/***/ })
111-
112-
/******/ });
113-
//# sourceMappingURL=index.js.map
1+
"use strict";wx.onMessage(s=>{});

dist/context/index.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/game.js

Lines changed: 1570 additions & 216 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/game.js.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)