An image editing program inspired by the 3DS title 'FlipNote Studio' featuring the same resolution to give the images the same look.
at master 1.5 kB view raw
1using System; 2using System.Linq; 3using Fjord; 4using Fjord.Modules.Debug; 5using Fjord.Modules.Game; 6using Fjord.Modules.Graphics; 7using Fjord.Modules.Input; 8using Fjord.Modules.Mathf; 9using Fjord.Modules.Sound; 10using static SDL2.SDL; 11 12using Game.Scenes; 13 14namespace Game { 15 public class main : scene 16 { 17 public override void on_load() 18 { 19 game.set_render_resolution(game.renderer, 1920, 1080); 20 21 if(!scene_handler.get_scene("game-template")) { 22 23 // Add all scenes 24 scene_handler.add_scene("game-template", new main()); 25 scene_handler.add_scene("draw", new draw_scene()); 26 27 // Load the first scene this can later be called in any file as for example a win condition to switch scene. 28 scene_handler.load_scene("draw"); 29 } 30 } 31 32 // Update method 33 // This is where all your gamelogic is 34 35 public override void update() 36 { 37 38 } 39 40 // Render method 41 // This is where all your rendering is 42 43 public override void render() 44 { 45 46 } 47 } 48 49 // Main Class 50 51 class Program 52 { 53 public static void Main(string[] args) 54 { 55 // Function that starts game 56 // The parameter should be your start scene 57 game.set_resource_folder("resources"); 58 game.run(new main()); 59 } 60 } 61}