Please login or register.

Login with username, password and session length
Advanced search  

News:

Latest WME version: WME 1.9.1 (January 1st, 2010) - download

Author Topic: Fog Effect  (Read 3161 times)

0 Members and 1 Guest are viewing this topic.

XpanD

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 16
    • View Profile
Fog Effect
« on: September 19, 2010, 01:43:56 PM »

I'm currently developing a game and I wanted to add some fog to my scenes.
I made 300 frames with Adobe Photoshop. Then I made the file for the engine. After that I placed the entity in the scene, started the game and ...
it was loading very very very slow. My computer isn't slow, in fact it's very fast and my video card is fast, too. I thought that 300 frames are too many and I started thinking of better ways to create the fog.
So I wonder if you could help me with the fog. If you have played the WintermuteEngine created "The Lost Crown" you know what fog I am talking about.
For those who haven't played it yet, here's a screenshot of the game's fog:



PS: Sorry for the fog, fog, fog words, I'm in a hurry and I don't have time to edit.
Thanks in advance! 8)
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Fog Effect
« Reply #1 on: September 20, 2010, 06:32:00 PM »

One way of implementing it would be using WME's particle emitters. The fog fluffs would be particles, and you'd set their direction and velocity appropriately.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave

XpanD

  • Lurker
  • *
  • Karma: 0
  • Offline Offline
  • Posts: 16
    • View Profile
Re: Fog Effect
« Reply #2 on: September 20, 2010, 06:37:45 PM »

Is that a ready script or should I make it myself?
Logged

Mnemonic

  • WME developer
  • Administrator
  • Addicted to WME forum
  • *
  • Karma: 41
  • Offline Offline
  • Gender: Male
  • Posts: 5683
    • View Profile
    • Dead:Code Site
Re: Fog Effect
« Reply #3 on: September 21, 2010, 06:09:56 PM »

Particle system is an engine feature. You use it to make your own particle effects. See the documentation and the wme_particles demo project.
Logged
Yes, I do have a twitter account
Please don't send me technical questions in private messages, use the forum. ::wave
 

Page created in 0.038 seconds with 24 queries.