Author Topic: Particles  (Read 6017 times)

0 Members and 1 Guest are viewing this topic.

Offline ninogenio

  • Pentium
  • *****
  • Posts: 1668
  • Karma: 133
    • View Profile
Particles
« on: April 09, 2007 »
Heres a preview of the particle engine im going to use in my new game its takin quite a while to code this ive had to read a fair few tuts but its going quite well ive put programable emmiters in the engine that are quite flexable also theres preprogramed emmiters for basic effects such as explosions and sparks.

ive not put the source up just yet as im still working on the game but the source will come soon.
« Last Edit: April 09, 2007 by ninogenio »
Challenge Trophies Won:

docgen

  • Guest
Re: Particles
« Reply #1 on: April 09, 2007 »

Very promisingly work. The sharing of the source will be great! Thx in advance! :)

Greetings
stef

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17409
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Particles
« Reply #2 on: April 09, 2007 »
Looks very nice indeed, needs to be used in a demo and not just a game though ;)
Shockwave ^ Codigos
Challenge Trophies Won:

Offline rdc

  • Pentium
  • *****
  • Posts: 1495
  • Karma: 140
  • Yes, it is me.
    • View Profile
    • Clark Productions
Re: Particles
« Reply #3 on: April 09, 2007 »
Looks good.

Offline benny!

  • Senior Member
  • DBF Aficionado
  • ********
  • Posts: 4384
  • Karma: 228
  • in this place forever!
    • View Profile
    • bennyschuetz.com - mycroBlog
Re: Particles
« Reply #4 on: April 09, 2007 »
Looks groovy!
[ mycroBLOG - POUET :: whatever keeps us longing - for another breath of air - is getting rare ]

Challenge Trophies Won:

Offline .:] Druid [:.

  • freebasic n00b
  • Pentium
  • *****
  • Posts: 563
  • Karma: 47
    • View Profile
    • Intro-Inferno
Re: Particles
« Reply #5 on: April 09, 2007 »
Really interresting, keep it up!

ANd i second shockie:  Why only in games? :)
[sheep]: im sure he wants to goto prison.. they didnt get him last time.. he was promised a big cock up his arse.. and no doubt looking forward to it.. lets hope he gets his wish this year.

Offline ninogenio

  • Pentium
  • *****
  • Posts: 1668
  • Karma: 133
    • View Profile
Re: Particles
« Reply #6 on: April 10, 2007 »
heres where its at now im still working on it but its almost there so source coming soon

i do plan on making some gl demos but im too into making this game right now.

some techy info this demo uses three emmiters each one producing 1000 particles.
Challenge Trophies Won:

Offline ninogenio

  • Pentium
  • *****
  • Posts: 1668
  • Karma: 133
    • View Profile
Re: Particles
« Reply #7 on: April 10, 2007 »
well i think im just about done so heres the source it also includes the engine for my game so disregard that all the particle stuff is in the .bas file feel free to use any of this stuff for your own purposes btw.

have a tinker with the values some of the stuff its possible to create is cool.


Challenge Trophies Won:

Offline Shockwave

  • good/evil
  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 17409
  • Karma: 498
  • evil/good
    • View Profile
    • My Homepage
Re: Particles
« Reply #8 on: April 10, 2007 »
It is really impressive Nino. Very kind of you to share it too so have some K+ , not for writing a game though, anyone can do that! You should be using this engine to make some demo for a party.
Shockwave ^ Codigos
Challenge Trophies Won:

Offline ninogenio

  • Pentium
  • *****
  • Posts: 1668
  • Karma: 133
    • View Profile
Re: Particles
« Reply #9 on: April 10, 2007 »
cheers shockwave :)

i definately love creating demos and ive loads and loads of ideas going on im planing on dual releasing these demos between visual c++ and the psp.

but for now i must get this game off my back ive been working on it for months lol.
Challenge Trophies Won:

docgen

  • Guest
Re: Particles
« Reply #10 on: April 10, 2007 »
Hi!

Works fine! Thx again!

Posted by: Shockwave
Quote
It is really impressive Nino. Very kind of you to share it too so have some K+ , not for writing a game though, anyone can do that! You should be using this engine to make some demo for a party.

Great! :)

Offline mike_g

  • Amiga 1200
  • ****
  • Posts: 435
  • Karma: 34
    • View Profile
Re: Particles
« Reply #11 on: April 10, 2007 »
Nice particles nino :)

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: Particles
« Reply #12 on: April 10, 2007 »
It's very impressive.  For some reason on my work PC, it runs at 0.01fps, but it's fine here at home.

Jim
Challenge Trophies Won:

Offline ninogenio

  • Pentium
  • *****
  • Posts: 1668
  • Karma: 133
    • View Profile
Re: Particles
« Reply #13 on: April 11, 2007 »
cheer for the comments guys!

@jim thats strange, it could be the way ive coded it and the card on you works comp doesnt like it. actually there are some things like the call to glbegin(gl_quads) glend and glpush/popmatrix that are inside the for loops that might be causeing some slowdown also i should really be using trianglestrips or vertex arrays.
Challenge Trophies Won:

Offline ninogenio

  • Pentium
  • *****
  • Posts: 1668
  • Karma: 133
    • View Profile
Re: Particles
« Reply #14 on: April 11, 2007 »
actually could someone mabey hav a little look through my code and see if theres anything glaringly obvious that might make some gfx cards grumble.

i just tested this on my dads pc and its way faster than on my laptop but my laptop seems heaps faster at playing games and rendering stuff in dx?.

on the laptop when you bring the particles anywhere near 0 on the z position it grinds almost to a halt but again on the test pc it runs just as happy.

test pc 128m geforce 4 ti4600
laptop 129m intel 900 gma integrated graphics.
Challenge Trophies Won:

Offline Jim

  • Founder Member
  • DBF Aficionado
  • ********
  • Posts: 5301
  • Karma: 402
    • View Profile
Re: Particles
« Reply #15 on: April 11, 2007 »
If I can find the time, I'll see if I can work out what's going on.

Jim
Challenge Trophies Won:

Offline ninogenio

  • Pentium
  • *****
  • Posts: 1668
  • Karma: 133
    • View Profile
Re: Particles
« Reply #16 on: April 11, 2007 »
cheers jim :)
Challenge Trophies Won: