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 - Scipi

Pages: 1 ... 55 56 [57] 58 59 ... 139
841
Computer Programming / Re: Gif to pixel data help
« on: August 02, 2012, 08:43:43 pm »
Thanks, though is there a way to get the data using BufferedImage? I'd rather use something like that to easily handle everything instead of having to dig out everything directly. I know how I could get all the data into an array, but how do I get the number of frames for each? Or is there a better way to get animation?

842
News / Re: Game Boy Advance emulation reaches TI-Nspire CX
« on: August 02, 2012, 08:25:04 pm »
One more thing to waste my time with :P jk

Now I can replay FE: Sacred Stones :D

Oh wait, will this be able to play Omni Emblem when it's finished?

843
Miscellaneous / Re: Hot_Dog is back!
« on: August 02, 2012, 07:56:03 pm »
Yay! Welcome back :D

844
Computer Programming / Gif to pixel data help
« on: August 02, 2012, 07:37:58 pm »
I'm trying to add gif support to a certain secret project. Due to the way I'm handling drawing to the screen, I need to convert the gif image data into an array of pixels as well as get the data for how many frames, time between frames, etc. I was wondering if anyone here knows the gif file format and could help me.

Here is the current way I load pixels:

Code: [Select]
private void loadTiles(String name) {
    for (int i = 0; i < tileNames.length; i++) {
try {
    BufferedImage image = ImageIO.read(TileSet.class.getResource("/tiles/" + name + "/" + tileNames[i] + ".gif"));
    Render result = new Render(xPix, yPix);//Render contains the pixel data in result.pixels
    System.out.println(result.width);
    image.getRGB(0, 0, xPix, yPix, result.pixels, 0, xPix);
    tileRender[i] = result;
} catch (Exception e) {
    System.err.println("File: \"" + "tiles/" + name + "/" + tileNames[i] + ".gif" + "\" does not exist");
    throw new RuntimeException(e);
}
    }
}

It seems I could use image.getRGB(), but how would I do so?

Thanks!

845
What is the file you are trying to delete? You could probably remove it with the Student Software.

846
TI-Nspire / Re: gpSP-Nspire (GBA Emulator)
« on: August 02, 2012, 05:42:37 pm »
I'm impressed so far with how it's handling Fire Emblem: The Sacred Stones. It's a bit slow, but still very much playable.

The only thing I'd suggest is allowing 2 to be the D-Pad down as well. I keep going to click down, and forget it's 5.

847
TI-Nspire / Re: gpSP-Nspire (GBA Emulator)
« on: August 02, 2012, 04:59:42 pm »
I think I'm doing something wrong, but every time I go to run the launcher it crashes. I uploaded gba_bios.bin.tns and sent over a rom for Fire Emblem: The Sacred Stones.

I believe I am using Ndless 3.1, I'm on OS 3.1 as well.


Edit: It's working now, had an old version of ndless

848
Computer Projects and Ideas / Re: Contest: Coding Battles
« on: August 02, 2012, 04:43:23 pm »
Btw, are there any prizes?
(like 1st place user bars, lol)

Depends upon if anyone wants to make some. Otherwise, it's more or less for fame, glory, and bragging rights :P

849
Computer Projects and Ideas / Re: Contest: Coding Battles Topic Poll
« on: August 02, 2012, 03:44:47 pm »
Ah, ok then.
* HOMER-16 already has a few ideas >:D

850
Computer Projects and Ideas / Re: Contest: Coding Battles Topic Poll
« on: August 02, 2012, 03:41:37 pm »
Just to be sure, a IRC Bot that plays/manages games would be one you play a game with over IRC?

851
Music Showcase / Re: The most relaxing song ever
« on: August 02, 2012, 03:21:21 pm »
Greek for "cleansing" or"purging" :P

852
Computer Projects and Ideas / Re: Contest: Coding Battles Topic Poll
« on: August 02, 2012, 03:03:40 pm »
Yay, but I can only vote for a single category still :/

853
Computer Projects and Ideas / Re: Contest: Coding Battles Topic Poll
« on: August 02, 2012, 02:59:28 pm »
Eh, I think we'd just have to choose one or the other in case of a tie. I could whip up a quick randomizing program in case of a tie.

854
Computer Projects and Ideas / Re: Contest: Coding Battles Topic Poll
« on: August 02, 2012, 02:56:46 pm »
I voted :w00t:

Would it be possible to have maybe three votes. Like the top two or three ideas you'd like to see?

It's somewhat difficult choosing just one :P

855
Computer Projects and Ideas / Re: Contest: Coding Battles
« on: August 02, 2012, 02:17:51 am »
I think we are just stockpiling ideas to vote on for each contest. Each contest should only have a single category.

Music creation software would be fun :D

Pages: 1 ... 55 56 [57] 58 59 ... 139