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

Pages: 1 ... 29 30 [31] 32 33 ... 125
451
TI-Nspire / Re: [ndless 3.6] nVVVVVV
« on: June 01, 2014, 08:14:39 pm »
I am now using the Jetpack Impossible library with a modification to putsprite :D

Zip attached, will someone please give me some screenies? Thank you.

EDIT: fixed source and binary bug.

452
TI-Nspire / Re: [ndless 3.6] nVVVVVV
« on: June 01, 2014, 05:38:18 pm »
I either said something wrong, or you or I misunderstood the other:

I have a spritemap, that is, one image with all of the sprites in it. SDL has the function SDL_BlitSurface(surface, rect, screen, screenposition), which not only displays the sprite, but blits/crops the pointed surface so that only a specific region of said surface is displayed/drawn.

putsprite(x, y, ptr) displays the entire pointed image on the screen. Is there/can you make a routine that crops/blits the pointed image to a specific x/y/w/h?

453
TI-Nspire / Re: [ndless 3.6] nVVVVVV
« on: June 01, 2014, 05:08:35 pm »
I'm trying to use the header from Jetpack Impossible, but I have a problem: I store my sprites in a spritemap, and blitting does not seem to be supported inherently by the library. So the question: How do I blit my spritemap in program?

454
TI-Nspire / Re: [ndless 3.6] nVVVVVV
« on: June 01, 2014, 02:10:48 pm »
Matref: I only have a monochrome, don't worry :P

I'm using nSDL, so there should never be a problem :D

455
TI-Nspire / Re: [ndless 3.6] nVVVVVV
« on: June 01, 2014, 01:14:31 pm »
Well, the only libraries I'm using are OS.h and nSDL, so it should work.

EDIT:
Take the n off the title and I'm happy. Also does this work with ndless 3.1?
Edit: doesn't seem to work with ndless 3.1 D: I get a "This document format is not supported" error. >.<

According to Levak, you need to update ndless 3.1

EDIT 2: new version, fixing some tile things, attached.

456
TI-Nspire / Re: [ndless 3.6] nVVVVVV
« on: June 01, 2014, 12:59:09 pm »
I would compile it under ndless 3.1, since all the code is compatible, but I can't find the ndless 3.1 sdk D:
Could someone who has it please attach the zip file?

457
TI-Nspire / [ndless 3.6] nVVVVVV
« on: June 01, 2014, 09:26:38 am »
I have a demos for nVVVVVV! :w00t:
No screenies because KArmTI isn't letting me install ndless, and Norton thinks nspire_emu is a virus.
Attached are the sources, the makefile, and the binary (Ndless 3.6, not sure if it will work with 3.1).
So far, you can only move left/right and flip gravity.
7/9 = left/right
8 = flip gravity

Will someone please make some screenies (CX and/or Grayscale)? Thank you :D

Github repo: https://github.com/pimathbrainiac/nVVVVVV/
Binaries: https://github.com/pimathbrainiac/nVVVVVV/releases/

458
Okay, so I have a pretty large sprite sheet (converted to NTI, of course). When I use the following code to get the sprites:
Code: [Select]
void draw_tile(SDL_Surface *tileset, long tile_num, int x, int y)
{
    SDL_Rect src_rect, screen_pos;
    src_rect.x = tile_num * 10 + 8;
    src_rect.y = tile_num / 30 * 10 + 119;
    src_rect.w = TILE_WIDTH;
    src_rect.h = TILE_HEIGHT;
    screen_pos.x = x * TILE_WIDTH;
    screen_pos.y = y * TILE_HEIGHT;
    SDL_BlitSurface(tileset, &src_rect, screen, &screen_pos);
}

Any sprite with an x or y value greater than 127 is not displayed. I looked at the official SDL_Rect struct definition, and those values should end up being 16 bit values, not 8 bit values. Is this a problem with the code or a problem with the library? I am using a monochrome Nspire CAS.

459
Miscellaneous / Re: Birthday Posts
« on: May 27, 2014, 08:36:10 am »
Soru: I nommed da muffin!

Street: That looks suspiciously like a cheesecake :P

Thank you guys!

460
Humour and Jokes / Re: Funny #omnimaga quotes (NSFW)
« on: May 26, 2014, 03:58:03 pm »
I still think I am, but that is debatable :P

461
Humour and Jokes / Re: Funny #omnimaga quotes (NSFW)
« on: May 26, 2014, 03:49:42 pm »
Quote
<CVBackup> seems to use 7-bit ASCII, sending 0xD9 (217) results in Y (0x59 / 217-128) appearing on the screen
<pimath> ASCII a bad question, get a bat ANSI
* pimath runs from the pun police
<OmnomIRC> (O)<Eiyeron> Big BOM is watching you.
<OmnomIRC> (O)* Eiyeron runs faster.
<pimath> oh noes :I
* pimath is invisibubble :I
<OmnomIRC> (O)<Eiyeron> I am the Lord of Bad Pun. (o_(//;))
<pimath> no
<pimath> I am
<pimath> You know "Frozen?" I guess you could way it was nICE
<OmnomIRC> (O)<Eiyeron> That doesn't ring me a BELl.
<OmnomIRC> (O)<Eiyeron> (+1 for Bravely Default shout out)
<pimath> S'now problem. I guess you just need to cool down.
<pimath> (Still with the "Frozen" theme)
<OmnomIRC> (O)<Eiyeron> But i think we should stop with that BS. YOu should ACKnowldege that it became pretty akward, that hurriCANe of puns. Let US just end with these NULl jokes.
<OmnomIRC> (O)<Eiyeron> (Ascii theme)
* CVBackup spams BEL
<OmnomIRC> (O)<Eiyeron> Heh
<pimath> I CE no problem with these puns. They're so chill.
<OmnomIRC> (O)<Eiyeron> BELlissima! (^-(//);)
<OmnomIRC> (O)<JWinslow23> SI! Es BELlissima!
<OmnomIRC> (O)<Eiyeron> This level is around SUBzero, eSPecially when I'm running out of SOurce characters.
<OmnomIRC> (O)<Eiyeron> SYNchronized pun?
<CVBackup> SYN ACK
<pimath> I'm sorry, I'm really TIed up right now, call me in 84+ minutes.
<CVBackup> oh, right, I was being productive
<pimath> (On to calcs)
<OmnomIRC> (O)<JWinslow23> No, calcs don't nSpire me too much.
<OmnomIRC> (O)<Eiyeron> HOPe we could find help here, I'm sending SOS everywhere, STarting with SCIentists...
<pimath> Unless you Voyage 200 miles away
<OmnomIRC> (O)<JWinslow23> You're all just jealous Casio (cause you) can't think of anything clever.
<OmnomIRC> (O)<Eiyeron> JWinslow, they gave us a useful SDK
<OmnomIRC> (O)<JWinslow23> ^-^
<OmnomIRC> (O)<Eiyeron> Oh, didn't see the LInk between your sentences
* pimath posts in the quotes thread
<Derpy> http://imgur.com/gallery/O8YVx
* CVBackup stabs OP
<OmnomIRC> (O)<Eiyeron> SOrry, I'll get back on the TABLE, DYNAmic as ever.
<OmnomIRC> (O)<JWinslow23> All of these puns are pretty BASIC anyways.

EDIT:

It continued:

Quote
<OmnomIRC> (O)<Eiyeron> Let me grab my Axe, we'll C if they're still RUNning away from sanity.
<OmnomIRC> (O)<JWinslow23> This has to stop.
<OmnomIRC> (O)<JWinslow23> I'm bringing down my Axe.
<OmnomIRC> (O)<JWinslow23> Wait...
<OmnomIRC> (O)<JWinslow23> :mad:
* New post by Matrefeytontias in Awesome pictures thread  http://ourl.ca/15342/384532
<OmnomIRC> (O)<JWinslow23> Stupid internet connection!
<CVBackup> ninja sk1llz
<OmnomIRC> (O)<Eiyeron> Ah, I see that pimath did a CATALOG of our puns! And Winslow is getting LOW (on) BATTRIES
<OmnomIRC> (O)<JWinslow23> Well, that pun as no Perl anyways.
<pimath> I C no problem. I'll just drink my Java while I C#-ly into the future.
<OmnomIRC> (O)<JWinslow23> * is
<OmnomIRC> (O)<JWinslow23> Excuse me while I go post on 4tran (Fortran).
<OmnomIRC> (O)<Eiyeron> They can't stand my ZOOMING LINEs, fast as a STOrrent.
<Streetwalrus> my pet Python is superior
<pimath> Is it made of COBOLt?
<OmnomIRC> (O)<Eiyeron> My Anaconda is better.
<OmnomIRC> (O)<JWinslow23> Street: That sounds kinda Erie.
<Streetwalrus> ?
<OmnomIRC> (O)<Eiyeron> LEt me sharpen my Haxe. YOu better close your Lisps
<OmnomIRC> (O)<Eiyeron> my ADAmantium Haxe! :3
<OmnomIRC> (O)<JWinslow23> Street: Superior? Erie?
<OmnomIRC> (O)<JWinslow23> :/
<Streetwalrus> idk what erie is
<OmnomIRC> (O)<JWinslow23> Lake Superior?
<OmnomIRC> (O)<JWinslow23> Lake Erie?
<OmnomIRC> (O)<JWinslow23> IT'S FIRST GRADE! :p
<Streetwalrus> wait
<Streetwalrus> pokemon ?
<OmnomIRC> (O)<Eiyeron> Admit it, you all lost the game. YOu're pretty BrainF*cked.

462
Miscellaneous / Re: Awesome pictures thread
« on: May 26, 2014, 01:22:29 pm »
-9001 degrees celcius of course, so below the absolute minimum ;)

Good catch, but I was talking Kelvin.

463
Miscellaneous / Re: Awesome pictures thread
« on: May 26, 2014, 01:19:13 pm »
Because radium is to mainstream, Sorunome seems to overclock his calculators using superconductors.

Yeah but is the calculator cooled to -9001 degrees?

* pimathbrainiac runs

464
TI-Nspire / Re: nGL - a fast (enough) 3D engine for the nspire
« on: May 24, 2014, 06:49:19 pm »
It works! Thank you very much!

465
TI-Nspire / Re: nGL - a fast (enough) 3D engine for the nspire
« on: May 24, 2014, 06:12:12 pm »
That version just crashed on startup. Sorry D:

I think it may be Ndless 3.6/OS 3.6 that is the problem, since Matref had no issues, and he has OS 3.1/Ndless 3.1

Pages: 1 ... 29 30 [31] 32 33 ... 125