Jump to content

New Code Parser Installed


jcsnider

Recommended Posts

Hi all, more site updates coming your way. This time we now have a code rendering mod based off of Geshi.

Simply put, if you use the code drop down to select your language when pasting code it will properly highlight.

ikE08L9ihDzTi38zW1.png

Here are some examples:

C#

        public static void Main(string[] args)
        {
            Thread logicThread;
            Console.WriteLine(@"  _____       _                          _   ");
            Console.WriteLine(@" |_   _|     | |                        | |  ");
            Console.WriteLine(@"   | |  _ __ | |_ ___ _ __ ___  ___  ___| |_ ");
            Console.WriteLine(@"   | | | '_ \| __/ _ \ '__/ __|/ _ \/ __| __|");
            Console.WriteLine(@"  _| |_| | | | ||  __/ |  \__ \  __/ (__| |_ ");
            Console.WriteLine(@" |_____|_| |_|\__\___|_|  |___/\___|\___|\__|");
            Console.WriteLine(@"                          free 2d orpg engine");
            Console.Write("Copyright (C) 2015  JC Snider, Joe Bridges\nFor help, support, and updates visit: http://ascensiongamedev.com\n");
            Console.WriteLine("Loading, please wait.");
            Database.CheckDirectories();
        }

and VB

    Public Sub DestroyGame()
        ' break out of GameLoop
        InGame = False
        PlayerSocket.Close()
        PlayerSocket = Nothing
        Call DestroyGraphics()
        GameDestroyed = True
        Application.Exit()
    End Sub

I will be going through our existing topics and fixing the code tags to use this new system.

Enjoy!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...