Drehscheiben Rätsel

  • #10, by NigecTuesday, 10. July 2018, 15:34 2 years ago
    I'm no lua expert but that seems a lot easier than dealing with a load of images.. I did a combination lock with just conditions and I was losing the will to live after the first set of numbers (0 to 9) lol

    Key Killer

    564 Posts


  • #11, by MachtnixTuesday, 10. July 2018, 16:27 2 years ago
    I think a combination is the best. I prefer without Lua but sometimes you need some Lua code lines, f.e. to rotate s.th.. The other way is you need patience, patience, patience, overview, concentration not to forget a simple condition button and a lot of stupid loop repeats written in the Vis editor. smile I know - I did this 25 times on my pipe-game...

    Thread Captain

    1087 Posts

  • #12, by afrlmeTuesday, 10. July 2018, 18:02 2 years ago
    I hate the repetive motion of pointing & clicking when it comes to development, which is why I often resort to Lua script as it's much faster than clicking here & there & everywhere &/or having to create tons of if queries, conditions & values.

    I recently started dabbling about with GameMaker Studio 2 & I really appreciate the fact that when you create a new project you get to choose whether you want to create a DnD (drag & drop) based project or a GMSL (scripting language) based project. If you select DnD then you get something similar to VS with premade action part type things, but you can also create code blocks or if you create a scripting only based project then you get a much more stream-lined editor. I like writing code in GameMaker Studio because the auto-complete system makes everything easy as it provides a list of functions/variables based on the word you are currently typing & each has a basic description at the side of it & you can click middle mouse button to open up the help thing with an in depth explanation of what a variable/function is for & an example of how to use it.

    Imperator

    6842 Posts

  • #13, by NigecTuesday, 10. July 2018, 19:28 2 years ago
    I think a combination is the best. I prefer without Lua but sometimes you need some Lua code lines, f.e. to rotate s.th.. The other way is you need patience, patience, patience, overview, concentration not to forget a simple condition button and a lot of stupid loop repeats written in the Vis editor. smile I know - I did this 25 times on my pipe-game...
    My Zeppelin example uses conditions to swap the background images, there is also a dial on a briefcase, the background version checks which image's condition is used it also switches things on and off
    BUT Lee wasn't here when I did it so I'd imagine there is a lot better way to do the same thing

    Key Killer

    564 Posts

  • #14, by NigecTuesday, 10. July 2018, 22:04 2 years ago
    its been a really long time since I did anything but here is a quick dial like example done with conditions only

    the two blue segment line up and play a sound, it rotates in both directions, left and right click.
    Obviously if it was in a game you would hide the clickable areas once the puzzle was done

    Key Killer

    564 Posts

Write post