The Daily Click ::. Forums ::. Klik Coding Help ::. Do we have HWA yet?
 

Post Reply  Post Oekaki 
 

Posted By Message

-Liam-

Cake Addict

Registered
  06/12/2008
Points
  556

Wii OwnerIt's-a me, Mario!Hero of TimeStrawberry
19th February, 2008 at 11:01:30 -

I ask because to create a small waterfall effect I used a load of small active objects but argh! So much slow down!

http://www.verchiesoft.com/game.mfa

 
Image

Tell 'em Babs is 'ere...

DeadmanDines

Best Article Writer

Registered
  27/04/2006
Points
  4758
19th February, 2008 at 11:38:54 -

Thankfully, it's fairly easy to see where it's going wrong.

The reason for this is that you've got literally NO checks to see how many droplets are created. The 'Create' command has the potential to seriously hurt performance, so it needs to be well regimented. Rule it with a rod of iron.

One good trick is this condition:

+Shooter is getting closer than -45px from window edge.

This will make sure the drops don't even start pouring until the water sources are near to the visible screen area (within 45px outside of the edge).

In addition, you want a condition like:

+Number of Raindrops is less than 50

Adding these conditions will make sure that your game at least runs. Then we can look at it and see how to make the effect work properly/better.

I'll post back with some ideas after tinkering with it a bit.

 
191 / 9999 * 7 + 191 * 7

Dr. James MD

Addict

Registered
  08/12/2003
Points
  11941

First GOTW AwardSecond GOTW AwardThird GOTW AwardPicture Me This -Round 26- Winner!
19th February, 2008 at 12:12:48 -

That does run quite smooth with DirectX9 HWA.

 
Image
http://uk.youtube.com/watch?v=j--8iXVv2_U
On the sixth day God created Manchester
"You gotta get that sand out your vaj!" x13
www.bossbaddie.com

Klikmaster

Master of all things Klik

Registered
  08/07/2002
Points
  2599

Has Donated, Thank You!You've Been Circy'd!VIP MemberPS3 Owner
19th February, 2008 at 14:35:09 -

It's wierd how stuff like

C:\Documents and Settings\Slink\Desktop\game.mfa

is stored in an mfa file

BTW I don't think those waterfalls deserve particles, they could basically be animated vertical lines

Image Edited by the Author.

 
n/a

-Liam-

Cake Addict

Registered
  06/12/2008
Points
  556

Wii OwnerIt's-a me, Mario!Hero of TimeStrawberry
19th February, 2008 at 16:36:19 -

YES VERY STRANGE

Adam very kindly did a waterfall animation for me but I was just wanting to see the limites of HWA.

 
Image

Tell 'em Babs is 'ere...

DaVince

This fool just HAD to have a custom rating

Registered
  04/09/2004
Points
  7998

Game of the Week WinnerClickzine StaffHas Donated, Thank You!Cardboard BoxDos Rules!
20th February, 2008 at 04:52:16 -


Originally Posted by KlikMasta Claus
It's wierd how stuff like

C:\Documents and Settings\Slink\Desktop\game.mfa

is stored in an mfa file


Similar to the question "Why is a BMP's file size stored inside the BMP?".

 
Old member (~2004-2007).

NeoMonkey

Finnish Army Fire Commander

Registered
  01/12/2006
Points
  243

VIP Member360 OwnerI am an April FoolPS3 Owner
21st February, 2008 at 15:30:48 -

Would HWA run proberly with 2000 objects?!?!?

 
I have proven new mathematic formula to be true...

2D > 3D

Image


Muz



Registered
  14/02/2002
Points
  6499

VIP MemberI'm on a BoatI am an April FoolHonored Admin Alumnus
21st February, 2008 at 20:33:43 -

Um, what exactly does HWA do again?

 
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.

Image

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
21st February, 2008 at 20:36:03 -

Hardware acceleration. LONG POST!

 
.

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
21st February, 2008 at 20:37:55 -

that it is.
not what it do

 
n/a

Muz



Registered
  14/02/2002
Points
  6499

VIP MemberI'm on a BoatI am an April FoolHonored Admin Alumnus
21st February, 2008 at 21:14:38 -

Yeah, what does it DO?

Lol, everyone's ranting about how cool it is, but I have no idea what it really does, where to turn it on, or whether it exists in MMF at all! If it was that great, why isn't it just built in and automatically activated?!

 
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.

Image

-Liam-

Cake Addict

Registered
  06/12/2008
Points
  556

Wii OwnerIt's-a me, Mario!Hero of TimeStrawberry
21st February, 2008 at 21:44:53 -

HWA basically makes games run faster. So you can have more going on at any one time. If you try running my game at the top of this page, it will probably slow down so much it's completly unplayable. Now, if you open the game up in the HWA beta of MMF2 and change the Display Mode to "Direct3D9" then it should help a lot. When I play it with that option enabled, there is no slow down what-so-ever. However, some other clickers still can't run it properly with Direct3D9.

 
Image

Tell 'em Babs is 'ere...

Ricky

loves Left For Dead 2

Registered
  28/12/2006
Points
  4175

Has Donated, Thank You!Game of the Week WinnerVIP MemberWii OwnerHero of TimeGOTM Winner! - November 2009I am an April Fool
21st February, 2008 at 22:09:41 -

Currently, your PC has a Sports Car in it, but MMF2 decides it would rather use the horse and buggy to display your graphics. HWA gives you the keys to the Sports Car.

 
-

-Liam-

Cake Addict

Registered
  06/12/2008
Points
  556

Wii OwnerIt's-a me, Mario!Hero of TimeStrawberry
22nd February, 2008 at 13:20:25 -

Well said! (word)

 
Image

Tell 'em Babs is 'ere...

AndyUK

Mascot Maniac

Registered
  01/08/2002
Points
  14586

Game of the Week WinnerSecond GOTW AwardHas Donated, Thank You!VIP Member
24th February, 2008 at 20:13:33 -

it does acclerating by using hardwares lol

look at phizzy's examples, he made a particle pack that can help you.

http://www.create-games.com/download.asp?id=6472

there^

 
.
   

Post Reply



 



Advertisement

Worth A Click