• Announcements

    • khawk

      Download the Game Design and Indie Game Marketing Freebook   07/19/17

      GameDev.net and CRC Press have teamed up to bring a free ebook of content curated from top titles published by CRC Press. The freebook, Practices of Game Design & Indie Game Marketing, includes chapters from The Art of Game Design: A Book of Lenses, A Practical Guide to Indie Game Marketing, and An Architectural Approach to Level Design. The GameDev.net FreeBook is relevant to game designers, developers, and those interested in learning more about the challenges in game development. We know game development can be a tough discipline and business, so we picked several chapters from CRC Press titles that we thought would be of interest to you, the GameDev.net audience, in your journey to design, develop, and market your next game. The free ebook is available through CRC Press by clicking here. The Curated Books The Art of Game Design: A Book of Lenses, Second Edition, by Jesse Schell Presents 100+ sets of questions, or different lenses, for viewing a game’s design, encompassing diverse fields such as psychology, architecture, music, film, software engineering, theme park design, mathematics, anthropology, and more. Written by one of the world's top game designers, this book describes the deepest and most fundamental principles of game design, demonstrating how tactics used in board, card, and athletic games also work in video games. It provides practical instruction on creating world-class games that will be played again and again. View it here. A Practical Guide to Indie Game Marketing, by Joel Dreskin Marketing is an essential but too frequently overlooked or minimized component of the release plan for indie games. A Practical Guide to Indie Game Marketing provides you with the tools needed to build visibility and sell your indie games. With special focus on those developers with small budgets and limited staff and resources, this book is packed with tangible recommendations and techniques that you can put to use immediately. As a seasoned professional of the indie game arena, author Joel Dreskin gives you insight into practical, real-world experiences of marketing numerous successful games and also provides stories of the failures. View it here. An Architectural Approach to Level Design This is one of the first books to integrate architectural and spatial design theory with the field of level design. The book presents architectural techniques and theories for level designers to use in their own work. It connects architecture and level design in different ways that address the practical elements of how designers construct space and the experiential elements of how and why humans interact with this space. Throughout the text, readers learn skills for spatial layout, evoking emotion through gamespaces, and creating better levels through architectural theory. View it here. Learn more and download the ebook by clicking here. Did you know? GameDev.net and CRC Press also recently teamed up to bring GDNet+ Members up to a 20% discount on all CRC Press books. Learn more about this and other benefits here.
  • entries
  • comments
  • views

Destructing spaceships

Sign in to follow this  
Followers 0


Structure of breaking
These last days I worked on spaceship structure. As I want it to be break nicely, I built some kind of structure from ships described in text files. The result is not perfect yet, but it works, ships can be broken firing at them ^^

Here's an image of a ship structure, built automatically starting from cockpit and kinda path-finding in the ship (I highlighted a ship in red to see arrows better).


  • One element is only attached to a single other. This leads to quite "weak" structures, that is what I want. If you break a block all the connected parts will be "freed" from main ship.

    • Unlike Captain Forever, the ships will break down into smaller pieces (they won't be destroyed). These parts, in certain cases, will continue to live as independent ships (yes, like lizard tail : ). If a ship is broken in two parts, and each one has engines, they will try to flee (or even attack the player if they have weapons left).



      As you can see, structure is already important. With a single shot on the side, I can easily break the big square in 2 parts, because its structure is made in "S". But after this, i shoot multiple time in the center, with nearly no effect. Fighting strategy coming rolleyes.gif

Sign in to follow this  
Followers 0


Thanks. As you can see it's more an iterative way of working than a fully designed game !
I'll keep posting my future updates here (now I'm still working with spaceship structure, there are lot of possibilities designing spaceships !!)

Share this comment

Link to comment
[left]It looks good. I doubt I could make anything like that, so my criticism next is from a player point of view rather than a development one. [/left]

[left]The ships [i]look [/i]like all neighbouring elements are connected to each other. The player cannot see how the connections are actually winding paths. This means from the player's point of view the breaking reactions to shots appear unintuitive. If I felt this was just my personal opinion I wouldn't say anything, but I suspect a lot of players will have the same opinion about it. [color=#282828][font=helvetica, arial, verdana, tahoma, sans-serif]I[/font][/color][font="helvetica, arial, verdana, tahoma, sans-serif"][color="#282828"]t isn't obvious why a single shot in one place will split the ship in half but a shot elsewhere has no effect. Perhaps you are planning something to alleviate that, although I doubt anything could.[/color][/font][/left]

[left]You say you want the ships fragile which I understand, but cant you achieve the same effect by connecting all elements to their neighbours and allowing attacks to "chew through" the body until they cut through? The interior elements of a ship could be slightly or very explosive so once you've chewed through the hull layer you could "split" a ship in half really quick.[/left]

Anyway that is supposed to be constructive criticism although I realize it is annoying in suggesting a system you've worked on for days is redone.

Share this comment

Link to comment
Don't worry, positive criticism is always welcome :) I expose my work on this blog to have feedback, like you do, so... thank you !

But you are right, if player doesn't know the structure (like in the video), he will be frustrated.

I would like to have a more subtle way of destroying ships than just breaking the outside then the inside. Two visually identical ships could have a different structure and be beaten different ways. I think gameplay would be more interesting.

Then the solution, from my point of view, is to have player to better understand the structure. How ?[list]
[*]I reworked the structure algorithm : it starts from the -blue- cockpit and then makes some kind of tree structure much more logical than previous "snake" structure
[*]I could display/orient the graphical blocks depending on where they are attached and have them less symmetrical
[*]Maybe a display mode "laser scan" could display ship structure for a short time[i] (I like this one)[/i]
If all this doesn't work (from a gameplay point of view), I will switch back to another way of connecting parts (like the one you suggested). this won't be a lot of change, as the structure algorithm is not merged with the destruction algorithm. In this case, I'll try your approach (that could work but is more classical).

Check out the results from the new algorithm. It could nearly be understood without displaying it.


What do you think of it ?

Share this comment

Link to comment
yes that's a lot more intuitive as it's like a skeletal structure and could probably be understood without displaying it. Perhaps there's a middle ground where instead of white arrows that are obviously an overlay there could be tubing on top of the ships hull that matches the skeleton but is part of the ship.

Share this comment

Link to comment
Sure, white arrows are debug display only, it won't be displayed like this at the end !
I'll think about how to display that "skeleton"....

Share this comment

Link to comment
I'd just like to say that this is a pretty cool idea altogether. I am in favor of the "laser scan"-display mode, maybe associated with a timer of sorts (so it doesn't show always). I think that could look good if done right. Good job and keep it up =)

Share this comment

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now