You need a Grounds Gold Account to post on the NG BBS! If you don't have one, click here to sign up now! It's fast, free, and easy — and opens up tons of great NG features!

Author Search Results: 'CaptinChu'

We found 3,219 matches.


<< < > >>

Viewing 1-30 of 3,219 matches. 1 | 2 | 3 | 4 | 5 | 6 | 757108

1.

Blushing

Topic: Binary Search Tree implementation

Posted: 11/20/09 07:47 PM

Forum: Flash

I just had a progasm.

- O(log2(n))... IN BED!!


2.

None

Topic: God Damn it Google Chrome

Posted: 11/20/09 07:33 PM

Forum: Programming

Use the simplest one; look into HTML 5 and look at that doctype.


3.

None

Topic: God Damn it Google Chrome

Posted: 11/20/09 01:01 AM

Forum: Programming

The php thingy may seem a wee bit intimidating at first, but you'll find it's quite simple once you get the hang of it.

Try using tizag.com; this is where I learned my PHP. It will help you with the basics.

As for the rest of the design errors, I cannot help you.


4.

None

Topic: Masm 6.11 help!

Posted: 11/11/09 01:59 AM

Forum: Programming

Thank you for all your help! I've found my way through assembly and I'm going to be having a lovely wonderful time learning it now! Thanks!


5.

None

Topic: Masm 6.11 help!

Posted: 11/08/09 09:21 PM

Forum: Programming

Good stuff! I got something to work! However, it's giving me a .obj file, not a .exe file... Can you help me out a little bit more? Is there some special command or some "linking" thing that I keep hearing about?


6.

None

Topic: Masm 6.11 help!

Posted: 11/08/09 03:52 PM

Forum: Programming

I've recently acquired the book Assembly Language for Intel-Based Computers by Kip R. Irvine. It includes instructions on how to code in assembly, as well as the MASM 6.11 assembler.

Here's the problem: I don't know how to use it!!! I'm used to just sending my C++ code into a compiler and the compiler spits out an .exe. Apparently, Assembly is this whole song and dance.

Can anyone here help me set up and IDE for MASM Assembly? (It has to be MASM, not any other compiler; that's what the book is based on.) If not, could you please instruct me step by step to turn .asm into .exe? And please don't say "Google;" I've already done that.

This "Hello World" code should be able to work using the set up:

title Hello World Program      (hello.asm)

; This program displays "Hello, world!"
.model small
.stack 100h
.data
message db "Hello, world!",0dh,0ah,'$'

.code
main proc
 mov ax,@data
 mov ds,ax

 mov ah,9
 mov dx, offset message
 int 21h

 mov ax,4C00h
 int 21h
main endp
end main

7.

None

Topic: skip frame?

Posted: 10/23/09 08:47 PM

Forum: Flash

Actionscript nextFrame() maybe? And maybe you can tell me what the camera you're talking about is? I don't recall there being a camera in Flash.


8.

None

Topic: Platform Game Gravity

Posted: 10/23/09 08:42 PM

Forum: Flash

This is tough because you're working with a variable force. However, let me give you something to think about.

Distance is velocity*time
Velocity is acceleration*time
Force is mass*acceleration

Your jetpack man has a constant mass (ignoring fuel mass.)
Gravity is a constant force.
The jetpack thrust is a dynamic force, depending on the proximity of the floor.

Let that sink in, walk away from the problem a few seconds, and then come back to it.


9.

None

Topic: Javascript or AS

Posted: 10/23/09 06:18 PM

Forum: Programming

Learn Ruby. It's easy and you could end up getting some super serious server-side skill sets seeing some sample c-c-c-code.


10.

None

Topic: GUI help

Posted: 10/23/09 04:05 PM

Forum: Programming

I've been reading up on the Standard Midi File (SMF) format. It's interesting. I wonder how many people use midi with their music today....

I was considering creating a midi studio, complete with a graphical user interface. I can totally handle the back-end of a studio, albeit I may need to look up midi-mapping to actually generate sound. The problem arises, therefore, that I don't know how to make a GUI. Can anybody give me a first step to making a kick-ass killer app with a custom graphical user interface? (Perhaps not just WinAPI?) I have Visual Studio 2008, and I don't know how to use it.... :(


11.

None

Topic: Sorting Algorithm

Posted: 10/23/09 04:01 PM

Forum: Programming

Why has nobody yet mentioned merge sort?!


12.

None

Topic: Midi to Wav

Posted: 10/23/09 03:59 PM

Forum: Programming

At 10/22/09 02:06 AM, Mariosy wrote: I was also looking for such a tool. Found this one - [url=http://directfreedownloads.com/midi _tools_20/midi_to_wav_converter_26564.ht m]MIDI to WAV Converter[/url], it converts to wav, mp3, wma, ogg and supports soundfonts, which enhances music quality.

n00b! STFU!

For ironic purposes only.

But, yeah. Use the Quick HTML stuff next time please.


13.

None

Topic: 2 Dimensional Array!!!

Posted: 10/23/09 03:55 PM

Forum: Programming

Double-check what your second for-loop is doing.


14.

None

Topic: Building my own browser?

Posted: 08/02/09 11:32 PM

Forum: Programming

I'm pretty sure you can use Resource Hacker. Go into the shell, or dll, or exe, or wherever the IE icon is using ResHack. Replace those icons with same-sized versions of your own and save it as a separate file. Replace the original in a spot where you can put it back if things go wrong. Put your modified version in its place and see if it works!

Good luck. click


15.

None

Topic: Your idea of the coolest video game

Posted: 07/26/09 10:53 PM

Forum: Video Games

What's the coolest video game that doesn't exist yet?


16.

None

Topic: How can I convert my swfs to,,,

Posted: 07/26/09 10:51 PM

Forum: Flash

An AVI file, I think you mean.

And yeah. There are specialized softwares out there that will do it, but the way they work is by taking screenshots of your flash at every frame and storing that as a bitmap in an avi file. That will end up either not synching with the sound or being a big filesize or both.

You can find them online easily. SoThink makes flash decompilers.

You can also turn your fla (if you have it) into an mov or mp4 or mpg or other video file and turn that into a youtube-acceptable video format.


17.

None

Topic: Awsome Idea

Posted: 07/26/09 10:48 PM

Forum: Flash

That sounds a little like megaman.


18.

None

Topic: AS3 Class Problems

Posted: 07/26/09 10:46 PM

Forum: Flash

You didn't set "clip" to be of the type "Pirate."


19.

None

Topic: Ananas collab!

Posted: 07/26/09 10:41 PM

Forum: Flash

Where are my pineapples?!?!?!


20.

None

Topic: AS3 Code Help.

Posted: 01/27/09 10:31 PM

Forum: Flash

What an excellent inquiry! However, what you're suggesting requires some knowledge of server-based coding, like PHP or ASP. (I highly suggest PHP, so I'll work with that.)

A high-score thing demonstrating flash to server

The key to the communication is in URL Request, which you can find under flash.net. By selecting the method POST and putting your strings into your URLRequest's data property, you can transfer the data from flash to php. From the PHP file, you can do whatever you want to it on the server! (You'll probably need to know PHP)

Here's a snippet of the code from the link above:

var variables:URLVariables = new URLVariables();
	variables.playerTime = a;
	
	
	if (round ==1) 	variables.roundNum = "roundOneTime";
	else if (round==2) variables.roundNum = "roundTwoTime";
	else  variables.roundNum = "roundThreeTime";
	
	var request:URLRequest = new URLRequest();
	
	///////////////change this url to wherever you placed the file
	request.url = "http://www.blinkdagger.com/tutorials/flash/targetPractice/getRankingFlashScores.php";
	/////////////////////////////////////////////////////////////////////////////
	
	request.data = variables;
	
	var loader:URLLoader = new URLLoader();
	loader.load(request);
	loader.addEventListener(Event.COMPLETE,displayRanking)

Notice that the variables are put in a URLVariables object, which acts like an Actionscript Object. You can have the names of your strings on the URL Variables.

I know enough PHP that I can tell you what happens to those variables. If you've chosen the method POST (Which I HIGHLY suggest you do,) you can access your variables inside the requested PHP server page by typing $_POST["variablename"]. Here's the PHP snippet from the demonstration:

////////////////////////////////////// fill in info here //////////////////////////
  $host = "";
  $user = "";
  $password = "";
  $table = "";
  $database = "";
/////////////////////////////////////////////////////////////////////////////////////

$one = $_GET['one']; 
$two = $_GET['two']; 
$three= $_GET['three']; 
$four = $_GET['four']; 
$five = $_GET['five'];

  // Connect to the database server
  $dbcnx = @mysql_connect($host,
           $user, $password);
  if (!$dbcnx) {
    echo( "<P>Unable to connect to the " .
          "database server at this time.</P>" );
    exit();
  }

  // Select the database
  if (! @mysql_select_db($database) ) {
    echo( "<P>Unable to find database");
    exit();
  }

$query="INSERT into {$table} (name,roundOneTime, roundTwoTime, roundThreeTime, finalTime) VALUES ('$one', {$two}, {$three},{$four},{$five})";

mysql_query($query);

echo("The data has been written to the table!");

?>

Now, this may mean absolutely nothing for you, but what happens is:

1. He retrieves the variables via the "GET" method.
2. He connects to the MySQL table using a host name, root name, password, database name, and table name.
3. The MySQL connection is checked to make sure that it works.
4. He builds a query for the MySQL table.
5. He sends it out.

That's all! Of course, if you don't know PHP or MySQL, you'll probably need some help form the programming forum. Anyways, I hope I helped you, and best of luck on your future programming endeavors!


21.

None

Topic: Starting C# and Xcode

Posted: 12/20/08 12:10 AM

Forum: Programming

Hi! I'm a programmer already. I'm well-versed in C++, python, and actionscript. I'd like to learn C# and Xcode. Can anyone give me some good pointers on where to start? (and I don't mean var * start=good; either!)


22.

None

Topic: is this a good habit?

Posted: 12/20/08 12:07 AM

Forum: Programming

You've defined the main function as an "int," but the function never returns a number. If you want to keep it as a number, make sure that it returns 0 at a successful program run and some other number when it's unsuccessful. (1?) You can also make main a void function, in which case you don't need to return anything.


23.

None

Topic: 3d Artists Over Here!!!

Posted: 12/14/08 11:38 PM

Forum: Art

A little render I did for a science project. (I'm prototyping.)

3d Artists Over Here!!!


24.

None

Topic: AS3 and simple buttons

Posted: 11/12/08 10:48 PM

Forum: Flash

Sure! Just give your button an instance name, give it an event listener for when someone clicks, and define the function for the event listener. The most important part in the transition from AS2 to AS3 is learning how to use Event listeners. It's a cake walk from there!


25.

None

Topic: actionscripted layers in flash

Posted: 11/12/08 10:27 PM

Forum: Flash

Play around with the depths of the movieclips.


26.

None

Topic: Inverted mouse follow?

Posted: 11/12/08 10:26 PM

Forum: Flash

Just replace it for the mousex stuff. Also, use _root._width. I don't remember how AS2 handles that sort of stuff; I've gone to AS3 and never come back.


27.

None

Topic: Parsing [AS3]

Posted: 11/12/08 10:25 PM

Forum: Flash

Check out the indexof() function on strings. That will help a lot. indexof() finds where the first instance of a substring is within a string if that substring is in there. I believe it will help you.

Please PM me about the Riemann Zeta function. I've been very intrigued about it for a while. Also, tell me how the calculator turns out when it's all said and done.


28.

None

Topic: Inverted mouse follow?

Posted: 11/12/08 10:17 PM

Forum: Flash

stagewidth-xmouse
stageheight-ymouse

I think that should work.


29.

None

Topic: I want a drawing tablet. Help!

Posted: 11/12/08 10:16 PM

Forum: Flash

I suggest a Wacom tablet. After a little research, I believe the graphire wireless would best suit your needs. Be warned: if you're bad at drawing on paper, it will not make you a better on the computer.


30.

None

Topic: Assembler - Delay without loops

Posted: 11/11/08 05:41 PM

Forum: Programming

How about looping the delay? Find out how long one clock cycle is, then find out how long you want to delay something, then loop the delay!

BTW, I didn't know that one could delay something. That's new. I haven't really dappled that much into Assembler or any really low-level programming languages. Could you give me a starting point? (I've downloaded MASM, but things aren't going well on that front.)


All times are Eastern Standard Time (GMT -5) | Current Time: 02:05 PM

<< < > >>

Viewing 1-30 of 3,219 matches. 1 | 2 | 3 | 4 | 5 | 6 | 757108