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 ... 298 299 [300] 301 302 ... 424
4486
Art / Re: 24 x 24 crumbling block request.
« on: December 21, 2010, 05:45:27 am »
I made one, but it is 20*25, you can try to change it if you want :S

4487
Computer Projects and Ideas / Re: Juggernaut
« on: December 21, 2010, 05:44:29 am »
Hey nemo, as you know I'm also interested in Java, but this is the first time I see this project. Good luck on it. Until now, you've made some good work :D

If you need any help (Java or Spriting) I could try to help. I also made a falling block that I will upload in the other topic for you :)

4488
TI Z80 / Re: [Project] 2 Player shooter game.
« on: December 20, 2010, 07:31:44 pm »
not that anyone cares but,

UPDATE:  The best update since the original!

The problem is that i was using if getkey instead of if getkey(0)

Now the program literally goes over 50 times faster!

If someone can show me how to make a screeny for 2 calcs it would be great

I don't think you can. Maybe you can, but I'd love to see it :)

4489
TI Z80 / Re: uPong
« on: December 20, 2010, 07:30:56 pm »
ahh, I always preferred for the x or y velocity (depending on what wall was hit) to be negated to add in a more "realistic feel" ;)

It's a random subroutine that I use to make the ball move, so it's not that common that it returns in the same direction and angle :S

4490
Computer Projects and Ideas / Re: MagiConverter
« on: December 20, 2010, 07:16:45 pm »
What was ashbad's challenge? and downloaded, they look nice
edit: though i'd suggest looking through the input strings to make sure you didn't put in ABCDEF and tried to convert it from binary to decimal.
edit2: what was the source, by the way?

When you enter letters, it won't compile. Too large numbers won't compile too:

Also, Ashbad's challenge was to release another program in that day (yesterday), but it's past Midnight now :(

Code: [Select]
//Imports
import javax.swing.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public class Main {
    public static void main(String[] args) {
          JFrame frame= new JFrame("MagiConverter");
          JPanel panel=new JPanel();
          final JLabel title = new JLabel("MagiConverter - Binary to Decimal");
          JLabel empty = new JLabel("                                                                                                                    ");
         

          final JTextField inputDecimal = new JTextField(25);
          final JTextField outputBinary = new JTextField(25);
          JButton convertButton = new JButton("Convert");

          convertButton.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent ev) {
                    String inputDecimalString = inputDecimal.getText();
                    int inputDecimalNumber;
                    inputDecimalNumber = Integer.parseInt(inputDecimalString);
                    int outputBinaryNumber = Integer.parseInt(inputDecimalString,2);
                    outputBinary.setText(Integer.toString(outputBinaryNumber));
                }
                });

          frame.add(panel);
         
          panel.add(title);
          panel.add(empty);
          panel.add(empty);
          panel.add(inputDecimal);
          panel.add(convertButton);
          panel.add(outputBinary);
          frame.setSize(300,220);
          frame.setVisible(true);
          frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);;
        }
    }

I'll post the other one in a second.

EDIT: Here it it is:

Code: [Select]
//Imports
import javax.swing.*;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

public class Main {
    public static void main(String[] args) {
          JFrame frame= new JFrame("MagiConverter");
          JPanel panel=new JPanel();
          final JLabel title = new JLabel("MagiConverter - Decimal to Binary");
          JLabel empty = new JLabel("                                                                                                                    ");
         

          final JTextField inputDecimal = new JTextField(25);
          final JTextField outputBinary = new JTextField(25);
          JButton convertButton = new JButton("Convert");

          convertButton.addActionListener(new ActionListener() {
                public void actionPerformed(ActionEvent ev) {
                    String inputDecimalString = inputDecimal.getText();
                    int inputDecimalNumber;
                    inputDecimalNumber = Integer.parseInt(inputDecimalString);
                    String outputBinaryNumber = Integer.toBinaryString(inputDecimalNumber);
                    outputBinary.setText(outputBinaryNumber);
                }
                });

          frame.add(panel);
         
          panel.add(title);
          panel.add(empty);
          panel.add(empty);
          panel.add(inputDecimal);
          panel.add(convertButton);
          panel.add(outputBinary);
          frame.setSize(300,220);
          frame.setVisible(true);
          frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);;
        }
    }

4491
Computer Projects and Ideas / MagiConverter
« on: December 20, 2010, 07:09:01 pm »
Hey everyone, Ashbad challenged me to finish something by yesterday (10 minutes) ago but I failed. However, here I am uploading a Java program (two actually) that convert Binary to Decimal or Decimal to Binary.

Quote from: What you are thinking right now
What's so special about it?

1. I made it;
2. It was made in Java;
3. It's a .jar file super fast;
4. It has got a Graphical User Interface;
5. It is easy and simple to convert.


I have a request for you: download it and run it. It takes you 3 seconds to open this program just so that you see what it is :)



4492
The Axe Parser Project / Re: Off-Calc Axe Parser
« on: December 20, 2010, 06:34:34 pm »
I actually have been working on an on-computer compiler for a while, but progress on that will remain secret until the calculator version 1.0.0 finally comes out because I don't want to delay that for a side project.

Great! It sounds like a good secret project! I look forward to it.

4493
TI Z80 / Re: uPong
« on: December 20, 2010, 06:12:10 pm »
looks cool! I hope you fixed the physics where the ball bounces off a wall back in the same angle and direction when it hits one sometimes ;)

Looks great dude :D

It is not a bug, it is phisically correct. a ball that goes against a wall can come back in the same angle and direction. It is easier for the player but it is natural :)

4494
Axe / Re: r'ed stuff
« on: December 20, 2010, 06:01:40 pm »
And it's one of the first TI-OSes to crash randomly, no ASM incompatibilities or anything. TI's getting worse and worse at coding :(

We should code for Texas, I believe.

4495
The Axe Parser Project / Re: Assembly Programmers - Help Axe Optimize!
« on: December 20, 2010, 06:00:00 pm »
Concerning optimizations:

I used an Assembly Disassembler to disassemble my game uPong and the code was 1531 lines! It was huge. Hopefully, thanks to Runner's and other members' optimizations, Axe programs can get smaller and smaller :)

4496
Computer Projects and Ideas / Re: BasiC++
« on: December 20, 2010, 05:36:24 pm »
ScoutDavid:
no, this will be an interpreted ti-basic-like language for PC, the C++ in BasiC++ is a reference to the language the interpreter is being coded in.

Oh I see, thanks!

Quote
eye candy has arrived! I am not sure if I mentioned, but I started over from scratch. it no longer has a window for the time being, and I did not start with variables. Instead I have been working on a preprocessor. this will run through the code translating it into something easier to parse, this new code is stored in a temporary file. when the preprocessor is finished, the interpreter will take over and begin interpreting the code line by line. So far I have the preprocessor remove whitespace (except for newlines) and make all text be in caps. also it will leave a string intact and it is not required to have the closing " for it to read it as a string, just like in ti-basic.

and now the eye candy:

This converts TI-Basic to C++?
No it does not, please read the first post of a topic before asking questions.

I had never heard of this, and the first topic didn't really explain what it was :S

4497
Computer Projects and Ideas / Re: BasiC++
« on: December 20, 2010, 05:29:12 pm »
This converts TI-Basic to C++?

4498
The Axe Parser Project / Re: Off-Calc Axe Parser
« on: December 20, 2010, 05:09:31 pm »
Wasn't Quigibo talking about doing this for multi-page apps anyway?

Making a PC Compiler for Axe Applications?
yes. In the multi-page app thread: http://ourl.ca/8382/154481
Read the last paragraph.

I see, it's a good idea from my point of view. Faster. Simpler. More functionalities.

4499
ASM / Re: Trio and Niko assembly help
« on: December 20, 2010, 04:10:30 pm »
it doesn't have anything like that, and since it's an app I can't use anything to do with a shell like DCS7

Yes, I really can't get why nobody helps you with this :S

4500
TI Z80 / Re: Axe Guitar Hero.
« on: December 20, 2010, 04:06:57 pm »
Ouch. I forgot the music aligning with graph and keys! That's tricky.

Pages: 1 ... 298 299 [300] 301 302 ... 424