C and allegro. lol

Whether you're a newbie or an experienced programmer, any questions, help, or just talk of any language will be welcomed here.

Moderator: Coders of Rage

Post Reply
User avatar
Pickzell
Chaos Rift Junior
Chaos Rift Junior
Posts: 233
Joined: Sat May 16, 2009 10:21 am

C and allegro. lol

Post by Pickzell »

So I'm going to be using more C than C++++++++++++++++++++++++++ because I'm coding for gameboy now, and apparently that's recommended. I'm just wondering if that will affect, in any way, my graphics API, which is, in fact, Allegro. Soi soi soi soi.
I'm an altogether bad-natured Cupid.
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Re: C and allegro. lol

Post by Falco Girgis »

...since when in the hell did Allegro run on a GAME BOY?
User avatar
M_D_K
Chaos Rift Demigod
Chaos Rift Demigod
Posts: 1087
Joined: Tue Oct 28, 2008 10:33 am
Favorite Gaming Platforms: PC
Programming Language of Choice: C/++
Location: UK

Re: C and allegro. lol

Post by M_D_K »

You'd use up all the game boy's resources before you got a quarter way through initing SDL or Allegro.
Gyro Sheen wrote:you pour their inventory onto my life
IRC wrote: <sparda> The routine had a stack overflow, sorry.
<sparda> Apparently the stack was full of shit.
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Re: C and allegro. lol

Post by Falco Girgis »

The Gameboy's CPU would literally shit its pants before you tried to do ANY software rendering with something like that...
XianForce
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 767
Joined: Wed Oct 29, 2008 8:36 pm

Re: C and allegro. lol

Post by XianForce »

:lol: I'm seriously laughing so hard.
User avatar
Pickzell
Chaos Rift Junior
Chaos Rift Junior
Posts: 233
Joined: Sat May 16, 2009 10:21 am

Re: C and allegro. lol

Post by Pickzell »

I don't recall saying allegro worked on GAME BOY.
I'm an altogether bad-natured Cupid.
User avatar
rolland
Chaos Rift Regular
Chaos Rift Regular
Posts: 127
Joined: Fri Dec 21, 2007 2:27 pm
Current Project: Starting an Android app soon
Favorite Gaming Platforms: PS1, N64
Programming Language of Choice: C++
Location: Michigan, US

Re: C and allegro. lol

Post by rolland »

Pickzell wrote:I don't recall saying allegro worked on GAME BOY.
No, but it seriously sounded like you were saying you were planning on using allegro on gba. I guess you mean you're just going to focus on C for pc and gba, right? Anyway, to answer your question, I doubt it. If I recall correctly, allegro is C-based, so it shouldn't matter at all.
I'll write a signature once I get some creativity and inspiration...
XianForce
Chaos Rift Devotee
Chaos Rift Devotee
Posts: 767
Joined: Wed Oct 29, 2008 8:36 pm

Re: C and allegro. lol

Post by XianForce »

Oh, I see. He kind of worded it wierd.

He's saying he switched to C to code on GameBoy, but he's wondering if that would affect Allegro.

And to answer your question. No, C should work fine with Allegro.
User avatar
Falco Girgis
Elysian Shadows Team
Elysian Shadows Team
Posts: 10294
Joined: Thu May 20, 2004 2:04 pm
Current Project: Elysian Shadows
Favorite Gaming Platforms: Dreamcast, SNES, NES
Programming Language of Choice: C/++
Location: Studio Vorbis, AL
Contact:

Re: C and allegro. lol

Post by Falco Girgis »

C had damn well better work fine with Allegro--Allegro is written in C, haha.
User avatar
Pickzell
Chaos Rift Junior
Chaos Rift Junior
Posts: 233
Joined: Sat May 16, 2009 10:21 am

Re: C and allegro. lol

Post by Pickzell »

Yeah, it works
I'm an altogether bad-natured Cupid.
Post Reply