Skip to content

Commit

Permalink
Merge branch 'Features-testing'
Browse files Browse the repository at this point in the history
  • Loading branch information
Kapixar committed Jun 26, 2024
2 parents 795cdf7 + e15856b commit 596e095
Show file tree
Hide file tree
Showing 54 changed files with 3,208 additions and 711 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/static.yml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
uses: actions/upload-pages-artifact@v1
with:
# Upload entire repository
path: './render'
path: './public'
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@ node_modules
package.json
package-lock.json
.eslintrc.js
DredArt.zip
DredArt.zip
anni
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2022 I am Shrek
Copyright (c) 2024 I am Shrek

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
20 changes: 13 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# DredArt - your painting comrade
Chrome and Firefox extension for Dredark/Drednot/DSA
Consists of 2 parts: Render and Creator
Chrome and Firefox extension and web tool for [dredark.io / drednot.io / Deep Space Airships](https://drednot.io/)

Allows the user to create pixel art quickly and painlessly - from converting a regular image to pixel art, to painting it flawlessly in-game, saving up to several hours if painting it without the holographic stencils that DredArt has to offer

![Promo picture promoting creations](img/promo.png "Promo")

Expand All @@ -20,11 +21,16 @@ https://chrome.google.com/webstore/detail/ocgomfneelmigjgpgnapekmedbmimamm
8. Disable Developer Mode

## Usage
In top bar (where socials are) there should be yellow pallete you can click.
After installing the extension, the control panel will appear in the upper right corner of the game. Clicking on the blue palette launches it. Further instructions are available in the Guide.

### DredArt Designer / Render*
Part of the tool is available [here](https://kapixar.github.io/DredArt/)
It can generates pixel arts from images.

* At the moment Designer is available only at previous 1.4 version

### DredArt | Render
Part of the tool is available on this website: https://kapixar.github.io/DredArt/
Render generates pixel arts from images.
## License
This is open source project under MIT License

### Discord server with more details
### Discord server with more details and fun people!
https://discord.gg/uNgD6vv67c
28 changes: 27 additions & 1 deletion background.js
Original file line number Diff line number Diff line change
@@ -1 +1,27 @@
chrome.runtime.onInstalled.addListener((details) => { if (details.reason === 'install') chrome.tabs.create({ url: chrome.runtime.getURL('help.html') }); });
function loadScript(tabID) {
chrome.scripting.insertCSS({
target: { tabId: tabID },
files: ['style.css'],
});
chrome.scripting.executeScript({
target: { tabId: tabID },
files: ['main.js', 'pako.js', 'patch_worker.js'],
});
}

function togglePopup(tabID) {
chrome.tabs.sendMessage(tabID, { action: 'togglePopup' });
}

chrome.action.onClicked.addListener((tab) => {
if (tab.url) togglePopup(tab.id);
});

chrome.runtime.onMessage.addListener(async (req, sender) => {
if (req.action === 'togglePopup') togglePopup(sender.tab.id);
if (req.action === 'loadScript') loadScript(sender.tab.id);
});

chrome.runtime.onInstalled.addListener((object) => {
if (object.reason === 'install') chrome.tabs.create({ url: 'https://drednot.io/' });
});
113 changes: 0 additions & 113 deletions help.css

This file was deleted.

171 changes: 0 additions & 171 deletions help.html

This file was deleted.

5 changes: 0 additions & 5 deletions help.js

This file was deleted.

Binary file added img/banners/designer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/banners/guide_banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/banners/mosaic_banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/banners/painter.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/banners/settings_banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/bp_bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/chat_desc.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/chat_halt.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/chat_share.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed img/icon128.png
Binary file not shown.
Binary file removed img/icon16.png
Binary file not shown.
Binary file removed img/icon48.png
Binary file not shown.
Binary file added img/icons/icon128.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/icons/icon16.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/icons/icon32.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/icons/icon48.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/icons/icon64.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/legacy_bg.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed img/mosaic.png
Binary file not shown.
Binary file removed img/promo.png
Binary file not shown.
Binary file added img/setup_blank.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/setup_color.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added img/tiles_subworld.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 596e095

Please sign in to comment.