Results 1 to 10 of 179

Thread: nxPascal

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Quote Originally Posted by User137 View Post
    Decided to make another video. Combination of various features, first off background is 800x600 QuadTexture. Followed by 2 particle launchers at bottom corner, from which right side is a clone of left one. Mouse cursor drops snowflakes which have gravity applied to them. Then there are 3 trail effects also part of particle engine.

    Top top it off, all of that is drawn only in framebuffer. There is a 50x50 grid of indexed GL_QUADS vertexarray, which acts as screen. This let me do a "collapse" effect at where blue trail is moving, basically the grid bends towards it like spacetime

    Background music comes also from the application, by nxBass unit, that is some of BASS library simplified to OOP way of programming.
    This is all there is to it in main program, and it can handle alot of formats:
    Code:
      bassSound:=TBassEngine.Create(handle);
      if not bassSound.CheckErrors then begin
        bassSound.Add('music','data'+PathChar+'test.s3m').  Play;
      end;


    Wireframe option is added to render settings. Unfortunately i can't upload engine sources yet because this broke my model demo that used placeholder particletype. 3D particle rendering isn't ready yet. But adding me to MSN or asking with private message always works and i can send anything.

    Compiled demo added to attachments, let me know if there are any problems running it
    If I may ask, what is the music in the above video?
    I quite like it

  2. #2
    Quote Originally Posted by paul_nicholls View Post
    If I may ask, what is the music in the above video?
    I quite like it
    I think it's S3M called "In the mist", was free download from some site. It's actually the demo (this demo is included in the downloads) playing it with BASS library I didn't separately attach it to video.

    Oh, i could also make a small game for a demo too. Anyone have ideas what it could be? I'm actually fan of Tetris myself, lol.
    Last edited by User137; 03-01-2012 at 04:59 PM.

  3. #3
    Quote Originally Posted by User137 View Post
    I think it's S3M called "In the mist", was free download from some site. It's actually the demo (this demo is included in the downloads) playing it with BASS library I didn't separately attach it to video.

    Oh, i could also make a small game for a demo too. Anyone have ideas what it could be? I'm actually fan of Tetris myself, lol.
    Thanks for the song info, I found and downloaded it
    http://lite.modarchive.org/index.php...id&query=71153

    Hmm...maybe I should see if I can make some code to play S3M songs - those type of songs are very small in size and would be perfect for inclusion into my game, but I don't want to distribute YAL (Yet Another Library) haha

    Not sure what type of game you could make, maybe a 2d tile-based plaformer that has 3d objects in it? That could be fun and not too hard
    Last edited by paul_nicholls; 03-01-2012 at 09:52 PM. Reason: updated post

  4. #4
    If you want smal sized songs you might rather use MO3 format, wich is also supportet by BASS sound library. MO3 format is actualy a lot like MOD format, except that all the samples are being compressed by mp3 compression, while MOD format uses samples in plain WAV format.

    But if you realy intend to make your own way off playing songs I have an interesting idea. I was planing to do this myself but my knowledge on this area is too low.
    What I was thinking is that instead of having samples stored in each song you have one master collection of samples and songs itself are just a set of instructions of when each sample must be played. This will lower the space required for theese songs especialy if they use same samples. Also since you will have all the samples loaded into memory at the same time you could easily make posible of mixing two or more songs together at any time.
    Last edited by SilverWarior; 04-01-2012 at 12:36 AM.

  5. #5
    Co-Founder / PGD Elder WILL's Avatar
    Join Date
    Apr 2003
    Location
    Canada
    Posts
    6,107
    Blog Entries
    25
    I like your demo. It's very demoscenish.

    Are you making much progress on your game which was using this engine as well?
    Jason McMillen
    Pascal Game Development
    Co-Founder





  6. #6
    I haven't decided yet. In the end a platformer would take quite some work, in the graphics, and overall. I could make it an endless shooting game which would in time get harder and harder, and then just compete of high score. I have thought of a way to randomly spawn enemies and their "retro look" movement patterns, so i wouldn't need a level editor at all. Maybe you could even upgrade the ship while flying it... Because i dislike the way retro games get their weapon upgrades by directly assigning them from looting. It may override a good weapon you were used to with something bad, so i'd rather use a "ship builder" dialog you can open at any time.

  7. #7
    OT:
    Quote Originally Posted by SilverWarior View Post
    If you want smal sized songs you might rather use MO3 format, wich is also supportet by BASS sound library. MO3 format is actualy a lot like MOD format, except that all the samples are being compressed by mp3 compression, while MOD format uses samples in plain WAV format.

    But if you realy intend to make your own way off playing songs I have an interesting idea. I was planing to do this myself but my knowledge on this area is too low.
    What I was thinking is that instead of having samples stored in each song you have one master collection of samples and songs itself are just a set of instructions of when each sample must be played. This will lower the space required for theese songs especialy if they use same samples. Also since you will have all the samples loaded into memory at the same time you could easily make posible of mixing two or more songs together at any time.
    Just so you know, I was allowed to use BeRo's XM player code in my game which can play .mod and .xm tracker files, so my game's exe has shrunk down from over 14MB to around 3MB! This is with increasing the music track count from 1 to 8!! (Thanks BeRo!)

  8. #8
    Have to be fairly pleased after few hours of fun with this project (yes, i started from scratch today). This is how it looks so far:



    It is taking under 20% of cpu at locked 100 fps rate for me. Curious to see later if different setups slow it down or not.

  9. #9
    Ah pretty good! You need a bunch of stars in the background though... and some explosions!
    Coders rule nr 1: Face ur bugz.. dont cage them with code, kill'em with ur cursor.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •