domingo, 2 de agosto de 2009

EFS Tutorial (English)

After much work, I leave here tutorial EFS in English.
This tutorial includes:
* Load pallets with EFS
* Load sprites with EFS
* Load background with EFS
* Load mod with EFS
* Load raw files with EFS
* Load mp3 files with EFS
Link to dowload: http://www.mediafire.com/download.php?wjeonj0laym.

lunes, 27 de julio de 2009

Tutorial de EFS

En principio pretendia ir subiendo partes del tutorial de efs y después subir el fichero a pdf, pero con lo ocupado que estube no tube tiempo así que al final hice directamente el tutorial en pdf. Este tutorial incluye:
* Cargar paletas con efs
* Cargar sprites con efs
* Cargar fondos con efs
* Cargar ficheros mod con efs
* Cargar ficheros raw con efs
* Cargar ficheros mp3 con efs
De momento el tutorial sólo esta en español y en unos días espero subirlo en inglés. El link es el siguiente: http://www.mediafire.com/?iyh50wdmbat.

jueves, 23 de julio de 2009

EFS Capítulo Uno / EFS Chapter One

Como habia dicho unos días antes voy a comenzar a realizar un tutorial de EFS que haré en varias etapas y que una vez acabado subiré en un archivo pdf. Aunque se pueden usar las funciones de fat, yo prefiero la libertad que me da trabajar con mis propias funciones y de esta forma será como lo explique.
Para empezar hay que saber que significa eso de EFS. EFS son las siglas de Embedded File System, en castellano "sistema de archivos embebido", que nos va a permitir poner los recursos que utilizamos en los juegos dentro de la rom de nds sin necesidad de usar la fat para cargar fondos, musica, etc.
Para poder utilizar EFS debemos de hacer unos pasos antes de programar:
1) Copiar los archivos efs_lib.h y efs_lib.c en nuestra carpeta source y añadirlos al proyecto. Estos archivos los podemos encontrar en los ejemplos de palib.
2) Copiar tambien la aplicacion efs en la carpeta anterior a donde esta el source.
3) Por ultimo abrimos el make del proyecto y buscamos #USE_EFS = YES y le quitamos el #.
Con todo esto ya podremos usar el sistema de archivos embebido y terminamos la explicacion de hoy. En el proximo capítulo: Inicializar EFS y Obtener un puntero para trabajar con los archivos.



A few days mentioned that I will begin to make a EFS tutorial that I will do in phases and once finished take a pdf file. Although, you can use the functions of fat, I prefer the freedom that I get to work with my own functions and thus be like him to explain.
First, one must know that this means of EFS, it stands for Embedded File System, it will allow us to put the resources we use in the games in the rom nds with no need to use fat to load sprites, music...
To use EFS must make a few steps before programming:
1) Copy files efs_lib.h and efs_lib.c in your project folder source and add to project. These files can be found in the examples palib.
2) Copy the application efs folder in preceding source folder.
3) Finally we open the project and seek to make #USE_EFS = YES and remove the #.
In the next chapter: Initialize SAI and Get a pointer to work with the files.

lunes, 20 de julio de 2009

Trabajando en el juego / Working in game

En estos 15 dias desde que publiqué la última entrada, he estado trabajando durante mi poco tiempo libre en el juego, no hay mucho que contar que sea de relevancia realmente más que nada publico mis avances para que no penseis que he abandonado el juego.
Ahora mismo me encuentro haciendo un lenguaje de scripts que hace lo basico: animar sprites, moverlos, mostrar textos por pantalla, mostrar mensajes, aumentar/disminuir el dinero y algunas cosas más. Tambien estoy realizando los primeros enemigos para completar el sistema de combates que aún anda a medio hacer.
De momento nada más que decir, salvo que dentro de poco espero poder subir un tutorial sobre efs, adios.


15 days have passed since I published the last post, I have been working during my spare time in the game, there's not much to tell who is really more important than anything my progress so that the public does not think I left the game.
Right now I'm making a scripting language that makes the basics: sprites animate, move, display text on screen, display messages, increase / decrease the money and more. I also made enemies for the first complete system of fighting still going to do half.
For the moment nothing else to say except that I hope will soon be able to upload a tutorial on EFS, bye.