Skip to content

Commit

Permalink
Merge commit '85258077f403913e70c0207a731101d8c5535fb2'
Browse files Browse the repository at this point in the history
  • Loading branch information
CosmoMyzrailGorynych committed Sep 9, 2022
2 parents 237fce6 + 8525807 commit 47fab60
Show file tree
Hide file tree
Showing 473 changed files with 62,242 additions and 25,145 deletions.
495 changes: 248 additions & 247 deletions .eslintrc.json

Large diffs are not rendered by default.

14 changes: 2 additions & 12 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,2 @@
# These are supported funding model platforms

github: # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: comigo
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
custom:
- https://boosty.to/comigo
25 changes: 25 additions & 0 deletions .github/stale.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Number of days of inactivity before an issue becomes stale
daysUntilStale: 60
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 90
# Issues with these labels will never be considered stale
exemptLabels: []
# Label to use when marking an issue as stale
staleLabel: 'state:stale'
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
Hey there 👋 I marked this issue as stale as it hadn't brought much attention for quite a while.
I do understand that stale issues are still issues, yet here stale issues receive the least attention from maintainers so they can focus on more relevant tasks.
You can help with this issue by checking whether it affects latest versions of ct.js and writing about it if it does,
providing an example project and steps to reproduce.
Or maybe you can close it with a PR!
Note that some platform-dependent issues can't be resolved by developers due to the absense of such devices :c
We will need help from you for such tasks.
If this issue won't get attention in three months, it will be closed.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: >
This issue is now closed! Please create a new one with a proper template if this issue still affects ct.js.
10 changes: 1 addition & 9 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
default:
image: node:16
image: cosmomyzrailgorynych/docker-nw-builder:latest
# Caching settigns for NPM, according to https://docs.gitlab.com/ee/ci/caching/index.html#cache-nodejs-dependencies
before_script:
- npm ci --cache .npm --prefer-offline
Expand Down Expand Up @@ -33,31 +33,25 @@ workflow:
preinstall:
stage: .pre
script:
- "npm i -g gulp-cli"
- "npm install"
- "gulp -f devSetup.gulpfile.js"

lint:
needs: ["preinstall"]
stage: test
script:
- npm i -g gulp-cli
- gulp lint

build:
needs: ["preinstall"]
stage: test
script:
- npm i -g gulp-cli
- gulp build

pack-deploy-release:
stage: pack
needs: ["lint", "build"]
script:
- apt-get update
- apt-get install zip unzip -y
- npm i -g gulp-cli
- gulp -f devSetup.gulpfile.js
- gulp packages --buildNum=$CI_COMMIT_TAG
- gulp deployItchOnly --buildNum=$CI_COMMIT_TAG
Expand All @@ -72,8 +66,6 @@ pack-deploy-nightly:
rules:
- if: $CI_COMMIT_BRANCH == "develop"
script:
- apt-get update
- apt-get install zip unzip -y
- npm i -g gulp-cli
- gulp -f devSetup.gulpfile.js
- gulp packages --nightly --buildNum=$CI_COMMIT_SHORT_SHA
Expand Down
3 changes: 0 additions & 3 deletions .pug-lintrc

This file was deleted.

37 changes: 37 additions & 0 deletions .stylelintrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
plugins:
- stylelint-stylus
overrides:
- files:
- '*.stylus'
- '*.styl'
- '**/*.stylus'
- '**/*.styl'
customSyntax: 'postcss-styl'
rules:
color-no-invalid-hex: true
font-family-no-duplicate-names: true
named-grid-areas-no-invalid: true
function-calc-no-unspaced-operator: true
function-linear-gradient-no-nonstandard-direction: true
string-no-newline: true
unit-no-unknown: true
keyframe-declaration-no-important: true
keyframe-block-no-duplicate-selectors: true
declaration-block-no-duplicate-properties: true
declaration-block-no-shorthand-property-overrides: true
declaration-block-no-duplicate-custom-properties: true
block-no-empty: true
media-feature-name-no-unknown: true
comment-no-empty: true
no-duplicate-at-import-rules: true
no-empty-source: true
alpha-value-notation: 'number'
length-zero-no-unit: true
declaration-block-single-line-max-declarations: 1
selector-attribute-quotes: always
selector-id-pattern: 'the[A-Z][a-zA-Z]*'
no-irregular-whitespace: true

stylus/pythonic: 'always'
stylus/semicolon: 'never'
stylus/property-no-unknown: true
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ For bugs, feature requests, developing questions, please use [GitHub issues](htt

Ct.js is a project maintained by CoMiGo, and programmed mainly by them as well, with little support from [dear contributors](https://github.com/ct-js/ct-js/graphs/contributors) and translators. And *it sucks!* Ct.js is a good game editor, but can be the best one, and one developer is not enough to transition it from a dream to a reality.

If you are willing to participate in ct.js' future, contact me at Discord (CoMiGo#7821) or Telegram (@CoMiGo). Or jump straightly to the [main dev board](https://github.com/orgs/ct-js/projects/1) for current issues.
If you are willing to participate in ct.js' future, contact me at Discord (CoMiGo#1234) or Telegram (@CoMiGo). Or jump straightly to the [main dev board](https://github.com/orgs/ct-js/projects/1) for current issues.

## Support ct.js on product-hunting sites:

Expand Down
99 changes: 99 additions & 0 deletions app/Changelog.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,102 @@
## v3.0.0

*Fri Sep 09 2022*

### ✨ New Features

* Add a tour-guide tag for making tours in ct.IDE. Add an overview guide to the app-menu. Also simplifies the code of app-menu navigation a bit.
* Add `ct.rooms.restart()` method
* Events framework — more vanilla events and ability to add modded ones! Closes #215
* New rooms editor! Closes #39, #76, #269
* New & Updated Themes (Nord & Rosé Pine) (#344 by @EhanAhamed)
* Pride mode with a colorful navigation
* Support for blank textures (#362 by @markmehere)
* :bento: Add a vgui catmod by Firecakes (Textbox component)
* :bento: Desktop features Catmod: New Features & Rewrite of Previous Features (#354 by @EhanAhamed)

### ⚡️ General Improvements

* :globe_with_meridians: Update Russian translation
* :globe_with_meridians: Update Dutch translation, translated by GambleBranch from Discord server!
* :globe_with_meridians: Update Debug translation
* :globe_with_meridians: Ukrainian translation by @progzone122
* :bento: Update `ct.matter`; you can now design gameplay logic with events in the template editor. Also brings an update to the 2DPhysics example
* Add Boosty link to the starting screen; change "Donate" url to boosty page
* Add explanations to ct.js license in the license panel (with suggestions by Shiba). Closes #345
* Add sanity checks for the texture editor. Closes #361
* Backgrounds' parallax effect now behaves more natural when zooming in/out
* Re-capture window focus on game's mouseover in ct.pointer
* Remove event listeners on ct.fittoscreen.toggleFullscreen. It is now supposed to be run in new pointer events
* Replace gulp-typescript with @ct.js/gulp-typescript. Allows building ct.js on Node.js v18+
* Simplify memocats by using built-in pointer event (#360 with @omartek)
* Support for Meta key for Mac as an alternative to Control key during room editor's deleteX interactions
* Visually dim deprecated catmods

### 🐛 Bug Fixes

* :globe_with_meridians: Fix Russian "export for web" translation
* Big texture support, above 2k by 2k (#358 by @markmehere)
* Change the "Create a template from it" for skeletal animations so it actually works
* `ct.res` must wait for skeletal animations to finish loading before starting the game
* Fix array editors writing nothing when working with assets
* Fix broken license panel
* Fix `ct.delta` behaving incorrectly if `ct.speed` is changed (It is actually a band-aid over pixi.js' issue, buuut oh well)
* Fix `ct.emitter.follow` rotating around a copy at a wrong angle
* Fix `ct.inherit`'s regression from v1. Closes #337
* Fix `ct.light` using changed `ct.templates.exists` inappropriately
* Fix event list being shared on newly created templates
* Fix examples and templates not showing when ctjs is run outside of your home directory (#357 by @leedigital)
* Fix freshly-created textures crashing the room editor
* Fix inability to select a preview texture in emitter tandem editor
* Fix node context missing in ct.js debugger. Makes Node.js and ct.fs work again.
* Fix unusable modal window on Linux systems during project creation (#351 by @leedigital)
* Fix the alert about improper web build usage that was popping up in Electron builds
* Remove a reference to a non-existent sourcemap from ct.filters denendency
* Tiny visual fix for collapsible input groups in the template editor
* Truncate long names in resource cards. Closes #353
* Update Comigo (what?)
* Update coordinates of primary pointer in gameplay coordinates if a user doesn't move the pointer
* `ct.matter`: fix physics breaking when additional rooms are appended to the current one

### 🍱 Demos, Dependencies and Stuff

* Update Space Shooter example project
* Pull the latest docs
* Update 2DPhysics example with a restart button and ct.pointer in place of ct.mouse
* Update asset gallery contents
* Update Catformer example
* Update various demos and templates
* Update JettyCat example
* Update memocats example
* Update Platformer example

### 📝 Docs

* :clap: Pt-BR documentation translation (100% translated!) (#75 by @leedigital)
* :bug: Fix "Propose edits" link
* :bug: Fix pre-v1 direction value at the JettyCat tutorial
* :bug: JettyCat fixes (#81 by @omartek)
* :zap: Minor edits and fixes for localStorage page. Add a missing comma and a couple of comments
* Content Subsystem Docs: Fixed Grammar Errors
* Corrected Grammar in Basic Concepts Docs
* Fixed Incorrect Grammar ct.inputs Documentation
* Room Class Docs: Fixed Minor Grammar Errors
* Updated ct.styles Documentation

### 🌐 Website

* :clap: Italian site translation (#27 by @omartek)
* :zap: Add a link to ct.js cheat-sheet to the "what's next" section, put a little heart in place of the list counter to the patreon section
* :zap: Add a link to web installer for Linux
* :zap: Replace patreon links with boosty ._.
* :zap: Update Downloads page. Add a Windows web installer

### 🌻 Misc

* :fire: Remove property `thumbnail` from the rooms objects in project data
* :hankey: Fix `npm ci` problems


## v2.0.2

*Sun Apr 17 2022*
Expand Down
Binary file added app/data/Wood_End.wav
Binary file not shown.
Binary file added app/data/Wood_Start.wav
Binary file not shown.
Loading

0 comments on commit 47fab60

Please sign in to comment.