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 ... 69 70 [71] 72 73 ... 424
1051
OmnomIRC Development / Re: Font
« on: June 19, 2011, 12:18:38 pm »
Even better, font choosing?

1052
News / Re: Juju2143 and Netham45 becomes managers
« on: June 19, 2011, 12:17:11 pm »
Thanks guys, thank you DJ_O, sorry for your activity decrease, and congrats Netham45 :)

No problem, just don't forget to give me 10000 respect points and I hope you don't get too stressed :)

1053
Grammer / Re: Grammer
« on: June 19, 2011, 12:16:15 pm »
Recode, but safer!?
YAY! Watching recode crash is both funny and frustrating. By funny I mean displaying random strings and OS menus during crashes, and by frustrating, i mean losing all your progress.

EDIT: I just noticed that the key code chart says Brie. Isn't that your calcs name?

Brie is indeed her calculator's name.

And to me, Grammer is not just safer, but better, especially the sprite routines, I've always wanted that :D

1054
9 years? That seems like a long time. I should try this with Wine later :)

1055
Miscellaneous / Re: I am getting a ti-89
« on: June 19, 2011, 12:14:54 pm »
An 89? I would also like one to program C using TI-GCC.

Well, congratulations and enjoy it!

1056
BatLib / Re: BASIC ReCode v2.00
« on: June 19, 2011, 12:14:24 pm »
Am I correct to assume that Grammer will replace recode in batlib?

I'd vote in favour, indeed, Grammer as the new language.

1057
TI Z80 / Re: Axe parser game
« on: June 19, 2011, 12:13:31 pm »
Actually, this would have been a great contest entry :D

1058
TI-Nspire / Re: [Lua] Bobby Carrot
« on: June 19, 2011, 12:12:56 pm »
The graphics look really nice. This is why I wish I had an nspire...

Yap, he's taking full advantage of greyscale, like Hoffa did in Pixel Escape. This is getting awesome, nice job :)

1059
Computer Programming / Java - Load Images on Screen Display
« on: June 19, 2011, 11:17:04 am »
I was trying to load 2 images in a display screen I made (inside a JFrame), but the screen appears empty and no images :/

Screen.java
Code: [Select]
import java.awt.*;
import javax.swing.JFrame;

public class Screen {

private GraphicsDevice vc; //Allows access to Graphics Card

public Screen() {
GraphicsEnvironment env = GraphicsEnvironment.getLocalGraphicsEnvironment();
vc = env.getDefaultScreenDevice();
}

public void setFullScreen(DisplayMode dm, JFrame window) {
window.setUndecorated(true);
window.setResizable(false);
vc.setFullScreenWindow(window);

if (dm != null && vc.isDisplayChangeSupported()) {
try {
vc.setDisplayMode(dm);
} catch(Exception ex) {

}
}

}

public Window getFullScreenWindow() {
return vc.getFullScreenWindow();
}

public void restoreScreen() {
Window w = vc.getFullScreenWindow();
if (w != null) {
w.dispose();
}
vc.setFullScreenWindow(null);
}

}

Images.java
Code: [Select]
import java.awt.*;
import javax.swing.ImageIcon;
import javax.swing.JFrame;


public class Images extends JFrame {
public static void main(String[] args) {
DisplayMode dm = new DisplayMode(800,600,16,DisplayMode.REFRESH_RATE_UNKNOWN);
Images i = new Images();

i.run(dm);

}

private Screen s;
private Image bg;
private Image pic;
private boolean loaded;

//run method
public void run(DisplayMode dm) {
setForeground(Color.WHITE);
setFont(new Font("Arial", Font.PLAIN, 24));

loaded = false;

s = new Screen();

try {
s.setFullScreen(dm, this);
loadpics();
try {
Thread.sleep(5000);
} catch (Exception ex) {}
} finally {
s.restoreScreen();
}
}

public void loadpics() {
bg = new ImageIcon("background.jpeg").getImage();
pic = new ImageIcon("face.png").getImage();
loaded = true;
repaint();
}

public void paint(Graphics g) {
if (g instanceof Graphics2D) {
Graphics2D g2 = (Graphics2D)g; //Typecasting g to Graphics2D
g2.setRenderingHint(RenderingHints.KEY_TEXT_ANTIALIASING, RenderingHints.VALUE_TEXT_ANTIALIAS_ON);
}

if (loaded) {
g.drawImage(bg,0,0,null);
g.drawImage(pic,170,180,null);
}
}
}

I got this from one of thenewboston's tutorials and my code is supposedly equal to his, but it doesn't really work for me.

The images are saved in the same folder as the .class files, with the same names as in the code.

Thanks in advance.

1060
Code: [Select]
function on.deleteKey()
    if onTitleScreen then
        bestScore = 0
        var.store(magic, bestScore)
    end
end

I also tried that so that when we press DEL in Title Screen, HighScore is restored, it didn't work, but can you add that please?

1061
News / Re: Juju2143 and Netham45 becomes managers
« on: June 19, 2011, 05:41:23 am »
Well, while it's always sad to be reminded that DJ's activity is decreasing, it's good to know that Juju and Netham45 will both be promoted to managers.

They're both great contributors and I think they'll be great managers too :D

Good luck Netham45 and Juju :)

1062
http://paste.bwns.be/p/f16dc06e3

I made that, what if the score is automatically updated, like in most calculator games? I'd like that.

1063
Computer Programming / Re: Factorial Output
« on: June 18, 2011, 04:09:36 pm »
Bump anybody?

1064
OmnomIRC Development / Re: OmnomIRC on Chromium
« on: June 18, 2011, 03:38:09 pm »
It works fine in Chrome(Googles official build) 12.0.742.100.
I believe it's a cookie issue, one of the cookies wasn't 100% compatible across code revisions.

Yap, but it didn't work on Chromium.

Fixed now!

1065
BatLib / Re: BatLib
« on: June 18, 2011, 01:47:38 pm »
I am using the DCS SDK, but I opened up the Brass App in notepad and saw that I could define my source as being "TI8XK" or "Intel", but it does not make the correct format for the TI8XK and the Intal hex format that I should be able to use with wappsign does not work :/

Try this because I don't think I can help you any further :(

Pages: 1 ... 69 70 [71] 72 73 ... 424