Posted By
|
Message
|
vetmora120
Registered 07/01/2010
Points 273
|
23rd August, 2010 at 13:30:31 -
Hello everyone, I'm wondering whats the easiest/simplest way of achieving a similar resault to 'Anders Riggelsens Light and shadow engine 4', without having to use the ForEach.mfx or Multimedia Fusions HWA.
Thanks
n/a
|
Sketchy Cornwall UK
Registered 06/11/2004
Points 1971
|
23rd August, 2010 at 13:46:25 -
There is no method that is even remotely easy/simple.
Maybe you could try one of the older versions of that engine - they used normal fastloops instead of the ForEach extension, and didn't require HWA.
n/a
|
vetmora120
Registered 07/01/2010
Points 273
|
23rd August, 2010 at 13:50:47 -
I thought this was the case. Do you know where I would be able to find an older version??
n/a
|
vetmora120
Registered 07/01/2010
Points 273
|
23rd August, 2010 at 13:55:16 -
Don't worry I've found them.
n/a
|
vetmora120
Registered 07/01/2010
Points 273
|
23rd August, 2010 at 14:47:59 -
I have another question. In his particular example, he uses 32 directions to rotate the light. Is it possible to make it rotate with 360 degree directions? I've tried this and it works on the actual light object, just doesn't seem to apply it to the Overlay object... Any help would be appreciated.
Also is there any way to get the Overlay to follow the player for larger levels? Without this lagging? I don't know if this is possible.
The following link is the exact version I'm referring to.
http://andersriggelsen.dk/files/examples/ShadowEngine2.mfa
Thanks, Vetmora
n/a
|
Johnny Look One Happy Dude
Registered 14/05/2006
Points 2942
|
27th August, 2010 at 13:33:54 -
Just a question, why don't you use the For Each object and the MMF2 HWA ?
As far as I know they are both free to download.
n/a
|
Silveraura God's God
Registered 08/08/2002
Points 6747
|
27th August, 2010 at 19:12:55 -
HWA is next to impossible to figure out a negitive reason to use it, aside perhaps for the fact that it cannot be installed on warezed copies of MMF2.
Uh oh.
http://www.facebook.com/truediamondgame
|
OMC What a goofball
Registered 21/05/2007
Points 3516
|
27th August, 2010 at 19:59:19 -
HWA applications don't like my semi-old computers, and some projects don't port well into HWA.
Two reasons, at least.
|
UrbanMonk BRING BACK MITCH
Registered 07/07/2008
Points 49667
|
27th August, 2010 at 22:36:00 -
Even if you don't use HWA you should definitely use the for-each object. It's significantly faster than loops when objects are involved.
n/a
|
Jon C-B I create vaporware
Registered 23/04/2008
Points 237
|
27th August, 2010 at 22:50:27 -
What is the for each object?
n/a
|
UrbanMonk BRING BACK MITCH
Registered 07/07/2008
Points 49667
|
27th August, 2010 at 23:09:53 -
http://www.clickteam.com/epicenter/ubbthreads.php?ubb=showflat&Number=186462#Post186462
Always check:
http://clickteam.com/epicenter
for new extensions and stuff.
n/a
|
vetmora120
Registered 07/01/2010
Points 273
|
28th August, 2010 at 01:12:17 -
Comments, comments, comments! What Silverfire said, doesn't work on warezed copies... I'm poor and don't have an official version D: I'm sorry I'll buy it as soon as I can!
n/a
|
Pixelthief Dedicated klik scientist
Registered 02/01/2002
Points 3419
|
28th August, 2010 at 03:29:47 -
Ross P can shoot me if he wants, but seriously theres *no* harm in letting someone use the extensions. Though do please get an official copy from clickteam soon! But yeah, here, put these in your MMF2 folder:
https://sites.google.com/site/claniraq/stuff/ForEach.zip?attredirects=0&d=1
The foreach object is powerful in that it can let you do some manipulations of the object scope list in O that otherwise would take O(N^2) time over a list of N objects of the same class. But at the same times, its unfortunately a bit counterintuitive and buggy in how it executes its looping (it won't preserve the stack frame, and finishes executing the line of events before it starts the loop instead of breaking the line, going through the loop, and returning, like virtually all other loop/function/etc in MMF2)
Hope this helps explain some coding mysteries!
Gridquest V2.00 is out!!
http://www.create-games.com/download.asp?id=7456
|
vetmora120
Registered 07/01/2010
Points 273
|
28th August, 2010 at 03:58:49 -
Thanks heaps fellow TDC member! I can now finally do stuff, lol.
n/a
|
vetmora120
Registered 07/01/2010
Points 273
|
28th August, 2010 at 05:26:41 -
Why does it look like this?
http://ajrg.penscribbles.com/games/lightandshadow.jpg
And how can I get it to look like what I had before?
http://ajrg.penscribbles.com/games/Test2.exe
I should probably stop posting and annoying people, hey...
n/a
|
|
|