What I’ve done with KSpiral

Wow, holiday at home. It’s time for coding. Not even one month till the new semester starts.

I’m quite sure, that the elements in the SVG file are all what I need in KSpiral. I choose the way to have an extra .desktop file, which contains the config.

Author=Felix Lemke
Description=First map for testing created by programer

#number of balls to be spawned in this level
#movement duration of ball along the whole path
#cannon speed in points per second
#list of ball types (names in svg file, comma-separated)
#list of barriers (names in svg gile, comma-separated) includung the outer walls

You can see, that you can specify a list of barriers, which are drawn in the game. If balls should collide with these barriers you need a separate outline, named with the barriere name + Outline (for example: TopOutline). I have to be an path, not an object. It’s also possible to have only an „TopOutline“ path without an „Top“ object (like in my example SVG). Note, that the outline paths (if not included in objects group) aren’t drawn.

example map

example map

One special Element ist the „Cannon“ and it’s „CannonTop“. New balls are spawned between these layers.

Anymore I searched crashs and some more ugly behaviour. Now it shouldn’t be so easy to crash KSpiral. Next steps are including a score system, find some bugs/crashs.

PS: Thanks to Eugene, who shows interesse in creating an map for KSpiral. KSpiral comes to a level where we can talk about map design.


Kommentar verfassen

Trage deine Daten unten ein oder klicke ein Icon um dich einzuloggen:


Du kommentierst mit Deinem WordPress.com-Konto. Abmelden /  Ändern )

Google+ Foto

Du kommentierst mit Deinem Google+-Konto. Abmelden /  Ändern )


Du kommentierst mit Deinem Twitter-Konto. Abmelden /  Ändern )


Du kommentierst mit Deinem Facebook-Konto. Abmelden /  Ändern )


Verbinde mit %s


Creative Commons Lizenzvertrag
Dieser Werk bzw. Inhalt ist unter einer Creative Commons-Lizenz lizenziert.

Paperblog :Die besten Artikel aus Blogs

Old but important:

Um neue Beiträge per E-Mail zu erhalten, hier die E-Mail-Adresse eingeben.

Schließe dich 2 Followern an