Hi! I'm Dirkson. I'm making the most accurate space combat simulation. Ever.

It's got voxels, heat simulation, kilometer long spaceships, real world materials, organic ships, and awesome music. Eventually, it's going to have AI crew, multiplayer, inertia, planets, and more.

  • Want to build a granite mothership with dozens of fighters? You can do that.
  • A spinning battleship with a three meter thick titanium hull? Sure, that too.
  • A butter asteroid-tug than melts whenever you turn on the engines? Of course!

 Youtube Twitter Twitter Twitter Steam

Image RSS Feed Latest Screens
Libuv Mac Cross Compile Leaks
Blog RSS Feed Report abuse Latest News: Shadows and Inventories

2 comments by dirkson on Feb 7th, 2014


Hi all! It's a wonderful, snowy day here in Washington. I took a little time off today to enjoy the snow - You can see what the girls did to me when I stopped to lie down for a moment. Surprisingly cozy!

But I've also been busy this week adding and editing ScrumbleShip. I applied Garmine's (Thanks Garmine!) glfw3 patch, finally bringing glfw3 support - This should fix a TON of context-related issues some people have been reporting. Other than that, I've been working on two major things - One visually appealing, one exciting for the future.

Softshadows

Here we can see the shadow system, nearly entirely fully realized. From each light, a block-level ray is cast, figuring out which nearby blocks are possibly illuminated. After that, when each voxel is cached, a voxel-level ray investigates the space, determining how much light can reach an object.

Both processes mainly make guesses about the light, rather than rigorously proving what the shadow should be. That said, the result ends up looking pretty excellent. This system can handle any number of simultaneous lights, of any colors.

These are still some issues to solve before this becomes default, though - Currently this system is very slow, and slows down block building. I have a couple good ideas on how to fix that. It also doesn't behave well when new blocks are added to a scene, so I need to track down the bug there and fix it as well. That said, the system IS available in the latest bleeding edge - Just open config/text/options and set "experimentallight" to 1.

Fire

To make any of this happen, I had to finally fix up the generic raycasting. Although for the moment that means player/ship hit detection is a little funny, in the long term it means more accurate hit detection, better lasers, and, eventually, ship/ship crashes. The raycasting has been a thorn in my side for some time - I finally managed to translate the problem into the appropriate math jargon, and with the help of Tuqz (Thanks Tuqz!) and some others, figured out how to accurately specify a line in 3D space.

The image is a visualization of raycasting at work. From the origin point of a light, I drew a voxel wherever my ray passed through, coloring it more yellow the farther away from the light it got. The end result was this surprisingly beautiful pattern.

Inventory

Now for the exciting stuff. While it may not look like much, this image is the beginning of a new push in ScrumbleShip - Gameplay features. We've basically gotten the graphics, general performance, and compatibility up to a point where I'm comfortable with them - Now I can start in on the fun stuff!

The first thing I've started tackling is inventory. The "Hold interface" block searches behind it for a contiguous, square space. Once it finds one, it figures out the side and defines it as part of the ship's inventory. The image you see above is that code functioning - I went ahead and filled the inventory space with wires, just for show.

The next steps are to hook this system up to the "destroy block" function, so that destroyed blocks are automatically stored in your spaceship. After that, I'll try to hook the inventory screen up to your ship, allowing you to place (or sell) blocks you've mined.

Basically, with a few more changes, we should be able to hunt through asteroids for rare platinum blocks sometime in the near future!



Cheers,
-Dirk

Media RSS Feed Latest Video
Downloads RSS Feed Latest Downloads
ScrumbleShip Alpha Demo 0.23 - Windows

ScrumbleShip Alpha Demo 0.23 - Windows

Oct 7, 2013 Demo 0 comments

Alpha release 0.23 of the ScrumbleShip Demo, released for free on a Creative Commons License.

ScrumbleShip Alpha Demo 0.23 - Mac OSX

ScrumbleShip Alpha Demo 0.23 - Mac OSX

Oct 7, 2013 Demo 0 comments

Alpha release 0.23 of the ScrumbleShip Demo, released for free on a Creative Commons License.

ScrumbleShip Alpha Demo 0.23 - Linux

ScrumbleShip Alpha Demo 0.23 - Linux

Oct 7, 2013 Demo 0 comments

Alpha release 0.23 of the ScrumbleShip Demo, released for free on a Creative Commons License.

ScrumbleShip Alpha Demo 0.20 - Windows

ScrumbleShip Alpha Demo 0.20 - Windows

Jan 24, 2013 Demo 0 comments

Alpha release 0.20 of the ScrumbleShip Demo, released for free on a Creative Commons License.

ScrumbleShip Alpha Demo 0.20 - Mac OSX

ScrumbleShip Alpha Demo 0.20 - Mac OSX

Jan 24, 2013 Demo 0 comments

Alpha release 0.20 of the ScrumbleShip Demo, released for free on a Creative Commons License.

ScrumbleShip Alpha Demo 0.20 - Linux

ScrumbleShip Alpha Demo 0.20 - Linux

Jan 24, 2013 Demo 0 comments

Alpha release 0.20 of the ScrumbleShip Demo, released for free on a Creative Commons License.

Post comment Comments  (150 - 160 of 217)
MaximusPRO
MaximusPRO Nov 18 2011, 1:55am says:

Hi, I have this error when I start it up that's been bugging me for AGES so it would really help if someone could answer it. When I click on scrumbleships the screen starts flashing black and my cursor spazzes out then a file called stdout appears in the folder. when I open that is says:

Version: 0.13.0
Unable to load options file
Successfully loaded language file!
OpenGL version: 2.1
Enabling full opengl.

+1 vote     reply to comment
AFellowStalker
AFellowStalker Nov 17 2011, 5:35pm says: Online

Version: 0.13.0
Unable to load options file
Successfully loaded language file!
OpenGL version: 3.0
Enabling full opengl.

+1 vote     reply to comment
dirkson
dirkson Nov 18 2011, 1:21pm replied:

OpenGL 3.0 is a really unusual OpenGL to have - Try updating your graphics drivers, you should be able to get up to 3.1 or 3.3. (Where the game should start working.)

Cheers,
-Dirk

+1 vote     reply to comment
AFellowStalker
AFellowStalker Nov 18 2011, 4:19pm replied: Online

I did so, now it goes to a black screen with a black cursor and crashes.

+1 vote     reply to comment
dirkson
dirkson Nov 18 2011, 4:57pm replied:

Curious! Would you mind doing a little troubleshooting over at the ScrumbleShip forums? ( forums.scrumbleship.com )

+1 vote     reply to comment
AFellowStalker
AFellowStalker Nov 18 2011, 9:47pm replied: Online

Alright, what must be done? Once I get on the forums.

+1 vote     reply to comment
dirkson
dirkson Nov 18 2011, 11:32pm replied:

Create a thread in the help section, and post your current stdout.txt .

I really appreciate it - Bug reports are the only method I have for fixing bugs.

Cheers!
-Dirk

+1 vote     reply to comment
Rhyl3yMaster
Rhyl3yMaster Nov 15 2011, 4:46pm says:

minecraft with spaceships!

+1 vote     reply to comment
dirkson
dirkson Nov 15 2011, 5:20pm replied:

And guns! And voxels! And destructable blocks! And realistic physics! And masses of AI players!

Cheers,
-Dirk

+2 votes     reply to comment
mechwarrior24
mechwarrior24 Nov 15 2011, 7:12am replied:

Sounds pretty damn awesome! =)

+1 vote     reply to comment
Post a Comment
click to sign in

You are not logged in, your comment will be anonymous unless you join the community today (totally free - or sign in with your social account on the right) which we encourage all contributors to do.

2000 characters limit; HTML formatting and smileys are not supported - text only

Icon
ScrumbleShip
Platforms
Windows, Mac, Linux
Developer & Publisher
Orangehat Tech
Engine
Custom Built
Contact
Send Message
Official Page
Scrumbleship.com
Release Date
Released Oct 31, 2011
Game Watch
Track this game
Share
Community Rating

Average

9.2

57 votes submitted.

You Say

-

Ratings closed.

Highest Rated (4 agree) 10/10

The parts of this game that are already in place are awesomely fun, and once the rest of it is in place, there will be nothing like it anywhere. 10/10 for concept and fun.

Apr 5 2012, 9:25am by dubyrunning

Style
Genre
Futuristic Sim
Theme
Sci-Fi
Players
Single & Multiplayer
Project
Indie
Boxshot
Boxshot
Twitter

Latest tweets from

It can take up to a few hours for tweets to begin appearing.

Embed Buttons

Promote ScrumbleShip on your homepage or blog by selecting a button and using the HTML code provided (more).

ScrumbleShip ScrumbleShip
ScrumbleShip
Statistics
Rank
260 of 22,400
Last Update
1 month ago
Watchers
502 members
Files
27
News
29
Tutorials
3
Reviews
17