Changes

1,066 bytes added ,  22:21, 20 June 2009
no edit summary
Line 4: Line 4:  
| type = framework library
 
| type = framework library
 
| author = [[User:Minishlink|Minishlink]]
 
| author = [[User:Minishlink|Minishlink]]
| version = 1.0
+
| version = 1.1
 
| website = http://louislagrange.free.fr/MLlib/
 
| website = http://louislagrange.free.fr/MLlib/
 
| download = http://code.google.com/p/mllib/downloads/
 
| download = http://code.google.com/p/mllib/downloads/
Line 20: Line 20:  
* Sprite system;
 
* Sprite system;
 
* Handles PNG images;
 
* Handles PNG images;
 +
* Special effects;
 
* Write graphically text;
 
* Write graphically text;
 
* MP3 system;
 
* MP3 system;
Line 37: Line 38:  
Now the '''MLlib'''.  
 
Now the '''MLlib'''.  
 
# Download the MLlib on the [http://code.google.com/p/mllib/downloads/list Google Code MLlib page]
 
# Download the MLlib on the [http://code.google.com/p/mllib/downloads/list Google Code MLlib page]
# Extract the arhive and place the 3 folders where you want (recommended in C:\devkitPro)
+
# Extract the archive and place the folder (recommended in C:\devkitPro)
# Info : "MLlib" folder is where the library is; "MLlib_" folder is where the source is (you can delete it if you want); "MLlib_Others" is where the template, examples, ressources are.
+
# Examples, documentation and more are in the "MLlib_Others_XXXXXX.zip" package.
 
# Set the environment variable "MLPATH" to your path to the MLlib. (eg. "/c/devkitPro/MLlib" because it must be linux-style) To do that, open the Start menu, right-click on Computer -> Properties, then go to the advanced settings -> environments variables. Set it there. It's recommended to restart the computer.
 
# Set the environment variable "MLPATH" to your path to the MLlib. (eg. "/c/devkitPro/MLlib" because it must be linux-style) To do that, open the Start menu, right-click on Computer -> Properties, then go to the advanced settings -> environments variables. Set it there. It's recommended to restart the computer.
 
# It should be done ! Go explore examples ! :D (test if it works via an example)
 
# It should be done ! Go explore examples ! :D (test if it works via an example)
Line 53: Line 54:  
Now the '''MLlib'''.  
 
Now the '''MLlib'''.  
 
# Download the MLlib on the [http://code.google.com/p/mllib/downloads/list Google Code MLlib page]
 
# Download the MLlib on the [http://code.google.com/p/mllib/downloads/list Google Code MLlib page]
# Extract the archive and place the 3 folders where you want (recommended in /home/user/devkitpro)
+
# Extract the archive and place the folder where you want (recommended in /home/user/devkitpro)
# Info : "MLlib" folder is where the library is; "MLlib_" folder is where the source is (you can delete it if you want); "MLlib_Others" is where the template, examples, ressources are.
+
# Examples, documentation and more are in the "MLlib_Others_XXXXXX.zip" package.
 
# Set the environment variable "MLPATH" to your path to the MLlib. (eg. "/home/username/devkitpro/MLlib") To do that, open and type in a new console:
 
# Set the environment variable "MLPATH" to your path to the MLlib. (eg. "/home/username/devkitpro/MLlib") To do that, open and type in a new console:
 
  export MLPATH=/path/to/MLlib
 
  export MLPATH=/path/to/MLlib
Line 69: Line 70:  
==Notes==
 
==Notes==
 
===Quickstart===
 
===Quickstart===
For a quickstart, see the section [[#How_to_install_.3F|How to install ?]] and go see the examples in the "MLlib_Others" folder ! ;)
+
For a quickstart, see the section [[#How_to_install_.3F|How to install ?]] and go see the examples in the "MLlib_Others_XXXXXX.zip" package ! ;)
    
===Tutorials and Wiki===
 
===Tutorials and Wiki===
Line 75: Line 76:     
===Documentation===
 
===Documentation===
Online documentation is available [http://louislagrange.free.fr/MLlib/documentation here].  
+
Online documentation is available [http://louislagrange.free.fr/MLlib/documentation here]. Or in the "MLlib_Others_XXXXXX.zip" package.
 +
 
 +
==="MLlib_Others_XXXXXX.zip" package===
 +
It can be downloaded on [http://code.google.com/p/mllib/downloads/list Google Code] !
    
===Error when compiling the template/examples ?===
 
===Error when compiling the template/examples ?===
Line 129: Line 133:     
==Update History==
 
==Update History==
 +
===1.1 - June 20, 2009===
 +
* New method of programming. It uses seriously very less memory now. ML_Image, ML_Sprite, ML_Background.
 +
* added : ML_Screenshot(filename)
 +
* added : ML_IsSpriteVisible(sprite)
 +
* added : ML_AnimateSpriteEx(sprite, enabled,
 +
waitForXRefreshBetweenFrames,  from, to)
 +
* added : ML_TextBox(ML_Sprite *sprite, x, y, x2, y2, const char *text, ...)
 +
* added : ML_DrawRect(int x, int y, u16 width, u16 height, u32 rgba)
 +
* added : ML_Debug(text)
 +
* added : ML_CloneImage(image1, image2)
 +
* added : ML_DrawSpriteTextLimit(sprite, x, y, text, limit)
 +
* added : ML_FlipImageX(image)
 +
* added : ML_FlipImageY(image)
 +
* added : ML_InvertImageColors(image)
 +
* added : ML_ApplyGrayscaleToImage(image)
 +
* added : ML_FlushImage(image)
 +
* modified : Input is now finished
 +
* modified : ML_GetPixelColor
 +
* modified : ML_SetPixelColor
 +
* modified : ML_SplashScreen
 +
* modified : ML_Cursor, so that it draws your cursor/sprite with the center of
 +
the image, and then modifies the sprite.x and sprite.y so that if you point to
 +
the left-up edge of the screen it gives you 0, 0.
 +
* fixes and optimizations
 +
 
===1.0 - May 31, 2009===
 
===1.0 - May 31, 2009===
 
* First public release
 
* First public release
172

edits