Advertisement
Tidall

Untitled

Dec 14th, 2016
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.97 KB | None | 0 0
  1. using System;
  2. using System.Collections.Generic;
  3. using SystemOfAQuincy;
  4. using Microsoft.Xna.Framework;
  5.  
  6. namespace Test
  7. {
  8. internal class Program
  9. {
  10. public static void Main(string[] args)
  11. {
  12. using (var q = new QApplication())
  13. {
  14. //Add your scene objects to the game before it opens!
  15. q.Run(new YourGame());
  16. }
  17. }
  18. }
  19.  
  20. class YourGame : QScene
  21. {
  22. //The only thing you need to do in your scene is setup the startup objects!
  23. //You do everything else inside other game objects!
  24. public override void Load()
  25. {
  26. //Creating an object is as easy as calling instantiate!
  27. //Instantiate objects here!
  28. Instantiate(new Tidal());
  29. }
  30. }
  31.  
  32. public class Tidal : QBehavior
  33. {
  34. public override void Load()
  35. {
  36. var BackgroundColor = Color.Black;
  37. }
  38.  
  39. }
  40. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement