More actions
(Created page with "{{Infobox homebrew | title = DSWave | image = File:Dswaves.png | type = Other | version = 1.0 | licence = Mixed | author = RedHunter | webs...") |
No edit summary |
||
Line 15: | Line 15: | ||
==User guide== | ==User guide== | ||
Load the RAM waves. | Load the RAM waves. | ||
DSWave.LoadWave ("imagen_ondas.png") | |||
Load the VRAM waves. | Load the VRAM waves. | ||
DSWave.LoadVWave ("imagen_ondas.png") | |||
Free the image of waves (for charging another or to free memory). | Free the image of waves (for charging another or to free memory). | ||
DSWave.ClearWave () | |||
Dyeing the waves. | Dyeing the waves. Example: DSWave.Tint (Red), assume you define a color using Red as Red = Color.new (31,0,0) | ||
DSWave.Tint (Color) | |||
Creates a horizontal mirror. Example: DSWave.MirrorH (true) to enable or DSWave.MirrorH (false) to disable. | Creates a horizontal mirror. Example: DSWave.MirrorH (true) to enable or DSWave.MirrorH (false) to disable. | ||
DSWave.MirrorV (true) or DSWave.MirrorV (false) | |||
Same as above but creating a vertical mirror. | Same as above but creating a vertical mirror. | ||
DSWave.MirrorH (true) or DSWave.MirrorH (false) | |||
Blitea the wave on the screen should be used inside the loop. | Blitea the wave on the screen should be used inside the loop. | ||
DSWave.Init (SCREEN_UP) or DSWave.Init (SCREEN_DOWN) | |||
Sets the speed of the wave, important to use, otherwise the wave will not move. | Sets the speed of the wave, important to use, otherwise the wave will not move. | ||
DSWave.SetSpeed (1) - where 1 can be 2,3,4, ... | |||
Returns the speed of the wave, for use with a variable Example: | Returns the speed of the wave, for use with a variable Example: | ||
DSWave.GetSpeed velocidad_olas = () | |||
'''Note from developer:''' | |||
You can create the image of the waves with GIMP or Photoshop (or any other graphics editing program) or use the ones in this tutorial for PSP, only you have to resize them to 256x192. | |||
[[Category: | Keep in mind that the following variables can not be used in our homebrews because the library uses DSWave: waveimg, CRN, crrk, vvl, VLV, srrrr, cWave, sssr. | ||
<br> | |||
[[Category:DS homebrew applications]] | |||
[[Category:Other DS applications]] |
Revision as of 06:28, 24 Mayıs 2021
DSWave | |
File:Dswaves.png | |
General | |
---|---|
Author(s) | RedHunter |
Type | Other |
Version | 1.0 |
Licence | Mixed |
Links | |
[Media:Dswavelua1.rar Download] | |
Website |
<htmlet>adsense</htmlet>
DSWaves is a library programmed in Lua of a style waves of the PSP XMB. It creates waves resembling the PSP XMB on NDS. This library is for Micro Lua DS only.
User guide
Load the RAM waves.
DSWave.LoadWave ("imagen_ondas.png")
Load the VRAM waves.
DSWave.LoadVWave ("imagen_ondas.png")
Free the image of waves (for charging another or to free memory).
DSWave.ClearWave ()
Dyeing the waves. Example: DSWave.Tint (Red), assume you define a color using Red as Red = Color.new (31,0,0)
DSWave.Tint (Color)
Creates a horizontal mirror. Example: DSWave.MirrorH (true) to enable or DSWave.MirrorH (false) to disable.
DSWave.MirrorV (true) or DSWave.MirrorV (false)
Same as above but creating a vertical mirror.
DSWave.MirrorH (true) or DSWave.MirrorH (false)
Blitea the wave on the screen should be used inside the loop.
DSWave.Init (SCREEN_UP) or DSWave.Init (SCREEN_DOWN)
Sets the speed of the wave, important to use, otherwise the wave will not move.
DSWave.SetSpeed (1) - where 1 can be 2,3,4, ...
Returns the speed of the wave, for use with a variable Example:
DSWave.GetSpeed velocidad_olas = ()
Note from developer:
You can create the image of the waves with GIMP or Photoshop (or any other graphics editing program) or use the ones in this tutorial for PSP, only you have to resize them to 256x192.
Keep in mind that the following variables can not be used in our homebrews because the library uses DSWave: waveimg, CRN, crrk, vvl, VLV, srrrr, cWave, sssr.