(sound on) Testing a plain 'o spectral analyzer to make sure I have the mechanics right - this is two tracks each with their own spectrum_analyzer in #godotEngine and then sampling 250 separate frequency levels in each, coloring the tracks differently #audio #spectralAnalyzer
(volume on) Somehow I wasn't thinking of music when I was working on audio visualizations but it kind of worksπ€ two tracks, separate visualizations, size driven by spectral strength, other behaviors controlled at the track level... #godot #spectralAnalyzer #music #western
Still experimenting with #clock displays loading on #raspberrypi - its very clear to me now how this could be data-driven, multiple clocks could talk to each other creating a mini-closed household communication hub, and how most digital #signage I've seen is pretty limited. #godot
I remember seeing this movie a few years after it came out and wasn't sure what to make of it - years later, it seems more prescient than people might have thought... Might as well say, "Hi, I'm Tilly Norwood. I'm the perfect female type, 18-25."
www.youtube.com/watch?v=yoT-...
A very #bradybunch #ui design π
My "70's TV Era" clock - its kind of interesting how much you can do with 4 labels, cause that's all this is - 4 labels with colors, positions, text randomized following some formatting rules. #godot #clocks #1970s runs on #raspberrypi
I've also grown quite fond of instantiating an object, slapping a tween on it to do the animation and then using the end of the tween to cull the instantiated object - its very self-regulating at that point.
<yourTween>.tween_callback(<objectBeingTweened>.queue_free)
Update on my #clock project - implemented an "artsy" background - its impressive how much animation you can do with just tweens π€― Every 10 minute slice of an hour has its own color scheme and animation type - this shows you a full hour's worth in 30 seconds. #godot #raspberrypi #abstractart
The one thing I made that I use the most is a raspberry pi clock that sits in the living room - originally built in pygame, I've been rebuilding it in Godot. It sounds useless, but I check it all the time - the fact that I made it has become invisible to me. Now I'm making it better. Build a clock.
If you feel stuck, keep creating - its good exercise. Make something simple, like a painting or a skateboard or a clock, and see what you can do with it. #godot #clock #raspberrypi #creating
Oh - also note that going from 3 or 4 to 5, the 5's DSI ports got smaller, so if you want to reuse existing displays you'll need a DSI cable that downsizes to the new size. Lucky me, I had one.
So if you're dev'ing for distribution on a raspberry, avoid anything lower than a model 4. So far the 5 is kicking butt...
Same app, same build, same point in the program and here's the htop's across Raspberry Pi3, 4, and (now) 5. Big difference in performance, especially from 3 to 4. I'm also noticing that 3's were issued with 1gb ram while 4's and 5's got 4gb #raspberrypi #godot #performance
I guess I shouldn't be surprised that the Pi3 did an autokill of the app due to limited system resources... Happens pretty consistently around 15 minutes of runtime - the Pi4 runs for many hours and no autokill. You can see this information on the Pi by scrolling through journalctl
And htop is doing a great job at showing me how much processing difference there is between a raspberry pi 3 vs 4, and it is not small... I'm only trying to get this to work on a 3 as a learning experiment (plus I have a couple 3's laying around)
Attempting to run my Godot app on current Raspberian OS on a several year old Raspi-3 give me an "Unable to initialize OpenGL ES video driver" error - fortunately the next screen suggested launching from terminal passing in "--rendering-driver vulkan" which actually does work #godot #raspberrypi
(sound on) Perhaps its been working towards being a #zen #clock all along... Bringing good vibes and #positiveMessages
(audio on) Second test - making visuals follow a path if they are in close time proximity to the last SpectralAnalyzer event (200ms) - adds some continuity to the fx. Also here we have two separate tracks (Gulls and Waves) with different visuals and settings. #shore #godot #audio #spectralAnalysis
This runs surprisingly efficient on a Raspberry 4b - I let it run 24 hours straight with no issues. You can also tune your sampling from the SpectralAnalyzer to specific hertz ranges - this means you could have one set of visuals for high pitch sounds and another for low. Going to play more π§
(sound on) If you take an audioStream and pass it through an AudioBus and add a SpectralAnalyzer to the AudioBus, you can pull the magnitude of that stream and trigger visual effects, in this case, scaled to that magnitude of the audio as it plays #godot #raspberrypi #birbs #birdsky
Well, you have to copy the files to the raspberry pi, make the program executable (child +x) and Iβve found that you need to be booted into the x windowing system - if youβre trying to run it from an ssh session, thatβs not going to work
Always remember kids, if you want your #godot app to run on a #raspberrypi, select architecture #arm64 when you do your #linux export!
So yesterday when I published my #godot app as a Web App, I shoved it in an iframe to constrain the display to the canvas size set in the app (otherwise it spread the elements as wide as the browser window) - there's a better setting for that: Canvas Resize Policy which can be set to "Project" π
And yikes - does not work well on a mobile safari device π΅βπ«
I will also add that I had to embed the game in an iframe to restrict the display to the intended size - if you are doing something like instantiating off-screen and suddenly your game in running in a big-assed browser window, some of those off-screen things become on-screen π¬
For those who have never published as a web app in Godot - its easy: switch your renderer to compatibility mode and then Project > Export > Web (Runnable) - its exports everything to the folder you define locally, you can edit the HTML if you want, and then FTP it to your hosting.
Trying something a bit different and making the current version of Pawn-Up! available on the web as a Web App: www.golden-tamarin.com/apps/pawnup/
Hope you give it a whirl and enjoy it! π Feedback always welcomed! #screenshotsaturday #godot #solodev #gamedev
Always liked the icons for gravity on/off in #alienRomulus
And kudos to #soundFlow - C# cross-platform dotnet doesn't have a "robust" audio library, but SoundFlow's package worked very well - had to tune it a bit to get smooth playback on a Raspberry Pi (but that was kind of expected - Raspberry's a small device) - lsxprime.github.io/soundflow-do...
I will give kudos to Microsoft (not something I normally do) - their instructions for making a dotnet console app that is built on windows and runs on Raspberry Pi OS (raspian?) worked first shot - learn.microsoft.com/en-us/dotnet... - and its got me thinking of what else I can do here...