Author Topic: Exploding Head  (Read 87166 times)

0 Members and 1 Guest are viewing this topic.

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: Exploding Head
« Reply #15 on: December 08, 2009, 10:49:03 pm »
I want to maintain the idea that a wave is a wave and you don't need any special player to make use of it.

I also want it to be an accurate and literal file format. That's why it must be something that can be undone with nothing more than information provided in the header.

James.  :)
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

Offline meandean

  • Sr. Member
  • ****
  • Posts: 466
  • Milliwatts: 13
  • It's about sight AND sound.
    • View Profile
Re: Exploding Head
« Reply #16 on: December 08, 2009, 11:15:36 pm »
  OK, but you still didn't answer my question- can you build a m-ch wave player in LaserBoy or not?
"Patience is for the dead."

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: Exploding Head
« Reply #17 on: December 09, 2009, 11:28:12 am »
SDL is stereo out only. There is no record either.

But that doesn't mean "no".

There are other ways.

James.  :)
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

Offline BlinkenLights

  • he's just this guy, ya know?
  • Administrator
  • Hero Member
  • *****
  • Posts: 730
  • Milliwatts: 4
  • Gender: Male
  • 'The Messenger' by Will Cascio
    • View Profile
Re: Exploding Head
« Reply #18 on: December 09, 2009, 01:35:06 pm »
in windows there is DirectX (directsound) and the new XAudio2 which replaces Direct3d

http://msdn.microsoft.com/en-us/library/ee419250(VS.85).aspx
.

Offline Fanny Pack

  • Hero Member
  • *****
  • Posts: 645
  • Milliwatts: -20
  • Gender: Male
    • View Profile
Re: Exploding Head
« Reply #19 on: December 09, 2009, 07:16:05 pm »


SDL is stereo out only. There is no record either.

But that doesn't mean "no".

There are other ways.

James.  :)

So, just use SDL to write a cross platform sound library.  Easy peasy, nice and easy.  It's a lot of work but since you are all about writing all of the code and want to know how it all works it should be right up your alley.

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: Exploding Head
« Reply #20 on: December 10, 2009, 08:10:21 pm »
HAH!

Just found some more bugs in the quad orthographic view!  %)

James.  :)
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: Exploding Head
« Reply #21 on: December 13, 2009, 08:54:29 pm »
So, just use SDL to write a cross platform sound library.  Easy peasy, nice and easy.  It's a lot of work but since you are all about writing all of the code and want to know how it all works it should be right up your alley.

Since you are all about using libraries of code that's already written, writing an interface for LaserBoy should be Easy peasy, big-toe cheesy.

James.  :)
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

Offline Fanny Pack

  • Hero Member
  • *****
  • Posts: 645
  • Milliwatts: -20
  • Gender: Male
    • View Profile
Re: Exploding Head
« Reply #22 on: December 13, 2009, 09:34:02 pm »
I suggested that in the past but you never did.

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: Exploding Head
« Reply #23 on: December 13, 2009, 10:09:31 pm »
Did what?

I don't know how to make a Windows DLL!

Have you ever looked at the code?

You know all you have to do is include the header files and instantiate a LaserBoy_space class object into your own application scope.

Even if you don't write an application, you might get some kicks out of writing frame or frame set effects.

James.  :)
« Last Edit: December 13, 2009, 10:18:10 pm by James »
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: Exploding Head
« Reply #24 on: December 14, 2009, 03:35:46 am »
I haven't given up!

It's just a lot of code to fix!

LaserBoy is already more than 2 million 180 thousand key strokes!

I'm getting the new color rescaling features to work now.

New release soon!

James.  :)
« Last Edit: December 14, 2009, 03:38:21 am by James »
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

Offline Fanny Pack

  • Hero Member
  • *****
  • Posts: 645
  • Milliwatts: -20
  • Gender: Male
    • View Profile
Re: Exploding Head
« Reply #25 on: December 14, 2009, 06:47:10 am »
Did what?

I don't know how to make a Windows DLL!

Have you ever looked at the code?

You know all you have to do is include the header files and instantiate a LaserBoy_space class object into your own application scope.

Even if you don't write an application, you might get some kicks out of writing frame or frame set effects.

James.  :)

Windows DLLs are nothing but EXEs without main methods for the most part.  There really isn't anything special you need to do other than specify which methods you want to be visible to the outside world.  Those become your API calls.

I'm probably past being able to use LaserBoy for anything.  I could probably use some of your ideas for creating new effects but the code wouldn't work since I have to use an on the fly mechanism.  But, I am sure someone else could use a LaserBoy API.

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: Exploding Head
« Reply #26 on: December 14, 2009, 03:09:22 pm »
Hmmmmmm.

Have you seen LaserBoy.cpp?

Code: [Select]
#include "LaserBoy_SDL_GUI.hpp"

//############################################################################
int main(int argc, char *argv[])
{
    int xres = 640,
        yres = 480;

    if(argc >= 3)
    {
        xres = atoi(argv[1]);
        yres = atoi(argv[2]);
    }

    LaserBoy_SDL_GUI LaserBoy_App(xres, yres);

    return LaserBoy_App.start_menu_loop();
}
//############################################################################

Not much to it, really.

Quote
I'm probably past being able to use LaserBoy for anything.

Ummmmmmmm. OK.

James.  :)
« Last Edit: December 14, 2009, 03:15:39 pm by James »
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: Exploding Head
« Reply #27 on: December 16, 2009, 01:48:52 am »
I'm still working on the color signal rescaling stuff.

Doing all of that exposed some other issues; not really bugs, but ways to make things better.

Tests are looking good.

The coolest thing about a 100% software solutuion is that it can keep on getting better and better!

You'll never be stuck with last-year's box AND you will always benefit from tomorrow's faster generic hardware!

James.  :)
« Last Edit: December 16, 2009, 02:12:40 am by James »
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

Offline no-esc

  • Full Member
  • ***
  • Posts: 146
  • Milliwatts: 5
  • Gender: Male
    • View Profile
Re: Exploding Head
« Reply #28 on: December 16, 2009, 08:15:20 am »


The coolest thing about a 100% software solutuion is that it can keep on getting better and better!

You'll never be stuck with last-year's box AND you will always benefit from tomorrow's faster generic hardware!

James.  :)



That's what I love about them high school girls.....

I GET OLDER >>>> They stay the same age......
"Acid isnt making a comeback....its never left......." me
"this cutting edge DJ from The mother ship will get you telling other people about him with his thrilling style of deep Funky techno disco house on the acid tip!!" taken from the MOTHER SHIP Daily
-------------------------------------------

Offline James

  • Administrator
  • Hero Member
  • *****
  • Posts: 2132
  • Milliwatts: 47
  • Gender: Male
    • View Profile
    • LaserBoy !!!
Re: Exploding Head
« Reply #29 on: December 16, 2009, 03:01:03 pm »
Well..... Keep it up!

Someday, you'll be too old and your software won't run in hardware mode anymore.

James.  :)
LaserBoy is Sofa King Cool!
But it will never be Alpha King Done!

 

SMF spam blocked by CleanTalk
SimplePortal 2.3.7 © 2008-2024, SimplePortal