Jump to content


Check out our Community Blogs

slava

Member Since 26 May 2012
Offline Last Active Jun 06 2012 07:25 AM
-----

Topics I've Started

Running An External Program, And Several Arguments

03 June 2012 - 01:59 AM

private void button2_Click(object sender, EventArgs e)
	    {
		    Process.Start(@"engine\windows\player.exe",@"player labelPath.Text");
	    }

Why is this code can not work? You need to run a file with that name: player game.zip. In labelPath.Text contains the path to game.zip

Save String <List>

31 May 2012 - 09:00 AM

How to keep using the String <list> save dialog?

	    private void button1_Click(object sender, EventArgs e)
	    {
		    if (saveConfig.ShowDialog() != DialogResult.OK)
		    {
			    List<string> configlist = new List<string>();
			    configlist.Add('"' + titleTextBox.Text + '"');
			    configlist.Add('"' + autorTextBox.Text + '"');
			    configlist.Add('"' + saveTextBox.Text + '"');
			    configlist.Add('"' + versionTextBox.Text + '"');
			    configlist.Add('"' + consoleComboBox.SelectedText + '"');
			    configlist.Add('"' + widthTextBox.Text + '"');
			    configlist.Add('"' + heightTextBox.Text + '"');
			    configlist.Add('"' + fullscreenComboBox.SelectedText + '"');
			    configlist.Add('"' + vsyncComboBox.SelectedText + '"');
			    configlist.Add('"' + fsaatextBox.Text + '"');
			    configlist.Add('"' + joystickComboBox.SelectedText + '"');
			    configlist.Add('"' + audiocomboBox.SelectedText + '"');
			    configlist.Add('"' + keyboardCombobox.SelectedText + '"');
			    configlist.Add('"' + eventCombobox.SelectedText + '"');
			    configlist.Add('"' + imagecomboBox.SelectedText + '"');
			    configlist.Add('"' + graphicscomboBox.SelectedText + '"');
			    configlist.Add('"' + timercomboBox.SelectedText + '"');
			    configlist.Add('"' + mousecomboBox.SelectedText + '"');
			    configlist.Add('"' + soundcomboBox.SelectedText + '"');
			    configlist.Add('"' + physicscomboBox.SelectedText + '"');
			    StreamWriter writer = new StreamWriter(saveConfig.FileName);
			    foreach (string s in configlist)
			    {
				    writer.WriteLine(configlist);
			    }
			    writer.Close();
		    }
		    else
		    {
			   
		    }
	    }

This code does not create a file when you save in the dialogue...((

How Do I Save (Scintillanet And Dockpanel)

27 May 2012 - 01:29 AM

The problem with the editor, help a newbie in C #. I write to the editor using ScintillaNET and dockPanel. The problem with the items: save and save as. How to realize these opportunities?

Used the example of SCide, but there in the open file when you press save, save as dialog box pops up. Although the actions spelled correctly

Lpad [Love Scirpt Editor]

26 May 2012 - 01:46 AM

All. I am writing a script editor for the game engine LOVE.

What is done:
- Full support for API LOVE in the editor.
- Automatic code completion
- Packed in *. Love
- The application assembler for Windows (100%), web (40%)

Plans:
- Exporter for Android
- The visual designer level

In the end, will have to get something like a designer of games for different platforms

Download 0.9: soon

Editor
Posted Image

LOVE [builder]
Posted Image

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download