Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - LightningEagle

Pages: [1]
1
Saira Level Editing Support / Editing FAQ
« on: December 19, 2009, 20:07:07 »
Okay, so a thread with a single question regarding devices appeared. I don't want to be rude to anyone, but as this is our only forum regarding editing I kinda feel that I don't want it to be polluted by single question topics.

This thread should be for questions regarding editing of Saira and will work as a FAQ.

I will fill out with some basic Q/A.

Have a question?
Procedure:
 * Post a reply with your question to this topic
 * We will try to answer your question and redirect you to existing posts relevant to your question.

A thanks to everyone helping out in this upstart procedure of Saira editing.
Thanks to:
 * Nifflas - for creating this awesome game and answering our questions.
 * Exp HP - for active testing and creating detailed descriptions of mechanics.
 * smeagle - for an enthusiastic eagerness and for helping out by suggesting and pointing people in the right direction.

 * ... everyone else who is actively partaking in this phase of learning.

Saira Editing - FAQ

List of questions:
What is editable by the level editor?
Explain the editor, please?
Which keys should I use in the editor?
How do I scroll rightwards?
Do I need MMF2 to edit puzzles and devices?
What about the battery charger?
Can you put more than *insert number* playable planets on a star system?
Can you place more than one planet in the same orbit ring?
How is fuel cost between star system calculated?
Flags, how and where do they work?
Help, the collision mask of my tileset is acting up strange?

Q: What is editable by the level editor?
A: The level editors sole purpose is arranging objects, sprites and tiles and editing the settings for a single screen on a planet. In this way the editor has nothing to do with the creating of the galaxy or the solar systems, but it is used to structure the explorable planet.
The editor cannot be used to create objects and sprites. It just fetches the objects and sprites defined in the objects.ini and sprites.ini.

Q: Explain the editor, please?
A: Using the editor is pretty simple:
  • Selecting a planet: When opening the editor you will have to select the Episode which you are working on. This brings up the underlying star systems, which in turn brings you the planets coherent to that star system. By selecting a planet you will be brought to that planets "workspace".
  • The planet workspace: Here you have several options: you have 4 buttons each linking to one of the following: sprites.ini, objects.ini, planet.ini or the planet folder. Additionally you have a grid with the screens of the selected planet. Screens containing information are highlighted. By clicking a tile in the grid you can bring up the corresponding screens workspace.
  • The Screen workspace: In this workspace you have 3 areas: The actual screen, the settings area and the button area in the lower right corner.
    • Let's mention the buttons first:
      • We have the save button, which saves your progress. Like the KS editor progress isn't saved automatically and you aren't prompted to save when closing the program.
      • Then we have the screen settings button, which brings up a text box for typing in settings regarding this particular screen. This could be the background image and such.
      • Third we have what I would call the cycle button, which allows one to cycle through the options of editing tiles, sprites and objects.
      • Last we have the grey mask button, which will allow you to lay a grey overlay on the background. This can be helpfull if you are editing something of a similar color.
    • The screen is the visual of your level. Here you can see your objects and sprites and drag them around and you can place your tiles.
    • The settings area hold different information depending on what you are editing:
      • Tiles will leave you the tileset which can be used as KS's. You select your tile in the tileset by clicking it and you place it in the editor by clicking where you want it.
      • The objects settings area:
        • The objects settings area hold a box which tells the editor which object the corresponding "bullet" on the screen is.
        • We have a square which will allow you to move the objects offset in relation to the corresponding bullet on the screen.
        • The circle with the triangle allows for rotation of the selected object.
        • We have some values which can be edited:
          • Scale: adjust the size of the object.
          • Grid size defines the size of the tiles of the grid, which the bullet should arrange itself in relation to.
          • Preview: hides/shows the bullets
          • Layer: sets the layer the object is placed on. This affects how much it pans in relation to other objects on other layers.
      • The sprites settings area hold the box controlling which sprite the "bullet" on screen refers to and it holds the same grid adjusting as objects.

Q: Which keys should I use in the editor?
A: Here are the keys for the editor:
  • ESC: Returns you back to the prior menu of the editor. Menus are Select planet->Planet workspace->Screen Workspace.
  • SHIFT: Hold to move the selected sprite or object with the mouse.
  • CTRL: Hold to create duplicates of the selected object or sprite. If none selected it is used to create objects or sprites with the settings set in the settings area.
  • Arrow keys: used for moving between screens. You will be prompted to save or delete changes on a screen before moving on.
  • WASD: used for moving the selection marker around in the tileset
  • DELETE: Deletes the selected sprite or object.
  • Middle Mouse Button/Scroll wheel: used to pan around in the screen you are editing. This helps you see the depth you create.
  • Right mouse button: will select the tile clicked in the screen area. This naturally applies when you edit tiles and not objects or sprites.

Q: How do I scroll rightwards?
A: Use the middle mouse button or scroll wheel.

Q: Do I need MMF2 to edit puzzles and devices?
A: Yes!

Q: What about the battery charger?
A: It is regarded as a puzzle. If you want to use one in a level you currently have to grab one of the puzzle.ccn files from Nifflas' level and use his. You can use this table as a reference when selecting the right puzzle.ccn file:
Quote
Star systemPowerPuzzle numberComments:
Austra2504
Cham2507
Goldschmidt7008
Josephine50010You need Flag 10=1 in the star system where it's placed. This is because it is locked in the original level.
Liuz35010
Ninian25016You need Flag 0=4 in the star system where it's placed. This is because it is missing power in the original level.
Polvere5003

Q: Can you put more than *insert number* playable planets on a star system?
A: Yes, it is possible to place multiple planets in a star system.
Planets in a star system are  created placed in the star system by writing an "Orbit #" section in the Star.ini of the given star system.
Please refer to this post in order to learn about the parameters regarding planet positioning: http://nifflas.lpchip.nl/index.php?topic=2304.msg25755#msg25755.
When a planet is created you have to create a folder of the same name as the new planet if you want the planet to be accessible. When this is done the planets explorable areas can be create/edited through the editor by selecting the planet in the "Selecting a planet" menu.

Q:Can you place more than one planet in the same orbit ring?
A: Yes, this is possible, but placing another planet in the same ring will create two rings laying upon each other. The result is A) the ring will be more visible and B) the last applied ring will place itself upon the first applied planet.
You can bypass this problem pretty easily by selecting a diameter which is just 1px bigger or smaller than the one of the other planet. This means the planet will be so near the ring that you probably won't notice the difference and as no ring exists for a size like 301px or 299px the second planet won't get a ring and you have no overlay.

Q:How is fuel cost between star system calculated?
A: Please excuse my explanation here as I'm not fluent in English mathematics notation.
The fuel cost actually equals the distance between stars. This is done by standard analytic geometry. The entire star map is a coordinate system where x-positive is to the right, y-positive is down and origin is the upper left corner. Each planet has a coordinate set given by it's location in the star.ini.
Now in order to know the fuel cost between two planets do this:
   Planet A coordinates = (X_A, Y_A)
   Planet B coordinates = (X_B, Y_B)
   sqrt{ (X_B - X_A)^2 + (Y_B - Y_A)^2 } = C
   Now floor* C and you have the result.
   
As you can see this is just Pythagoras theorem applied.
*I am not 100 percent certain of this. It could just be rounded but I guess it's floored.

Q:Flags, how and where do they work?
A: We have flags as in KS, though they work a bit different in Saira. For those who don't know the flags of KS, they are Boolean variables which can be true or false. They are primarily used to remember that something has happened.
In Saira they can be used for something alike. In Saira you are not limited to 10 flags in total, but rather 16 flags for each star system. Due to this flags are localized to each star system. They cannot affect anything in another star system, but they affect all planets in the given star system.
Another change is that flags in Saira are not Boolean, they can take on values of different sizes. The sprites of "type=Flag Hazard" can be used to check if a flag has a given value and then do something or not based in the result, which returns either true or false.

Q:Help, the collision mask of my tileset is rectangular for all tiles?
A: Most likely this is due to your .png containing an alpha-channel.
I haven't checked the file since I don't have photoshop at this PC, but I think the problem is that the mask is saved as a 32-bit png, which stores an alpha channel despite that all pixels are fully opaque. The game will then ignore the magenta and instead consider fully transparent pixels non-collidable.

You need to discard the alpha channel and save it as a 24-bit png file. If you use Photoshop, open your image. In case the name of the layer becomes "Layer 1", it's saved incorrectly. Flatten the image, this should convert it into a background layer that does not support an alpha channel. Now save your file, and it should become a 24-bit png instead of a 32-bit.
http://nifflas.lpchip.nl/index.php?topic=2415.msg27391#msg27391

2
Saira / Saira 1.1.1
« on: December 17, 2009, 22:29:04 »
So, a new small update.

Nifflas, the change affecting 3rd party levels.
Would you care to explain that in a little detail, please?  :)

3
Saira Level Editing Support / Collaborative episodes
« on: December 15, 2009, 11:45:36 »
Have anyone thought of this?

In Saira it'll be much easier to do collaborative episodes as each person could just do their own planet.
It would require the same kind of fiddling around with the editor in order to align the maps as one had to in KS.

 :shifty:

4
Development Showcase / Sprite animations
« on: December 14, 2009, 22:10:12 »
So I've been wanting to see the animation of some of the Saira sprite sheets for Saira herself and some creatures. But not in the game where they behave according to certain parameters, just the animated sprite.

So I sat down and figured I'd try to make somthing which is able to run those animations for me.

As I have nearly no coding experience except for PHP and a bit Assembly, I decided to do it in javascript, which - I figure - is a silly conclusion, but that's what happened anyway.

And so I flicked together some code using different resources as reference. It's no beauty, but it works.

http://www.mediafire.com/file/tgjdm3t2thz/sprite animation javascript verVII.rar

I've included a short README.

I expect to create a form at some time where you can specify all the parameters, but for now: just edit the source the way the README tells you to do it.

I've included two sprite sheets from Saira, which I used when creating the script. If you mind, Nifflas, I will remove the instantly.

5
Saira Level Editing Support / Customizable Puzzles
« on: December 13, 2009, 19:10:07 »
Now I wonder... would it be possible to create customizable puzzles... ?
For instance, the first one, in Lomond, is a simple labyrinth.

It could be recreated in a .ini file
# = walls
. = ... not walls...  :huh:
S = start
E = end
Code: [Select]
################
#..............#
#.############.#
#.#........#E#.#
#.#.##.#.#.#.#.#
#.#....#.#.#...#
#.#.####.#####.#
#.#..........#.#
#.######.#######
#......#.......#
#.######.##.##.#
#.#....#.#...#.#
#.#.##.#.#...#.#
#.#.#....#.S.#.#
#...#..#.#...#.#
################

Maybe someone could create a puzzler.ccn file which refered to a .ini file and looked up the puzzle of the number #. Then there could be a type parameter called labyrinth and some parameters in the same way that the tilesets are "encoded" (or whatever it is called) in the Planet.ini files.

.ini example
Code: [Select]
[Puzzle 1]
Type=Labyrinth
Row 0=################
Row 1=#..............#
Row 2=#.############.#
Row 3=#.#........#E#.#
Row 4=#.#.##.#.#.#.#.#
Row 5=#.#....#.#.#...#
Row 6=#.#.####.#####.#
Row 7=#.#..........#.#
Row 8=#.######.#######
Row 9=#......#.......#
Row 10=#.######.##.##.#
Row 11=#.#....#.#...#.#
Row 12=#.#.##.#.#...#.#
Row 13=#.#.#....#.S.#.#
Row 14=#...#..#.#...#.#
Row 15=################
[Puzzle 2]
Type=...

Wow.. that would be awesome.

If anyone with MMF2 could try out something like this it would be awesome.  :whoa:

6
Saira / Endings [spoiler]
« on: December 13, 2009, 01:44:19 »
Here are the endings and the combinations giving them:



Ending #1:
Teleporter works but Saira is just teleporter a few meters. FAILURE.

Combinations:
Targeting Device: Basic
Impulse Charge: Homebrew
Fuse: Standard

Targeting Device: Extra Precision
Impulse Charge: Homebrew
Fuse: Standard

Targeting Device: Basic
Impulse Charge: Homebrew
Fuse: High Power

Targeting Device: Extra Precision
Impulse Charge: Homebrew
Fuse: High Power

Ending #2:
Saira is teleported in the wrong direction and not far enough. She ends up on the planet Skomvær.

Combinations:
Targeting Device: Basic
Impulse Charge: Regular
Fuse: Standard

Targeting Device: Basic
Impulse Charge: Regular
Fuse: High

Ending #3:
Saira is teleported in the right direction but only halfway. She ends up on a kind of "Cruise Building" and is pretty much stuck there.

Combinations:
Targeting Device: Extra Precision
Impulse Charge: Regular
Fuse: Standard

Targeting Device: Extra Precision
Impulse Charge: Regular
Fuse: High Power

Ending #4:
Fuse is too weak to power the impulse drive. The teleporter didn't work.

Combinations:
Targeting Device: Basic
Impulse Charge: High Power
Fuse: Standard

Targeting Device: Extra Precision
Impulse Charge: High Power
Fuse: Standard

Ending #5:
Saira is teleportet far enough but the direction is a little bit off. She ends up on an alien planet where she meet Otto the watchman from the Knytt village in the Knytt game.

Combinations:
Targeting Device: Basic
Impulse Charge: High Power
Fuse: High Power

Ending #6:
Saira is teleported to the right place and she meets op with Bobo. They are able to build a long distance transmitter and hook up to the internet. There they learn that everyone still exist and that she herself disappeared. The phenomenon is left unexplained leaving open for a new and interesting adventure.

Combinations:
Targeting Device: Extra Precision
Impulse Charge: High Power
Fuse: High Power

7
Saira Level Editing Support / Gathering Knowledge
« on: December 13, 2009, 01:14:34 »
As Level editing in Saira appears to be just about as difficult as Nifflas told us I suppose we might as well begin to gather the information we learn about editing in order to establish a kind of knowledge base.

I guess...

Anyway, please add what you learn here.

This is assumptions based on the structure of the episode included with the game:

Episode Folder structuring
Spoiler: (click to show/hide)

Galaxy
Spoiler: (click to show/hide)

That's it for the Galaxy. And we haven't even come to the editor yet. Come on people, help me expand this.  :)

I might add to this tomorrow, after I've worked on my school assignment which I ditched today in order to play Saira  :).

8
Saira / Quitting resets you to the spaceship?
« on: December 12, 2009, 10:41:21 »
When I quit the game to the menu and load the game again I experience that I'm back at the spaceship even though I saved at a checkpoint.

All the puzzles I solved are still solved, but my position is reset whenever I leave and reenters.
That's kinda annoying. Is it meant to be that way?

9
Saira / Saira and Nifflas on google...
« on: December 11, 2009, 22:57:42 »
Hmm.. I thought it would be interesting to take note of the amount of results on google when searching for:

"Saira Nifflas" (without quotations)

Currently I get 539 hits. I wonder what it'll be like tomorrow or Sunday.
Will keep an eye on Google trends too. Would be awesome to see it peek like "died in a blogging accident" did because of xkcd.com. I don't want it to decline in the same way, though.

Hopefully Saira will catch up to somewhere near these graphs.
http://www.google.com/trends?q=knytt%2C+knytt+stories&ctab=0&geo=all&date=all&sort=0
Pretty interesting actually, Czech Republic is the second most active in searching for the keyword "knytt".
Guess it's pretty natural that "knytt" would do better than "knytt stories" since people tend to just search for "knytt" when seeking "knytt stories".. i guess.. at least i would.

As saira is a much more "common" word than "knytt" I guess it'll be hard to estimate the search accumulations. But... let's keep track anyway.  :D

10
Saira / Saira: Pronunciation...?
« on: December 09, 2009, 09:01:20 »
I was talking with some friends and we ended up wondering how to pronounce "Saira".
Any good guesses? Perhaps Nifflas could reveal a phonetic edition of the name/word?

Pretty please...

11
Hey, since people have begun to post their tilesets here I thought I could as well do that.
If not for anything else then at least to make the mods realize that we might need a better place for this?
Hmm.. I wonder when the new level archive is coming around?

Anyway, I've been working on this little tileset:
Spoiler: forrest (click to show/hide)

You're welcome to give suggestions to what more I could add to the tileset.

12
Development Showcase / Knytt Stories - CycloDS Evo skin
« on: June 12, 2009, 01:03:57 »
Updated to v1.0.
Added the theme at NDSThemes.com
Link: http://www.ndsthemes.com/themes/details/t/a4f46e0605
Added more knyttish cheat-icons.

------------------------------------------------------------------------
Original post:

Now, it's probably only a few who will have any use of this.
Anyway...

I did this skin for the CycloDS Evo.
If anyone out there has got a CycloDS Evo card please feel free to use this theme. :)

Tileset used: In the Growth by LightningEagle (not public yet)
Font: Swingset by blambot.com

Download: http://www.mediafire.com/file/wwlmnyznyok/KSDS - CycloDS skin - 0.9a.zip



EDIT: The picture looks blurry to me, click for at better one. I don't know what makes it mess up.  :/
EDIT2: If it doesn't look blurry on your computer, lucky you. You don't have to mention it.
EDIT3: Updated version and added link for NDSThemes.com

Pages: [1]