Activity

Daniel

Added map (open using tab), island generation, loading units back into a carrier, changed a few things about the ship movement function, also tweaked the carrier stats, finished landWaypoint and paths now use threading (otherwise the path would either be inaccurate or the calculation would lag the game), camera following of the selected entity (L key), Mapcreator works (makes island locations using an algorithm and spawns the islands), created a basic second unit type (armour).
Picture shows the camera lock on the carrier and a generated island.

Attachment
0
Daniel

It has been a long long time since I made a devlog. I in fact stopped making this project, and almost completely abandoned it, to focus on making browser extensions, but now I am back. I don’t remember a lot from making some of these features so the update is mostly a description of what I found in the commits from that time period.
So here is the update: added: custom menus for units, keyboard shortcuts for handling waypoints, loading and unloading units from carriers, cursor image, basic island (nowhere near done but the class is there), entire system for handling land units (wast majority of it works, there is only a small issue with waypoints that I am fixing right now), marine commando land units, heavily modified the entire function for moving ships so that now all ships can use the same moving function instead of each ship having its own (if that makes sense), helper functions in ship.py, completely changed ship waypoints, added land waypoints (there has to be two types of waypoints because of the way the game calculates the route), very basic setup of the mapcreator class, small UI changes.

Some of these changes took multiple attempts, for example the moveShip function was an absolute nightmare and it took multiple hours to make the movement look natural for different settings. It is still not perfect, but it’s definitely usable for a while, maybe up until the first completely playable version.

The attachment is an image of the marine commandos being moved around after being deployed from the carrier.

Attachment
0
Daniel

Shipped this project!

Hours: 4.37
Cookies: 🍪 30
Multiplier: 6.78 cookies/hr

I built a chromium browser extension that censors random parts of text and places random black rectangles over images. Through this project, I learned how to work with TreeWalkers.

Daniel

Wrote README. Added image censoring (random black rectangles), better text censoring, implemented Mutation observer that handles dynamically loaded content, modified the popup and created the .crx extension file.

Attachment
3

Comments

iris
iris about 1 month ago

omg this is so ████ !!! love it

Aram
Aram about 1 month ago

This project ████████████████████████████. This is an immediate ████ that must ████████████████████████████ immediately.

Aram
Aram about 1 month ago

████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████

Daniel

The extension can now do actual text censoring. It uses a TreeWalker to find all the text nodes and regex to split the text into words. Then the extension chooses two numbers. Number of censored words in the sentence and offset of the first censored word in the sentence. The selected words are then simply surrounded with a span element that has a black background.

Attachment
0
Daniel

Shipped this project!

Hours: 3.65
Cookies: 🍪 26
Multiplier: 6.99 cookies/hr

I build a Chromium browser extension that lets users create “anchors” on any selected text so that you can view or copy the text later. I learned how xPaths work and I learned how to work with mouse selection.

Daniel

Added the actual auto scrolling using xPaths, accounted for dynamically changing websites like Youtube. Better popup UI. Messages that show on the website when an anchor is added or showed (second and third image). Wrote Readme and made a .crx file for easier download.

Attachment
Attachment
Attachment
0
Daniel

I did the basic setup (created the files I need, picked some icons that seem ok and copied over the license and a template readme from my previous project). The extension can now save the text and its location, using a shortcut, on a webpage. The popup also shows only the anchors from the currently used page. There is no auto scrolling yet.

Attachment
0
Daniel

Shipped this project!

Hours: 4.58
Cookies: 🍪 50
Multiplier: 10.98 cookies/hr

I made a browser extension that loops through a list of saved tabs. I learned how to handle key presses in background.js and I learned more about chrome APIs. The thing I like the most about this project is that it’s actually useful unlike most of my previous projects which were mainly just games.

Daniel

Added license, readme file, more shortcuts (add tab, remove tab, cycle in the opposite way), content.js for notifications inside the page (see second image), removed background from icons and made the popup a lot better both visually and functionally

Attachment
Attachment
1

Comments

sarthakparajuly
sarthakparajuly about 1 month ago

wow this is amazing

Daniel

The extension can now loop through the saved pages. It also works on multiple browser windows and it will open a new tab with the saved url if the old tab was closed. I don’t know what I should use as attachment so here is the extensions tab where it now shows that the extension has a service worker (that’s the part handling key presses and tab changes)

Attachment
0
Daniel

Created the extension setup (manifest.json, icons etc.). Also I created the first version of the popup. It has CSS and all the buttons are working. The added tabs are also saved in local storage.

Attachment
0
Daniel

Shipped this project!

Hours: 2.87
Cookies: 🍪 40
Multiplier: 13.76 cookies/hr

I made a browser extension that replaces all the images with cat memes. I learned how to make manifest.json and how to work with MutationObservers and other extension specific things. The most challenging part was by far making all the tabs restart simultaneously when the extension setting is changed (on/off). This is mainly because messaging between tabs needs a lot of async functions.

Daniel

Finished the extension. Added readme, added mutation observer to listen to new images being added, changed the extension icons, added simple css to the popup, added local storage to save the on/off state, all tabs now update at once when the on/off state changes

Attachment
0
Daniel

First version is done. The extension can now replace images on a website. There is no saving of the selection yet so the images get reseted if you reload the page. Manifest.json is finished.

Attachment
1

Comments

Zach Wilkinson-Rowe
Zach Wilkinson-Rowe about 2 months ago

Nice work

Daniel

Created the basic game loop, added some images, created few UI widgets, created a camera class, created the selection of a ship logic, created the carrier and waypoint classes, and did a lot of work on how the route to a waypoint shows up on screen (thats the image) it might not look impressive, but trust me that there is a lot of math behind the ships movement.
Commit: https://github.com/Daniel908009/Bluewater-Ops/commit/6cac6bbc60b19f6b6dad48af0450ebf6241789d8

Attachment
0
Daniel

Shipped this project!

Hours: 19.21
Cookies: 🍪 174
Multiplier: 9.08 cookies/hr

I finished making the Asteroids game. It was really fun to return to game development with Pygame after spending tens of hours working in JavaScript. Through this project, I improved my understanding of OOP and learned how to structure Python code more cleanly and correctly.

Daniel

Added Readme file, fixed a few bugs and created executable files for both Linux and Windows. Idk what attachment I am supposed to put here so enjoy vscode file explorer.

Attachment
0
Daniel

Added: Fullscreen, Control Manuals, menu music, difficulty scaling based on screen size and survived time, reset game function, improved high scores window, UFOs can now shoot and reload only inside the visible screen, improved the spawner in the main menu, settings changed in the game are now permanently written into the settings file
Commit: https://github.com/Daniel908009/Asteroids-2/commit/9e1849c6b933b8964289b3f73141f201b08f1c1b

Attachment
0