Rogod
|
|
« Reply #300 on: February 27, 2022, 07:26:02 AM » |
|
The planets are drawn with a for-loop from 0 to 360 degrees at a specified radius. Previously, I'd simply been giving that draw-a-circle method an angle for the light to fall on it and colouring +/-90 degrees to that angle bright, while the rest of the circle remained dark. (Resulting in a circle which was always 50% light & 50% dark.) Now with the pseudo-sphere rendering, it's first flipped so I'm drawing shadow on a lit circle (easy enough), but it's then attenuating between 0 and the radius then back to 0 while inside the the shadow's angles (the incoming light's angle +180 degrees). This basically results in a croissant shape being drawn at the back of the circle which works as a fairly convincing 3D shadow on an otherwise flat disk. Representation of planets over time: (No actual 3D calculations are taking place; Startron is an entire case-study of hacks, tricks and heuristic approaches )
In other news, I just got my new Raspberry Pi working and have realised I need to build for ARM architecture to support this. So starting from v0.82, Startron will be being released for Windowsx64, Linuxx86-64 and LinuxARMx64. (Woo)
|
|
« Last Edit: February 28, 2022, 07:27:07 AM by Rogod »
|
Logged
|
|
|
|
JobLeonard
|
|
« Reply #301 on: February 27, 2022, 12:46:17 PM » |
|
Nice, thanks for explaining! (so game dev business as usual then )
|
|
|
Logged
|
|
|
|
Gunroar:Cannon()
|
|
« Reply #302 on: February 28, 2022, 06:39:45 AM » |
|
(Startron is an entire case-study of hacks, tricks and heuristic approaches ) I approve.
|
|
|
Logged
|
|
|
|
|
JobLeonard
|
|
« Reply #304 on: March 04, 2022, 01:30:11 AM » |
|
> Now available for Linux on ARM processors! (Yay Startron on Raspberry Pi) But can I play it on Steam Deck? More seriously: awesome!
|
|
|
Logged
|
|
|
|
Rogod
|
|
« Reply #305 on: March 05, 2022, 03:30:10 AM » |
|
Unfortunately for a game which entirely requires keyboard input, I don't see as how I could port Startron to any devices which do not have keyboards. Trust me, I want Startron on Android as much as the next device, but without a significant engine rewrite (input and output), that ain't gonna happen any time soon
|
|
|
Logged
|
|
|
|
JobLeonard
|
|
« Reply #306 on: March 05, 2022, 11:44:03 AM » |
|
Surely there is always the "virtual keyboard" option for people who truly hate themselves
|
|
|
Logged
|
|
|
|
Gunroar:Cannon()
|
|
« Reply #307 on: March 05, 2022, 11:59:29 AM » |
|
Surely there is always the "virtual keyboard" option for people who truly hate themselves Why do I feel like you're targeting me . Though to be honest this kind of game won't really work well on an Android phone bit definitely on a tablet. I'll just feel sad if in the end you only make it available on the Appstore for iPhones through some wicked sorcery (*coughDarkestDungeoncoughFTLcough*)
|
|
|
Logged
|
|
|
|
|
JobLeonard
|
|
« Reply #309 on: March 09, 2022, 01:25:23 AM » |
|
Wow, that's quite the update. Also "Space Bar"
|
|
|
Logged
|
|
|
|
Rogod
|
|
« Reply #310 on: March 09, 2022, 02:59:15 AM » |
|
Aye I sat down to do a thorough test of Startron on Raspbian and ended up just making a huge list of little niggles I wanted to clean up so dedicated the update to this kind of thing. Should be back to features in v0.84 hopefully Space Bar
|
|
|
Logged
|
|
|
|
|
JobLeonard
|
|
« Reply #312 on: March 11, 2022, 01:16:28 PM » |
|
Hmmmm... spheres...
|
|
|
Logged
|
|
|
|
Rogod
|
|
« Reply #313 on: July 27, 2022, 01:57:52 PM » |
|
Speaking of spheres... Hi all, I'm still here, I've just been rather busy and needed some time away from Startron. (Also I'm moving flat next week so that kinda got in the way too.)I've been tinkering in the background with a potential sequel to Startron, while also testing possible ideas that may just be better going into Startron sans sequel. I find myself a bit deflated after my latest test (because it looks terrible to my eyes) and I wonder what the opinions of the following tech would be given the context: Does this even vaguely look like something worth pursuing, or are 3D planets just a no-go for ASCII territory xD? I'm afraid I've become accustomed to what I'm looking at now (ASCII voxels) so I find it difficult to determine if this could actually be used in gameplay. What's it missing, what could it do with, or is it just dead on arrival?
|
|
|
Logged
|
|
|
|
JobLeonard
|
|
« Reply #314 on: July 28, 2022, 04:35:47 AM » |
|
I think it looks pretty sweet, but only when in motion. And it doesn't look like real-world planets do, but that can be a stylistic choice.
Like, if the setting was one where we travel through a field of asteroids the shapes fit perfectly. Or where every planet is basically Cybertron
|
|
|
Logged
|
|
|
|
|
JobLeonard
|
|
« Reply #316 on: October 27, 2022, 04:48:46 AM » |
|
Yay, an update! How has life been Rogod? Fixed the game crashing when in a red-giant or blue-giant system (they were simply too big for my poor old character arrays to cope with ) Lol, when low-tech gets too low I guess?
|
|
|
Logged
|
|
|
|
Rogod
|
|
« Reply #317 on: October 27, 2022, 09:06:00 AM » |
|
Hi - I was dealing with a substantial flat move and various social...ness for the better part of the year, but I'm still here Along the way I investigated the potential for a sequel/successor to Startron but the verdict stands, for now, as "Maybe some day, but not today", so Startron has my (relatively) full attention again and I hope I can get closer to some of the pipe-dream stuff I still have planned in my 106-item-long to-do list for the project. (Don't worry, 539 items have thankfully already been checked off that list by v0.85.) And silly old me, the issue with the giant stars was as simple as upping the space permitted to render them in a 2D array - I'd just miscalculated previously Good to be back in the zone, as they say; I missed pushing buttons and checking out what other crazy things were going on in the TIG devlogs EDIT: Sidenote: I have been seriously considering putting Startron into Unity with a bespoke console. Not gone ahead with anything yet as I can't quite bring myself to sacrifice traditional terminal output, but you can imagine there'd definitely be some huge benefits to doing this. (Performance/portability/Android/etc.) - This one's still on the backburner for now.
|
|
« Last Edit: October 27, 2022, 09:14:56 AM by Rogod »
|
Logged
|
|
|
|
JobLeonard
|
|
« Reply #318 on: October 27, 2022, 09:49:45 AM » |
|
I'm still here :gentleman Good to hear! It's kind of ironic that it's probably easier to be cross-platform if you port it to a non-terminal context, yeah.
|
|
|
Logged
|
|
|
|
|
|