More actions
No edit summary |
No edit summary |
||
Line 68: | Line 68: | ||
== External links == | == External links == | ||
* QuickJump - [https://web.archive.org/web/20210324224134/http://forums.qj.net/psp-development-forum/46820-wario-ware-minigame-development.html#post557279 http://forums.qj.net/psp-development-forum/46820-wario-ware-minigame-development.html] (archived) | * QuickJump - [https://web.archive.org/web/20210324224134/http://forums.qj.net/psp-development-forum/46820-wario-ware-minigame-development.html#post557279 http://forums.qj.net/psp-development-forum/46820-wario-ware-minigame-development.html] (archived) | ||
[[Category:Lua games on PSP]] |
Latest revision as of 10:22, 25 November 2024
Wario Ware Dev Kit | |
---|---|
General | |
Author | youresam (Sam) |
Type | Game Engines |
Version | 2006 |
License | Mixed |
Last Updated | 2006/04/09 |
Links | |
Download | |
Website | |
Source | |
This is the Development Kit for creating mini games for Wario Ware PSP.
The graphics are made by Campbell_FF (except PSP button images).
Note: This isn't the game, its basically an "emulator" for the minigames.
User guide
To create a game, refer to the functions below and the example level in "/levels/level.lua".
Advanced Controls lib
Advanced Controls lib (acl) is a library that makes it easier to detect button input.
Functions:
(NOTE: the button must be in quotes, example: "start")
acl_begin_press(button) -returns true if that button had just been pressed acl_hold(button) -returns true if that button is being held acl_release(button) -returns true if the button had just been released
Main functions and variables:
At the beginning of a program, you must call:
function minigame_new() minigame_text = "[text]" minigame_start()
Right before you flip the screen, you must call:
minigame_functions()
After flipping the screen, call:
if minigame_end then break end
After the minigame completly ends, call:
end --this ends the function minigame_new table.insert(minigames, minigame_new)
VAR: minigame_text: The text displayed at the begining of the minigame
VAR: minigame_end: If true, the minigame is over and will break
VAR: minigame_win: The minigame sets this as true if the minigame is won
FUNCTION: display_image(x,y,button): Displays an animation of the image being pressed, indicating to press it.
Notes
Some notes about created games:
- You can have as many games as you want in a file.
- The only file read is "/levels/level.lua".
- Your images must load from "./images/". (Update: You can load the images and sounds by placing them in your level file outside a function. When Wario Ware PSP starts, it scans all the level files, and runs them. However, when it runs, all it does is adds the functions. During this time, you need to load your images and sounds.)
- Once your game is complete, restart the Dev Kit by pressing start and re-run it. Doing this deletes all variables that your program might have had and was still using.
- To activate USB, you have to run the minigames once.
External links
- QuickJump - http://forums.qj.net/psp-development-forum/46820-wario-ware-minigame-development.html (archived)