Jump to content
  • Advertisement
Sign in to follow this  
  • entries
    9
  • comments
    5
  • views
    5728

About this blog

Random Stuff about me, myself, and whatever I'm working on. Enjoy. )

Entries in this blog

 

New Years Resolutions

1) Win the Lotto (j/k)
2) Update my 'Calendar' and then actually stick to keeping it up to date =)
3) Get my last couple web games done.
4) Finish my odds and ends, and some other toys I've worked on but never really completed them.
5) Start a MMORPG!! =0

KGodwin

KGodwin

 

This is precisely why programmers should /not/ do

Well idiots like myself at least. Oh well, I decided to turn the 6hr GDC thing into a 'real' game so I might as well pretend. Hopefully, I'll be able to recruit an artist to do decent replacement art. Then again, with my luck, I'll get 1-2 images then they will go silent for a month. Fun times. Oh, and for anyone who may have glanced at my Imperiums thread...I'm delaying that game by a few months because I've got a new 'urge'. And unlike Imperiums, I don't care if the GDC game has crap art. =)

Archer

Cleric

Footman

KGodwin

KGodwin

 

Updated to deal with the infidels who use the whit

"text/css">
/* body */
body{background: black; color: silver;}
a:visited, a:link
{ color: #E00000; font-weight:bold; text-decoration: underline; }
a:hover
{color: #E00000; font-weight:bold; text-decoration: none;}
/* text */
.largefont {font-family: Courier New; font-weight: bold; font-size: 12pt; color: silver;}
.smallfont {font-family: Courier New; font-weight: bold; font-size: 8pt; color: silver;}
.regularfont {font-family: Courier New; color: silver;}
/* For tweaking your username */
.premiumusernames {font-family: Courier New; font-weight: bold; color: silver; }

/* table */
td {background:; #555555;}
/* Comments Header */
td.head {background: #555555; color: black; }
/* post subheader - the thingy with the date */
.post_dateline {font-family: Courier New; font-weight: bold; background: #333333; color: white; }
/* post body */
.post_body {font-family: Courier New; font-weight: bold; background: black; color: silver; }
/* post header */
.post_author {font-family: Courier New; font-weight: bold; background: #555555; color: white; border: 0px}
/* footer */
.post_trailer{font-family: Courier New; font-size: 10pt; color: #FFFFFF; background: black; padding: 2px 2px 2px 2x;}

/* For Code Blocks */
/* tag */
pre{font-family: Courier New; font-size: 10pt; color: #FFFFFF; background: black; padding: 2px 2px 2px 2x;}
/* tag */
.source{font-family: Courier New; font-size: 10pt; color: #FFFFFF; background: black; padding: 2px 2px 2px 2x; border: solid 1px #5B5D82}
.cpp-literal{color: #FF0000}
.cpp-keyword{color: #0000FF}
.cpp-comment{color: #00FF00}
.cpp-number{color: #DD00DD}
.vb-function{color: #0000DD}

/* Developer Journal Calendar */
.calendarhead {
font-family: Courier New;
color: silver;
font-size: 10pt;
font-weight: bold;
padding: 6px;
background: #000033;
}

.calendar {
font-family:Courier New;
color:silver;
background: #000033;
font-size:10pt;
font-weight:normal;
padding:4px;
}

.calendarsel {
font-family: Courier New;
background:#000033;
font-size:10pt;
padding:4px;
}

.calendarlink {
color:#AA0000;
}

ul#tabnav {
font: bold 11px verdana, arial, sans-serif;
list-style-type: none;
padding-bottom: 24px;
border-bottom: 1px solid #333399;
margin: 0;
}

ul#tabnav li {
float: left;
height: 21px;
background-color: #20205C;
margin: 2px 2px 0 2px;
border: 1px solid #3333AD;
}

body#tab1 li.tab1, body#tab2 li.tab2, body#tab3 li.tab3, body#tab4 li.tab4 {
border-bottom: 1px solid #333399;
background-color: #333399;
}

body#tab1 li.tab1 a, body#tab2 li.tab2 a, body#tab3 li.tab3 a, body#tab4 li.tab4 a {
color: white;
}

#tabnav a {
float: left;
display: block;
color: #a09dc3;
text-decoration: none;
padding: 4px;
}

#tabnav a:hover {
background: #5555DD;
color: white;
}



KGodwin

KGodwin

 

CSS Sheet fix for comment header

Updated style sheet for comment header.

"text/css">
/* text */
.largefont {font-family: Courier New; font-weight: bold; font-size: 12pt; color: silver;}
.smallfont {font-family: Courier New; font-weight: bold; font-size: 8pt; color: silver;}
.regularfont {font-family: Courier New; color: silver;}
/* For tweaking your username */
.premiumusernames {font-family: Courier New; font-weight: bold; color: silver; }

/* table */
td {background:; #555555;}
/* Comments Header */
td.head {background: #555555; color: black; }
/* post subheader - the thingy with the date */
.post_dateline {font-family: Courier New; font-weight: bold; background: #333333; color: white; }
/* post body */
.post_body {font-family: Courier New; font-weight: bold; background: black; color: silver; }
/* post header */
.post_author {font-family: Courier New; font-weight: bold; background: #555555; color: white; border: 0px}
/* footer */
.post_trailer{font-family: Courier New; font-size: 10pt; color: #FFFFFF; background: black; padding: 2px 2px 2px 2x;}

/* For Code Blocks */
/* tag */
pre{font-family: Courier New; font-size: 10pt; color: #FFFFFF; background: black; padding: 2px 2px 2px 2x;}
/* tag */
.source{font-family: Courier New; font-size: 10pt; color: #FFFFFF; background: black; padding: 2px 2px 2px 2x; border: solid 1px #5B5D82}
.cpp-literal{color: #FF0000}
.cpp-keyword{color: #0000FF}
.cpp-comment{color: #00FF00}
.cpp-number{color: #DD00DD}
.vb-function{color: #0000DD}

/* Developer Journal Calendar */
.calendarhead {
font-family: Courier New;
color: silver;
font-size: 10pt;
font-weight: bold;
padding: 6px;
background: #000033;
}

.calendar {
font-family:Courier New;
color:silver;
background: #000033;
font-size:10pt;
font-weight:normal;
padding:4px;
}

.calendarsel {
font-family: Courier New;
background:#000033;
font-size:10pt;
font-weight:bold;
padding:4px;
}

.calendarlink {
color:#AA0000;
}

ul#tabnav {
font: bold 11px verdana, arial, sans-serif;
list-style-type: none;
padding-bottom: 24px;
border-bottom: 1px solid #333399;
margin: 0;
}

ul#tabnav li {
float: left;
height: 21px;
background-color: #20205C;
margin: 2px 2px 0 2px;
border: 1px solid #3333AD;
}

body#tab1 li.tab1, body#tab2 li.tab2, body#tab3 li.tab3, body#tab4 li.tab4 {
border-bottom: 1px solid #333399;
background-color: #333399;
}

body#tab1 li.tab1 a, body#tab2 li.tab2 a, body#tab3 li.tab3 a, body#tab4 li.tab4 a {
color: white;
}

#tabnav a {
float: left;
display: block;
color: #a09dc3;
text-decoration: none;
padding: 4px;
}

#tabnav a:hover {
background: #5555DD;
color: white;
}



KGodwin

KGodwin

 

6hr GDC final...'cept post mortem in a day or two

Well I'm too tired to finish...and the middle of the day Friday is pushing it for something that was for 'thursday'...even if I didn't start until 10:30pm. =)

Time Used: 4hr 41min
Time Left: 1hr 19min

What's been done:
1) Design work done (DB layout, game idea fleshed out on a piece of paper)
2) Login System (just using SSI from SimpleMachinesForum...I might as well integrate this into my PHP game site if I decide to do a 'good' version of it.)
3) Chat System (just using PJIRC to log into my IRC server in the 'main' channel...not that there is much activity. =))
4) Game Creation (nothing fancy, just makes a game and gives both players a default army of 4 units [1 cleric, 1 archer, 2 footmen])
5) Map display (simple, simple map of white squares ftw!)
6) Database table creation (gamelist [game information such as player1, player2, gamename, which player's turn, etc.], unitlist [unit name, attack strength, shield strength, hit points, range]
7) A quickie CSS that keeps the layout in dark colors =0
8) Manual Refresh Button (game window only, leaves chat alone)
9) Players who aren't P1/P2 can observe games.
10) Combat
11) Movement
12) 'Control Panel'
13) Turn change
14) Victory Condition
15) Limiting to 1 move per 'turn'

What would be nice:
- Player Army Pre-Placement
---- Player has point buy to 'buy' his army
---- Player can select where in the back two rows his units start
- Draw Option
- Vertical / Horizontal Number Sets for easier X/Y visual
- Player Statistics
---- Wins/Losses
---- 'Rating'
---- Player page with that info available to anyone
---- Rankings Page for all players.
- More Units + Unit Special Abilities
---- Knight (Heavy Footman)
---- Pyromancer (Insta-kills 1 unit (95%), Pyromancer Dies (80%))
---- Hydromancer (Deals 2 damage, Range 3, Bypasses shield)
---- Geomancer (Creates unpassable terrain tile(s))
---- Aeromancer (Passively boosts friendly Archer range by 1, reduces enemy Archer range to 1, has no attack strength)

KGodwin

KGodwin

 

6 Hour GDC Continued...

Well it's 2:30AM so I've officially reached the wonderful plane of unfocued and easily distracted by pretty shiny things! And no coffee or soda available without me going out. =(

Anyway...
Time Spent : 3 Hours, 16 Minutes
Time Remaining: 2 Hours, 44 Minutes

What's been done:
1) Design work done (DB layout, game idea fleshed out on a piece of paper)
2) Login System (just using SSI from SimpleMachinesForum...I might as well integrate this into my PHP game site if I decide to do a 'good' version of it.)
3) Chat System (just using PJIRC to log into my IRC server in the 'main' channel...not that there is much activity. =))
4) Game Creation (nothing fancy, just makes a game and gives both players a default army of 4 units [1 cleric, 1 archer, 2 footmen])
5) Map display (simple, simple map of white squares ftw!)
6) Database table creation (gamelist [game information such as player1, player2, gamename, which player's turn, etc.], unitlist [unit name, attack strength, shield strength, hit points, range]
7) A quickie CSS that keeps the layout in dark colors =0
8) Manual Refresh Button (game window only, leaves chat alone)
9) Players who aren't P1/P2 can observe games.
10) Combat
11) Movement
12) 'Control Panel'

What's left (minimum):
- Game Logic
---- Turn Change
---- Victory Condition
---- Defeat Condition

What would be nice:
- Player Army Pre-Placement
---- Player has point buy to 'buy' his army
---- Player can select where in the back two rows his units start
- Draw Option
- Vertical / Horizontal Number Sets for easier X/Y visual
- Player Statistics
---- Wins/Losses
---- 'Rating'
---- Player page with that info available to anyone
---- Rankings Page for all players.
- More Units + Unit Special Abilities
---- Knight (Heavy Footman)
---- Pyromancer (Insta-kills 1 unit (95%), Pyromancer Dies (80%))
---- Hydromancer (Deals 2 damage, Range 3, Bypasses shield)
---- Geomancer (Creates unpassable terrain tile(s))
---- Aeromancer (Passively boosts friendly Archer range by 1, reduces enemy Archer range to 1, has no attack strength)

Screenshot:




KGodwin

KGodwin

 

6 Hour GDC =0

Thread Link

As far as I can tell the rules are pretty flexible use whatever you have readily available + 6 hours to build a game using any programming/scripting language you like.

Well this is me at the 1 hour, 23 min spot =0 - 4 hours, 37 min to go.

What's been done:
1) Design work done (DB layout, game idea fleshed out on a piece of paper)
2) Login System (just using SSI from SimpleMachinesForum...I might as well integrate this into my PHP game site if I decide to do a 'good' version of it.)
3) Chat System (just using PJIRC to log into my IRC server in the 'main' channel...not that there is much activity. =))
4) Game Creation (nothing fancy, just makes a game and gives both players a default army of 4 units [1 cleric, 1 archer, 2 footmen])
5) Map display (simple, simple map of white squares ftw!)
6) Database table creation (gamelist [game information such as player1, player2, gamename, which player's turn, etc.], unitlist [unit name, attack strength, shield strength, hit points, range]
7) A quickie CSS that keeps the layout in dark colors =0
8) Manual Refresh Button (game window only, leaves chat alone)
9) Players who aren't P1/P2 can observe games.

What's left (minimum):
- Game Logic
---- Combat
---- Movement
---- Turn Change
---- Victory Condition
---- Defeat Condition
- Display-wise
---- Unit Stastics for the unit you last clicked on
---- 'Move' Command Button
---- 'Attack' Command Button

What would be nice:
- Player Army Pre-Placement
---- Player has point buy to 'buy' his army
---- Player can select where in the back two rows his units start
- Draw Option
- Vertical / Horizontal Number Sets for easier X/Y visual
- Player Statistics
---- Wins/Losses
---- 'Rating'
---- Player page with that info available to anyone
---- Rankings Page for all players.
- More Units + Unit Special Abilities
---- Knight (Heavy Footman)
---- Pyromancer (Insta-kills 1 unit (95%), Pyromancer Dies (80%))
---- Hydromancer (Deals 2 damage, Range 3, Bypasses shield)
---- Geomancer (Creates unpassable terrain tile(s))
---- Aeromancer (Passively boosts friendly Archer range by 1, reduces enemy Archer range to 1, has no attack strength)

Screenshots:






KGodwin

KGodwin

 

CSS Sheet if anyone wants to tweak theirs

Just pop this in your header and mod to taste.


"text/css">
/* text */
.largefont {font-family: Courier New; font-weight: bold; font-size: 12pt; color: silver;}
.smallfont {font-family: Courier New; font-weight: bold; font-size: 8pt; color: silver;}
.regularfont {font-family: Courier New; color: silver;}
/* For tweaking your username */
.premiumusernames {font-family: Courier New; font-weight: bold; color: silver; }

/* table */
/* post subheader - the thingy with the date */
.post_dateline {font-family: Courier New; font-weight: bold; background: #333333; color: white; }
/* post body */
.post_body {font-family: Courier New; font-weight: bold; background: black; color: silver; }
.post_author {font-family: Courier New; font-weight: bold; background: #555555; color: white; border: 0px}
/* footer */
.post_trailer{font-family: Courier New; font-size: 10pt; color: #FFFFFF; background: black; padding: 2px 2px 2px 2x;}

/* For Code Blocks */
/* tag */
pre{font-family: Courier New; font-size: 10pt; color: #FFFFFF; background: black; padding: 2px 2px 2px 2x;}
/* tag */
.source{font-family: Courier New; font-size: 10pt; color: #FFFFFF; background: black; padding: 2px 2px 2px 2x; border: solid 1px #5B5D82}
.cpp-literal{color: #FF0000}
.cpp-keyword{color: #0000FF}
.cpp-comment{color: #00FF00}
.cpp-number{color: #DD00DD}
.vb-function{color: #0000DD}

/* Developer Journal Calendar */
.calendarhead {
font-family: Courier New;
color: silver;
font-size: 10pt;
font-weight: bold;
padding: 6px;
background: #000033;
}

.calendar {
font-family:Courier New;
color:silver;
background: #000033;
font-size:10pt;
font-weight:normal;
padding:4px;
}

.calendarsel {
font-family: Courier New;
background:#000033;
font-size:10pt;
font-weight:bold;
padding:4px;
}

.calendarlink {
color:#AA0000;
}

ul#tabnav {
font: bold 11px verdana, arial, sans-serif;
list-style-type: none;
padding-bottom: 24px;
border-bottom: 1px solid #333399;
margin: 0;
}

ul#tabnav li {
float: left;
height: 21px;
background-color: #20205C;
margin: 2px 2px 0 2px;
border: 1px solid #3333AD;
}

body#tab1 li.tab1, body#tab2 li.tab2, body#tab3 li.tab3, body#tab4 li.tab4 {
border-bottom: 1px solid #333399;
background-color: #333399;
}

body#tab1 li.tab1 a, body#tab2 li.tab2 a, body#tab3 li.tab3 a, body#tab4 li.tab4 a {
color: white;
}

#tabnav a {
float: left;
display: block;
color: #a09dc3;
text-decoration: none;
padding: 4px;
}

#tabnav a:hover {
background: #5555DD;
color: white;
}




KGodwin

KGodwin

 

First Post

I've decided to move my blog/journal here since I'm feeling like I should get back in the habit. =) So time to test the CSS

//Quote Test


//Code Test

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Threading;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.Diagnostics;
using System.IO;

namespace EnhancedConsole
{
public partial class frmMain : Form
{

delegate void SetTextCallback(object sender, DataReceivedEventArgs e);

// Random Comment Test
public frmMain()
{
InitializeComponent();
this.lstConsoleDisplay.Height = this.Height;
this.lstConsoleDisplay.Width = this.Width;
this.Resize += new EventHandler(frmMain_Resize);
this.lstConsoleDisplay.Columns.Add("Console Output", this.Width);
}

void frmMain_Resize(object sender, EventArgs e)
{
this.lstConsoleDisplay.Height = this.Height;
this.lstConsoleDisplay.Width = this.Width;
}

private void Form1_Load(object sender, EventArgs e)
{
ProcessStartInfo proc = new ProcessStartInfo();

proc.FileName = @"ping.exe";

proc.RedirectStandardInput = false;

proc.RedirectStandardOutput = true;

proc.Arguments = "";

proc.CreateNoWindow = true;

proc.UseShellExecute = false;

p = Process.Start(proc);

p.OutputDataReceived += new DataReceivedEventHandler(p_OutputDataReceived);

p.BeginOutputReadLine();

}

void p_OutputDataReceived(object sender, DataReceivedEventArgs e)
{
try
{
if (this.lstConsoleDisplay.InvokeRequired)
{
SetTextCallback STC = new SetTextCallback(p_OutputDataReceived);
this.Invoke(STC, new object[] { sender, e });
}
else
{
if (e.Data.ToString() != "")
{
lstConsoleDisplay.Items.Add(e.Data.ToString());
// create a writer and open the file
TextWriter tw = new StreamWriter("console.log", true);

// write a line of text to the file
tw.Write("["+DateTime.Now+"]");

if(e.Data.ToString().Contains("Exception"))
{
lstConsoleDisplay.Items[
lstConsoleDisplay.Items.Count - 1].ForeColor = Color.Red;
}
else if (e.Data.ToString().Contains("Failed"))
{
lstConsoleDisplay.Items[
lstConsoleDisplay.Items.Count - 1].ForeColor = Color.Red;
}
else if (e.Data.ToString().Contains("failed"))
{
lstConsoleDisplay.Items[
lstConsoleDisplay.Items.Count - 1].ForeColor = Color.Red;
}
if (lstConsoleDisplay.Items[
lstConsoleDisplay.Items.Count - 1
].ForeColor.ToKnownColor().ToString() != "0")
{
tw.Write("(" + lstConsoleDisplay.Items[
lstConsoleDisplay.Items.Count - 1
].ForeColor.ToKnownColor().ToString()
+ ")");

int i = lstConsoleDisplay.Items[
lstConsoleDisplay.Items.Count - 1
].ForeColor.ToKnownColor().ToString().Length;

while (i 6)
{
tw.Write(" ");
i++;
}
}
else
{
tw.Write(" ");
}
tw.WriteLine(e.Data.ToString());

// close the stream
tw.Close();
}
}
}
catch (NullReferenceException E)
{
lstConsoleDisplay.Items.Add("[Console Application has been Terminated.]");
lstConsoleDisplay.Items[
lstConsoleDisplay.Items.Count - 1].ForeColor = Color.Red;
}

}
}
}





KGodwin

KGodwin

Sign in to follow this  
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!