What song lyrics should be my 100th π translation on http://lyricstranslate.com ?
Well, within the πΊπΈ->ππΊ || ππΊ->πΊπΈ realm more specifically :)
Out of curiosity I tried to implement a render loop of a viewport with scrolling tiles with JavaFX Canvas. Perf is not good.
It can maintain up to ~60 fps, but the scrolling is jerky. Also, I don't like running the loop with a ScheduledExecutorService...
Drawing every frame on a canvas is a huge performance hit.
PixelBuffers would be the next best thing, but then I'd need to implement a shit ton of graphical operations.
Gonna try Raylib next. The engine does not have to be JavaFX.
New stuff: Toolbar, flood fill, some editor settings (like grid on/off) a couple of new tiles for testing.
Status bar is wip, gonna need to update the coordinates and send short messages in various actions.
On data side: tileset image and descriptor file.
As you can see sprites go into this huge image as well, not just structural tiles. Only structural tiles can be painted with in the editor.
Mirrors my attitude towards web3 perfectly:
https://edition.cnn.com/2022/03/29/perspectives/scott-galloway-web3/index.html
Also, running a soak test with a live medium is a good idea.
I could run memory test from grub as well, that would be nicer, but ultimately settled for memtester just to see results quickly. And obviously the smoke test puffed up quickly. :)
The failure coincided with a newly installed AMD GPU, hence that has been the main culprit for a while.
I use VMs, browsers, web related stuff a lot (development etc) and the failed RAMs caused issues there a lot. Which I attributed to those being buggy software wise. No amount of preference tweaking, updates, including switching kernels helped for weeks.
So, today I woke up determined, and pulled the machine apart.
Learn from my mistake, before you blame software, rule out hardware issues!
I blamed everything in Linux Mint software wise, and it was the damn RAM sticks all along. Sneaky.
Downgraded to a set of slower backup modules. I can barely notice the slowdown, and everything works buttery smooth now.
Tip:
sudo apt install memtester
sudo memtester 1G 1
First param: How much RAM to test, G = GB, M = MB
Second param: Number of iterations
Update: Internals of moving and resizing building blocks done.
Progress is currently sluggish. I cannot focus in my free time. We are living through historic times... πΊπ¦π»
You've spent a few years founding and building an ethical, sustainable company that does good work for your customers. You aren't personally making much profit.
A huge firm swoops in and offers to buy your company. You stand to gain $1.5 billion, and some of your friends invested in the company will also be making many millions of dollars. Most of your employees won't be making much from the deal.
Do you accept the offer?
Software Developer from Hungary, EU.
Revolutionizing smart building systems and alarm signalling at Unitechnal.
Working on open source games, and publishing technical articles at kodenkel.com