Action areas or LUA Scripts?

  • #1, by UmonTuesday, 16. July 2013, 21:33 7 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

    Newbie

    80 Posts


  • #2, by afrlmeTuesday, 16. July 2013, 21:59 7 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.

    Imperator

    6842 Posts

  • #3, by UmonTuesday, 16. July 2013, 22:20 7 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 ...

    Newbie

    80 Posts

  • #4, by afrlmeTuesday, 16. July 2013, 22:33 7 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.

    Imperator

    6842 Posts

  • #5, by NigecTuesday, 16. July 2013, 23:10 7 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

    Key Killer

    564 Posts

  • #6, by UmonWednesday, 17. July 2013, 12:53 7 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.

    Newbie

    80 Posts

  • #7, by NigecWednesday, 17. July 2013, 14:09 7 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

    Key Killer

    564 Posts

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

    Newbie

    80 Posts

  • #9, by afrlmeWednesday, 17. July 2013, 19:47 7 years ago

    Imperator

    6842 Posts

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

    Key Killer

    564 Posts

  • #11, by UmonWednesday, 17. July 2013, 22:00 7 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

    Newbie

    80 Posts

Write post