Action areas or LUA Scripts?

  • #1, z UmonTuesday, 16. July 2013, 21:33 hodinky 12 years ago
    I tried with a few half ready models a scene.
    The character should walk at the fence and the wasp react and attack you if you reach the fence.
    I used again an action area and this works, the animation start and after this the character runs away, and leave the screen.

    Does anybody knows if there will be problems in a lot of scenes (around 70) if you do almost all with action areas, or if it is better to use often LUA Scripts for such kind of actions?
    I want to use Visonaire for the project starting next week, it would be nice to know wich way is better ... action areas or LUA so you dont have to change in the middle cause you notice you run into problems if the game is getting bigger.


    Ich habe mal mit ein paar halbfertigen Models eine Szene getestet.
    Das Modell soll an den Zaun laufen und die Wespen reagieren darauf und greifen an sobald man am Zaun ist.
    Ich habe wieder die Action Areas dafür benutzt und das funktioniert auch gut. Die Animation startet, das Modell rennt davon und verläßt die Szene.

    Hat jemand Erfahrungswerte ob Probleme auftauchen wenn man etwa 70 Szenen erstellen will und für die meisten Aktionen diese Areas benutzt? Oder ist es eventuell besser das meiste davon mit LUA zu realisieren?
    Es soll nächste Woche endlich mal loslegen und Visionaire als Engine genutzt werden. Es wäre natürlich gut zu anfang zu wissen welcher Weg besser ist ... Areas oder LUA, so das man nicht mitten drin bemerkt das man in Probleme gerät sobald das Spiel größer wird.

    Thanks in advance. / Danke im voraus.

    Umon

    Bažant

    80 Posts


  • #2, z afrlmeTuesday, 16. July 2013, 21:59 hodinky 12 years ago
    scene data is per each individual scene, so I don't understand why it would be any better to use Lua over action areas - if you can do whatever you need to do in a scene with action areas, then use them, if not use Lua.

    Imperátor

    7285 Posts

  • #3, z UmonTuesday, 16. July 2013, 22:20 hodinky 12 years ago
    Thank you AFRLme,
    you are right the areas work almost every time perfect and with less work.
    I only want to build all with less resources need as possible thats why i asked wich will be better.

    This also wasnt the best example for the question.
    Sorry sometimes i ask a little odd questions red

    But if you dont ask you dont know ...

    Bažant

    80 Posts

  • #4, z afrlmeTuesday, 16. July 2013, 22:33 hodinky 12 years ago
    no worries smile
    action areas are part of the engine, so I guess they would be better to use plus as you said: they are quicker to work with as you can draw in the action area but having said that, you can still combine both action parts & Lua together, if required.

    Imperátor

    7285 Posts

  • #5, z NigecTuesday, 16. July 2013, 23:10 hodinky 12 years ago
    Its scary the amount of actions and conditions you can have in a room, I've never found a limit, the most I've done was the Zeppelin demo which uses a Myst style 90 degree turn in any direction, so it has to do checks for which image is shown, which direct you can go next, turn on/off hotspots and face the right way changing scenes, my first attempted used 4 scenes but it was a lot harder to control so I shoe horned everything into one scene and I could just duplicate it for the next

    Zabiják klíčů

    635 Posts

  • #6, z UmonWednesday, 17. July 2013, 12:53 hodinky 12 years ago
    No limit sounds great smile
    The very best things about using mostly action areas for me is, you save a lot of time and you dont have to search a lot for errors in a sourcecode. This can be a pain in the ass ...

    Myst style was one thing i also was thinking at the beginning, you dont have to put a character into the game hehe. This is maybe a good idea if you want to make a game with almost only a lot of riddles smile
    If i remember right at the image you post in another thread, this was looking more like space theme like Alien.

    Bažant

    80 Posts

  • #7, z NigecWednesday, 17. July 2013, 14:09 hodinky 12 years ago
    If your interested you can see it here, it was a right click inventory, only one digit works on the brief case, all you can do is unlock the door, there's nothing after that wink
    https://dl.dropboxusercontent.com/u/26539256/Zep_VS2.zip
    all the actions are part for the main scene which checks which direction the player is turning, there's very little on the left and right hotspots
    Its was for a game that never happened lol

    Zabiják klíčů

    635 Posts

  • #8, z UmonWednesday, 17. July 2013, 19:33 hodinky 12 years ago
    Seems like there is nothing to download "404"

    Bažant

    80 Posts

  • #9, z afrlmeWednesday, 17. July 2013, 19:47 hodinky 12 years ago

    Imperátor

    7285 Posts

  • #10, z NigecWednesday, 17. July 2013, 21:50 hodinky 12 years ago
    WTF?! .. just checked the folder and its gone... spooky.. I may of done something stupid (very likely!)
    <downloads AFRLme's copy>

    Zabiják klíčů

    635 Posts

  • #11, z UmonWednesday, 17. July 2013, 22:00 hodinky 12 years ago
    Yes this link works thank you smile

    Why you stop this? Looks really interesting to me, just early 90´s old style adventure and dark atmosphere.
    Myst was one of the most selling adventures of his time as far i remember. I only played the first part and it was state of the art there.
    I like the zeppelin, i dont know but its reminds me on something but cant say why.

    Maybe modern HD resolution today and make the edges smother ... if the story is good i think also today such games could be really great. smile

    Bažant

    80 Posts