Jump to content


eafg2

Member Since 19 Sep 2007
Offline Last Active Today, 03:53 PM

Posts I've Made

In Topic: OGRE Tech - Examples using the GM OGRE engine

02 December 2012 - 12:25 PM


I took the liberty to update this to work with GM 8.1 for they who don't have GM 8.0.
Still the same content.
http://www.mediafire.com/file/6gf7f7u6m3nbied/OGRE_Tech_8.1.zip

haha, you opened the file and saved it as gm8.1. major update. thanks for contributing xD


What I did:
I used the "new" unofficial 8.1 ogre dll (since the official didn't work with gm 8.1)
and replaced some code so it would work (houdinis code for Ogre to gm 8.1).
But I never claimed that it was anything major, just this example is underated.

In Topic: Draw On Specific Depth 2

14 October 2012 - 07:10 PM

OK, I fixed it somewhat,
http://host-a.net/u/...htest-fixed.gmk
http://www.mediafire...b89cqrsy8mckov5
What did I do?
I change so the Light circle is drawn at the torch instead of the flame, I modefied the alpha so it would change in how many flame instance it created instead of a random number.
I change so the fire is created a bit random (The light-circle also change)
Also I change the depth of the fire instance

In Topic: Draw On Specific Depth 2

13 October 2012 - 06:19 PM

Add a GMK with the fire and I shall take a look.

In Topic: Draw On Specific Depth 2

13 October 2012 - 03:47 PM

So, do you use 1 or more objects to draw the fire?

if you draw everything using one object:
Game maker reads the code up to down so what draw code comes first is always behind next draw code
the draw event should look like.

draw_sprite(fire ,image,x,y)
draw_sprite(base ,image,x,y)
draw_sprite(light ,image,x,y)

In Topic: OGRE Tech - Examples using the GM OGRE engine

23 September 2012 - 09:40 PM

I took the liberty to update this to work with GM 8.1 for they who don't have GM 8.0.
Still the same content.
http://www.mediafire...RE_Tech_8.1.zip