Don't like ads? PRO users don't see any ads ;-)
Guest

How to use PowerGame

By: LOLerul on Aug 3rd, 2012  |  syntax: None  |  size: 1.34 KB  |  hits: 23  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. This is a guide for PowerGame.
  2.  
  3. 1.What is PowerGame?
  4. PowerGame is a program for running games on library disks.
  5.  
  6. 2.How does it work?
  7. The sourcecode is pretty self-explanatory, but if you are too lazy to take a look through it,
  8. all it does is that it loads a function called "game.run()" from a library disk in a disk drive.
  9.  
  10. 3.Games
  11. For now, there isn't any game made for this. I would of made one, but i don't know
  12. touchscreen coding.
  13.  
  14. 4.Instructions
  15. First, put a weasel core and connect a terminal called "term" to it, aswell as a Disk drive, then paste the code into the programming tab, then check+launch. (If it gives you an error, you fail at copy+pasting!)
  16. Well, with the new errorscreens, it kindda tells you everything else.
  17.  
  18. 5.Making Games
  19. So, you are probably asking "Can't I make a game?". Of course you can. Just make a function called "game.run()" on a library disk and then start building the main menu, the in-game part and you can even request console input with "X = con.get()". The touchscreen's name is stored in the variable "touch", so you can use dynamic calls to draw on it. (This will probably change in the future)
  20.  
  21. Of course you can make game libraries too. With theese, you can make more games that need a single library with useful functions.
  22.  
  23. 6.License
  24. You can modify this the way you want, but only for personal usage.