Fangames > Engines

I wanna be the Engine Seph Edition

<< < (7/9) > >>

kikones34:
WOW! I was about to post an engine I made, but I looked at this thread first and realized yours is very similar conceptually-wise.
I looked at it and it's really different in the inside, but still, I'm surprised to have found this xD
Well... I better write up my post now instead of starting to write it here :yao:

KingEclipsed:
Hey, I got some errors.
if(isinst)
{
    if(inc<0)
    {
        instvol = max(dest,instvol+inc);
    }
    else
    {
        instvol = min(dest,instvol+inc);
    }
    if(code <>"")
    {
        execute_string(code);
    }

    FMODInstanceSetVolume(group,instvol);
    if(instvol = dest)
    {
        instance_destroy();
    }
    exit;
}
    //show_message("G:"+string(group)+"F:"+string(instvol)+"T:"+string(dest)+"I:"+string(inc)+"GOT:"+string(FMODGroupGetVolume(group)));

    if(inc<0)
    {
        instvol = max(dest,instvol+inc);
    }
    else
    {
        instvol = min(dest,instvol+inc);
    }
    FMODGroupSetVolume(group,instvol);
    if(instvol = dest)
    {
        instance_destroy();
    }


and

if(isinst)
{
    if(inc<0)
    {
        instvol = max(dest,instvol+inc);
    }
    else
    {
        instvol = min(dest,instvol+inc);
    }
    if(code <>"")
    {
        execute_string(code);
    }

    FMODInstanceSetVolume(group,instvol);
    if(instvol = dest)
    {
        instance_destroy();
    }
    exit;
}
    //show_message("G:"+string(group)+"F:"+string(instvol)+"T:"+string(dest)+"I:"+string(inc)+"GOT:"+string(FMODGroupGetVolume(group)));

    if(inc<0)
    {
        instvol = max(dest,instvol+inc);
    }
    else
    {
        instvol = min(dest,instvol+inc);
    }
    FMODGroupSetVolume(group,instvol);
    if(instvol = dest)
    {
        instance_destroy();
    }
and if(!isinst)
{
    if(inc<0)
    {
        curpan = max(dest,curpan+inc);
    }
    else
    {
        curpan = min(dest,curpan +inc);
    }
    curpan-=1;
    if(code <>"")
    {
        execute_string(code);
    }
    curpan+=1;
    //show_message("G:"+string(group)+"F:"+string(curpan)+"T:"+string(dest)+"I:"+string(inc)+"GOT:");

    FMODGroupSetPan(group,curpan -1);
    if(curpan = dest)
    {
        instance_destroy();
    }
    exit;
}
    if(inc<0)
    {
        curpan = max(dest,curpan +inc);
    }
    else
    {
        curpan = min(dest,curpan +inc);
    }
    curpan-=1;
    if(code <>"")
    {
        execute_string(code);
    }
    curpan+=1;
    FMODInstanceSetPan(group,curpan -1);
    if(curpan = dest)
    {
        instance_destroy();
    }

Sephalos:
I'm not sure what you did but this seems to be a error reguarding the FMOD objects.

Redownload the engine and don't touch those objects.

DragonX611:
i'm currently making a fangame in this and i'm loving it! Great engine!

Kryshtal:
I don't understand how to make room transitions, I put the oRoomSwitch object and put the code:

--- Code: ---if room = rStage1a {
if x < 8 { room = reisen; player.x = 792; }
}

--- End code ---

and get


--- Code: ---FATAL ERROR in
action number 1
of Collision Event with object player
for object oRoomSwitch:

Unexisting room number: 725
--- End code ---

And Klazen's tutorial uses a different method with a different engine, so I'm lost.
This is the first time I do anything programming related, so I'm pretty noob.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version