Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - SmartBoy16

Pages: 1 [2] 3 4 ... 7
16
Game Development Artistry / Unreal Development Kit
« on: 2010-03-25, 02:11:02 PM »
Have any of you guys heard of this? It's a free development kit using the game engine from Unreal Tournament 3. So far I've been using it for about a week now and I think it's great!

The link: http://www.udk.com/
A level I made: http://www.youtube.com/watch?v=3SYBhWVE6cw

17
Off-Topic / What should I work on?
« on: 2010-03-20, 11:44:46 PM »
As many of you have noticed, I have been going back and forth between projects for about a whole year now. Since I have started college, I have had little time to work on any of these games. I would like to know what I should work on next. And I promise (and i am 99% sure) that I will stick to that game until the very end!  ;)

For sure, I am going to use SGDK2 to develop these. and there is a chance that I might enter this game to the 13th Independent Games Festival.

I just want to give a quick background of each game

Codename: Midnight
* I have the basic engine finished
* I will upgrade the graphics and add more tools
* I am still deciding if I should add a "story" element to this

2wenty Dungeons
* I know how to start the game and have 4 playable characters planned
* The battle system needs a lot of tinkering
* I still need to decide on an ending

The RANAT Foundation
* The game is 1/2 finished on SGDK1
* I have the whole story finished
* I already started working on a test sprite in SGDK2



I'll work on this game as much as I can and get it finished by March/April 2012 when I graduate.


18
This is somewhat related, but i am having a few issues for solidity.

I am making a Diver-dives-into-water-to-get-the-treasure-and-avoid-sharks game for a final. the game is made up of Windows form labels, a "lblPlayer" label as the player "sprite", and a "Grid[Row, Col]" resembling tiles. so far this is what i have to detect solidity.
Code: [Select]
// Move Player
            x += dx;
            y += dy;
            PixelX = Convert.ToInt32(x);
            PixelY = Convert.ToInt32(y);

bool HitSolid = false;
            // Tile Interactions
            for (int Row = 0; Row < Gh; Row++)
            {
                for (int Col = 0; Col < Gw; Col++)
                {
                    if (lblPlayer.Bounds.IntersectsWith(Grid[Row, Col].Bounds))
                    {
                        //if (Grid[Row, Col].BackColor == Color.Gold) DONT DELETE THIS!!! THIS IS FOR GETTING THE TREASURE!!!
                        //{
                        //    btnMap.Enabled = true;
                        //}
                        if ((Grid[Row, Col].BackColor == Color.Gray) || (Grid[Row, Col].BackColor == Color.SandyBrown)) // if the color of the tile is gray (rock) or SandyBrown (ground)
                        {
                            HitSolid = true;
                            //Check Vertical Collision
                            if (dy != 0) //if moving up or down
                            {
                                if (y + 20 > Grid[Row, Col].Bounds.Top && dy > 0) // if passed the top and moving downward
                                {
                                    y = Grid[Row, Col].Bounds.Top - 22;
                                    break;
                                }
                                else if (y < Grid[Row, Col].Bounds.Bottom && dy < 0) // else if passed the bottom and moving upward
                                {
                                    y = Grid[Row, Col].Bounds.Bottom + 2;
                                    break;
                                }
                            }
                            //Check Horizontal collision
                            if (dx != 0)  // if moving left or right
                            {
                                if (x + 20 > Grid[Row, Col].Bounds.Left && dx > 0) // if passed the Leftside and moving right
                                {
                                    x = Grid[Row, Col].Bounds.Left - 22;
                                    break;
                                }
                                else if (x < Grid[Row, Col].Bounds.Right && dx < 0) // else if passed rightside and moving left
                                {
                                    x = Grid[Row, Col].Bounds.Right + 2;
                                    break;
                                }
                            }
                        }
                    }
                }
                if (HitSolid) break;
            }
            if (HitSolid)
            {
                PixelX = Convert.ToInt32(x);
                PixelY = Convert.ToInt32(y);
            }



            // Draw Player
            lblPlayer.Location = new Point(PixelX, PixelY);

this is all done in the timer with a 1 millisecond interval. (basically, as fast as it can go)
im using a keydown for movement and a keyup to stop the player

this is the link to the program in question: http://www.box.net/shared/6ao5z2qmzu



19
I'm just throwing out a few suggestions for the next release.

For the IsMousePressed function, is there a way to add an "Initial Only" thingy to it?
And how about a IsMouseUp Function?

I've completed both on my own by using a series of flags and if/elseif statements (On my next Midnight release) but it would be nice to have those built in.

20
Projects / Codename: Midnight
« on: 2010-02-20, 12:43:53 PM »
Guess what? I'm (once again) Starting on another project!!!!

The game is called Codename: Midnight. It is a strategy game. The goal of the game is to guide a water fountain to a cup through an obstacle course.

The YouTube Video. http://www.youtube.com/watch?v=_r8qJVzIOWc

the Box.net Link. http://www.box.net/shared/f0rk694k9z




As for the fate of 2wenty Dungeons....................I've got nothing. Sure, I've got the beginning done, but I having a few troubles with......concept. I decided I should start with something simpler. Afterwards I'll get RANAT ported to SGDK2 since I already know the Story and Concept. 2wenty...........it may be a while.

21
Help, Errors, FAQ / Layer questions
« on: 2010-01-09, 12:51:54 AM »
Is there a way to hide or show a layer in runtime?  Same question for reordering layers?

22
Help, Errors, FAQ / Cant name tile category as "Keytile"
« on: 2010-01-04, 05:06:05 PM »
I just figued this a while ago, but apparantly when a tile category is named "Keytile" you cant find the category in the rules editor, but "Key tile" works just fine!

23
Off-Topic / How to pass a variable from child to parent form
« on: 2009-12-16, 05:26:10 AM »
Hey you guys, i'm having trouble with this. this is for a college assignment.

I'm making a "Jeopardy" game for my final in a programming class and i having trouble passing a variable from the child from to the parent form. so far i got:
Code: [Select]
//parent form

public partial class ParentForm : Form
    {
        string playersname;
        public ParentForm(string strParam) //i have it set up to set this as "Enter Name Here"
        {
            InitializeComponent();
            if (strParam == "Enter name here")
            {
                Form Child1 = new Child1(strParam);
                Child1.ShowDialog();
                playersname = Child1.PlayersName;
                label1.Text = playersname;
            }
        }
//the rest of the code
}


//child form


public partial class Child1 : Form
    {
        public string PlayersName
        {
            get;
        }

        public Form1(string strParam)
        {
            InitializeComponent();
            textBox1.Text = strParam;
        }

        private void button1_Click(object sender, EventArgs e)
        {
            //i'm betting that something goes here
            this.Close();
        }

        private void textBox1_TextChanged(object sender, EventArgs e)
        {
            SetPlayersName(textBox1.Text);
        }

        private void textBox1_Click(object sender, EventArgs e)
        {
            if (textBox1.Text == "Enter name here")
            {
                textBox1.Text = "";
            }
            else
            {
                textBox1.SelectAll();
            }
        }

        public string SetPlayersName(string Name)
        {
            Name = PlayersName;
            return PlayersName;
        }
    }


the child form contains a Name textbox and a submit button (which closes the window)

this is all done in Visual Studio 2008

24
Off-Topic / Zelda Posters from Club Nintrendo
« on: 2009-11-23, 03:35:28 AM »
Hey guys! A while ago I ordered some Legend of Zelda Posters from Club Nintendo that (I think) are worth approximately $350. For a while they have been kept safe to avoid damage by me/random-guests-aka-my-siblings, but i want to hang them up. is there a way I can do this without ruining the posters (no tacks please).

link to the posters (using my state of the art 1.2 Mpix phone cam :) )

http://www.facebook.com/album.php?aid=29800&id=1597729339&l=ad35f97480

25
Off-Topic / Google Chrome OS? Good idea?
« on: 2009-11-20, 10:48:14 PM »
http://www.youtube.com/watch?v=0QRO3gKj3qw
http://www.youtube.com/watch?v=ANMrzw7JFzA

Google is now designing an OS based on their browser. Basically, what happens, is you press the power button, and you are on the internet in seconds!

what do you guys think?

EDIT: 500th post!!!

and nothing is stored on the computer, it's 100% internet!!!

26
Help, Errors, FAQ / Windows 7
« on: 2009-11-20, 10:33:06 PM »
Both 2.0 and 2.1 work! except for minor errors

* for 2.0 you need to install the .NET 1.1 files before hand.

* for 2.1, just make sure you unblock the file by going to the help file's properties.
* and an error appears when starting 2.1 for the first time (i was going to save the message box, but i forgot to save it :( ) it was an "HKEY/something" error

and i found a text error. on the sample game for 2.0, you said Space dismisses messages and pressing that does so. on 2.1, You still say Space dismisses messages, but you need to press RightCtrl to dismiss the message.

27
Help/FAQ / Windows 7
« on: 2009-11-20, 10:14:12 PM »
Hey I just got Windows 7 installed on my computer. I tried to see if SGDK1 still works, and (after trying many compatibility options) sadly it doesn't. the closest i got was running "Chameleon Man" but the only thing that worked was the logo animation (most likely because its a avi file). All other error messages was automation error.

although something weird did happen, whenever i ran it in Win9x mode, it would close whenever i tried to open a file. the same thing in 2K, XP, and Vista modes ran normally. (odd)

28
hey! i was working on 2wenty when i got this message:
Code: [Select]
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.IO.IOException: The process cannot access the file 'C:\Documents and Settings\jogreen\My Documents\SGDK\2wenty Dungeons\2wentyDungeons\OpenTK.dll' because it is being used by another process.
   at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
   at System.IO.File.InternalCopy(String sourceFileName, String destFileName, Boolean overwrite)
   at SGDK2.CodeGenerator.CompileProject(String ProjectName, String FolderName, String& errs)
   at SGDK2.frmMain.mnuFileRunProjectInDebugMode_Click(Object sender, EventArgs e)
   at SGDK2.frmMain.tbrMain_ButtonClick(Object sender, ToolBarButtonClickEventArgs e)
   at System.Windows.Forms.ToolBar.OnButtonClick(ToolBarButtonClickEventArgs e)
   at System.Windows.Forms.ToolBar.WmReflectCommand(Message& m)
   at System.Windows.Forms.ToolBar.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3603 (GDR.050727-3600)
    CodeBase: file:///C:/WINDOWS/Microsoft.NET/Framework/v2.0.50727/mscorlib.dll
----------------------------------------
SGDK2IDE
    Assembly Version: 2.1.2.0
    Win32 Version: 2.1.2
    CodeBase: file:///C:/Documents%20and%20Settings/jogreen/My%20Documents/SGDK/SGDK2IDE21/SGDK2IDE.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Windows.Forms/2.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System/2.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Drawing/2.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Xml
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3082 (QFE.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Xml/2.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Data
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_32/System.Data/2.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
System.Deployment
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Deployment/2.0.0.0__b03f5f7f11d50a3a/System.Deployment.dll
----------------------------------------
System.Design
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Design/2.0.0.0__b03f5f7f11d50a3a/System.Design.dll
----------------------------------------
Accessibility
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/Accessibility/2.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------
OpenTK
    Assembly Version: 0.9.8.2
    Win32 Version: 0.9.8.2
    CodeBase: file:///C:/Documents%20and%20Settings/jogreen/My%20Documents/SGDK/SGDK2IDE21/OpenTK.DLL
----------------------------------------
Reflect
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Documents%20and%20Settings/jogreen/My%20Documents/SGDK/SGDK2IDE21/Reflect.DLL
----------------------------------------
System.Configuration
    Assembly Version: 2.0.0.0
    Win32 Version: 2.0.50727.3053 (netfxsp.050727-3000)
    CodeBase: file:///C:/WINDOWS/assembly/GAC_MSIL/System.Configuration/2.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.



inside a Continue/Quit Box.

When this popped up, I almost chose "quit" (which i would lose my saved data) but i realized i still had the previous project up. so i closed that, pushed "Continue" and ran it again (it worked fine). Is there a way for SGDK2 to figure out if OpenTK.dll is being used before trying to run it? I noticed that VisualStudio is able to detect if the program you compiled is still running so you can't edit it again until the program closes.

29
Off-Topic / Visual Studio 2010!!!
« on: 2009-10-28, 10:04:39 AM »
Hey, i just downloaded VS2010 Beta and made this program. it fun!

tips, type "I'm a Ghost!!!" (no quotes, exact case) to see a surprise. (It's not much, but its only something i wrote in about 30 minutes)

im not sure if it works on other computers yet, and it still is only in beta.

just go to my website to get it, smartboyinc.webs.com

edit: the only thing i'm really showing off is window flipping and transparency, and show off how well i can do visual basic :)

edit2: it's not posted yet, apparently, box.net is blocked in the college, so ill wait until i get home to post it (about 3:00)


Final Edit: here is the link! http://www.box.net/shared/zm7gyhevg3

30
Off-Topic / New Website!!!
« on: 2009-10-22, 10:54:23 PM »
Hey! I made a new website. Here is where I will show off some of my work.

Thanks!

SmartBoy16

http://smartboyinc.webs.com/index.htm

Pages: 1 [2] 3 4 ... 7