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.


Messages - Munchor

Pages: 1 ... 199 200 [201] 202 203 ... 424
3001
Computer Projects and Ideas / Re: Yumé: The Eternal Dreams
« on: March 09, 2011, 05:17:17 am »
5 Layers? That seems risky and cool!

Can you go from one layer to another? Or the character is fixed in a layer.

3002
TI 68K / Re: Block Breaker
« on: March 09, 2011, 05:11:56 am »
I am proud to announce the release candidate of BlockBreaker 2!



However, I still have to make more levels, as there are only 8-9.
And, I was hoping if some of you guys want to take it out for a spin and see what you think about it.
As for as I know I smashed all the bugs, but nobody's perfect :)
It currently only works on the Ti-92Plus/V200, but if enough people beg I will try to port it to the 89 series.
I attached a zip of game to this post, so have fun!

This is looking great! It's the first time I check this images and me likes!

I can't wait for an animated image to understand the gameplay, though.

3003
Math and Science / Re: Derivatives
« on: March 08, 2011, 04:47:00 pm »
It seems like a derivative is the comparison of the m of a function (as in y=mx+b) of one variable f(x) and another one f(a).

Thanks.

3004
Math and Science / Derivatives
« on: March 08, 2011, 04:40:13 pm »
Can any of you link me to a good text on derivatives or try to teach me them?

My parents don't want to teach me since they say I'm only gonna learn them next year, but I can't wait :P

Thanks.

3005
Miscellaneous / Re: How many incomplete projects?
« on: March 08, 2011, 04:03:58 pm »
I have a few....

Living Balls, Ahead, Stand... A lot of calc programs that I gave up on forever...

3006
Another thing, a function in a class and both have the same name doesn't need a return type, why??

That's a constructor, which is a special type of function. It constructs an object when it's created. In other words, whenever you create a new object of that type, it gets run through the constructor which can set up/initiate the object.

This is the one that I still don't get.

So when I make MainClass mainClass = new MainClass(); will it run through the constructor (if it exists?).

I also don't seem to quite understand private classes.

There can only be once public class per file, right? But there can be classes inside it, that are private. Are those classes like public classes?

I answered myself the last question:

Code: [Select]
public class MainClass {
public static void main(String[] args)
{
MainClass mainClass = new MainClass();
mainClass.MyFunction();
}

public void MyFunction()
{
System.out.println("Hello");
}
public MainClass()
{
System.out.println("How's it going");
}
}

Output is:

Code: [Select]
How's it going
Hello

EDIT:

A constructor is ran when its classed is called as an object??


Code: [Select]
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.*;

public class MainClass extends JApplet{
public static void main(String[] args)
{
MainClass mainClass = new MainClass();
mainClass.theGUI();
System.out.println(Math.cos(100));
}

public void theGUI()
{
JFrame myFrame = new JFrame("Calculator");
myFrame.setSize(400,300);
JButton enterButton = new JButton("Enter");
enterButton.addActionListener(new DisplayMessage());
myFrame.getContentPane().add(enterButton);
myFrame.setVisible(true);
}
private class DisplayMessage implements ActionListener {
public void actionPerformed(ActionEvent e) {
            System.out.println("You just pressed a button");
        }

}
public MainClass()
{
System.out.println("This is the constructor class being ran.");
}
}

I made this piece of code to understand inheritance :D

3007
2.56 for the 84+(SE) doesn't exist. 2.56 is Nspire-only, and 2.55 is identical to 2.56 but it's compatible with 84+(SE) only.

Oh yeah

/facepalm

I forgot that the new OS was 2.55MP.

3008
Woah nice idea Raylin, work hard on it Freyaday!

3009
General Calculator Help / Re: Good game [and program] design
« on: March 08, 2011, 03:08:36 pm »
What about Axe? I know I am ethically obligated to say "This is an Axe Program" and give all due credit to Quigibo, but do I have to include the Axe App/link to it as well?

Nah, you don't, it's actually the Assembly program you distribute.

But you can credit him for creating the language, if you want too, but then again, nobody credits Texas for making TI-Basic.

3010
Other Calculators / Hardware Hacking NSpire
« on: March 08, 2011, 02:35:07 pm »
I was wondering if any of you has attempted or managed to hardware hacking the NSpire.

My question being, we can use Ndless to make it able to run Assembly programs, can we reach the same goal by opening it or something similar to hardware hacking?

3011
What about rocks falling from the sky and you have to avoid them? :P

3012
General Calculator Help / Re: Asylum
« on: March 08, 2011, 09:56:57 am »
Well, you edited it between the times when I loaded the page and when I replied.

Yeah I did I edited it several times.

3013
From what I got, is a class like a recipe that defines how to do something or how something is made or what it is made of?

Also, I can only have one main function per program, how do I define which function runs first in a class if that class is not the class with the main function?

Also, why is the relation between file names and class names?

Another thing, a function in a class and both have the same name doesn't need a return type, why??

EDIT:

I reread your code and found out that functions with the same name of classes are called constructors!

So, the third and fourth questions are now useless.

3014
General Calculator Help / Re: Asylum
« on: March 08, 2011, 09:50:11 am »
Aww, you mean I can't use Asylum? And it's such a cool name,too. The source was going to be called Sanity....

I think you can use Asylum, please read the entire post before (I edited it).

3015
General Calculator Help / Re: Asylum
« on: March 08, 2011, 09:48:27 am »
I'm trying to make an Axe game, but I have no ideas about what the game should be. All I have is the name: Asylum.
Any ideas?

Asylum is the name of a OS being made by a Cemetech member, it's called Asylum OS, so I'm not sure about the name :P

Concerning the game, we have an inspiration topic here.

There may be something there you like ;D

Also, play Axe examples by Quigibo to get some ideas for your game.

Good Luck!

The OS being made can be found here.

EDIT: I think the guy making the OS gave up on it, so the name is yours.

Pages: 1 ... 199 200 [201] 202 203 ... 424