Thread: LUA keypad puzzle help
Status: Alpha
Brought to you by:
cwalther
From: NigeC <nig...@gm...> - 2008-05-24 09:27:59
|
I'm on with two games, the first is a simple escape the room game that needs the game player to use a telephone, the second game is a full game that has an alarm keypad very early on, but i haven't a clue where to start! before i started using Pipmak i started the large project with Lassie/Flash and did a simple alarm pad using time line: http://www.nigecstudios.co.uk/games/hawk/library/rooms/room4/keypad.swf the code is 36215 I altered the Lassie engine to mimic a Nancy Drew type game but its hardly a panoramic, but While i rendered images for the flash idea i also did the 6 cubic images i have around 10 nodes :) If anyones interested, the current flash version has rain and splash effects but each node is over 6meg which means it runs badly online I'm grasped the basics of Pipmak, but LUA and coding puzzles I am struggling with, hence why i went for a single room first which i could jam in some simple interactions.. the telephone i need to be able to dial one phone number.. but obviously hitting the wrong key will be a miss dial.. and also a few lines of dialog.. a conversation with options would be nice I know its a big ask, but something like this on the wiki would be a great code example/demo and the foundation could be used for other puzzles.. us newbies work better by example :) ----- http://nigecstudios.co.uk NigeC Studios -- View this message in context: http://www.nabble.com/LUA-keypad-puzzle-help-tp17446090p17446090.html Sent from the pipmak-users mailing list archive at Nabble.com. |
From: Christian W. <cwa...@gm...> - 2008-05-24 20:11:40
|
NigeC wrote: > http://www.nigecstudios.co.uk/games/hawk/library/rooms/room4/keypad.swf > > ... > > I know its a big ask, but something like this on the wiki would be a great > code example/demo and the foundation could be used for other puzzles.. If you can provide the graphics (and sound) used in that demo (I don't know if I could somehow get them out of the SWF file), I should be able to recreate it in Pipmak for you in a few minutes. I'll leave writing the tutorial about it on the wiki to you or someone else. :) > us newbies work better by example :) Which is one of the reasons for the existence of the demo project. I'm curious, does it do that job for you, or is it already too complex (or even too simple)? -Christian |
From: Aidan G. <wgs...@ih...> - 2008-05-27 08:55:23
|
I would like to say that I find the Pipmak demo to be a good demonstration of Pipmak's various features, but I wasn't really able to model much of my code after the code in the demo project, because some of the more complex code was lacking comments a bit, and, for example, in the code for the lever that controls the bridge, there were a few magic numbers that made it too confusing. Christian Walther wrote: > NigeC wrote: >> http://www.nigecstudios.co.uk/games/hawk/library/rooms/room4/keypad.swf >> >> ... >> >> I know its a big ask, but something like this on the wiki would be a great >> code example/demo and the foundation could be used for other puzzles.. > > If you can provide the graphics (and sound) used in that demo (I don't > know if I could somehow get them out of the SWF file), I should be able > to recreate it in Pipmak for you in a few minutes. I'll leave writing > the tutorial about it on the wiki to you or someone else. :) > >> us newbies work better by example :) > > Which is one of the reasons for the existence of the demo project. I'm > curious, does it do that job for you, or is it already too complex (or > even too simple)? > > -Christian > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > Pipmak-Users mailing list > Pip...@li... > news://news.gmane.org/gmane.games.devel.pipmak.user > https://lists.sourceforge.net/lists/listinfo/pipmak-users > |
From: Christian W. <cwa...@gm...> - 2008-05-28 17:39:58
|
Aidan Gauland wrote: > I would like to say that I find the Pipmak demo to be a good demonstration of > Pipmak's various features, but I wasn't really able to model much of my code > after the code in the demo project, because some of the more complex code was > lacking comments a bit, and, for example, in the code for the lever that > controls the bridge, there were a few magic numbers that made it too confusing. OK, I can see that this script could use some comments. And others too, probably. I'll see about improving that. Thanks for the feedback! By "magic numbers", I assume you mean how I modeled the path of the lever handle using y as a quadratic function of x, and the bridgepos parameter corresponding to the handle position as another quadratic function of x. The coefficients there were obtained by fitting a quadratic polynomial to the (approximately measured) "best" handle position for each intermediate step. There are a lot of other magic numbers in the script that just depend on where things are located on the panorama. -Christian |
From: Christian W. <cwa...@gm...> - 2008-05-28 17:36:41
|
NigeC wrote: > Would it be possible to have a pipmak-projects section? I don't understand what you mean. Are you talking about the wiki? -Christian |
From: Christian W. <cwa...@gm...> - 2008-05-28 17:52:03
|
NigeC wrote: > Christian Walther wrote: >> I don't understand what you mean. Are you talking about the wiki? >> > Or just on the forum? It would be nice to see what people are up to > (assuming they want to share), and i'm sure it would be a boost for you to > see whats being done with Pipmak :) Of course. I assumed such things would happen here on the users list. Does that feel inappropriate to you? Others? I was actually surprised when I found that you had published a small demo, and never lost a word about it here. :) -Christian |
From: Christian W. <cwa...@gm...> - 2008-05-28 19:12:41
|
NigeC wrote: > I thought you had seen my first try? i'm sure you did because i was using > the debug for on screen text lol, i added an outside scene with a motorbike > and car later, but it never went past that If you mean the one here <http://www.nigecstudios.co.uk/aeforum/index.php?tid=6&threaded=true>, then no, I've only found that a few days ago. Haven't gotten around to exploring it in depth yet. -Christian |
From: NigeC <nig...@gm...> - 2008-05-28 19:45:31
|
Christian Walther wrote: > > If you mean the one here > <http://www.nigecstudios.co.uk/aeforum/index.php?tid=6&threaded=true>, > then no, I've only found that a few days ago. Haven't gotten around to > exploring it in depth yet. > > > > Yeah that was my very first attempt :) Theres also the game with the alarm keypad, but i'm going to do escape the motel room first just to learn some puzzle basics ----- http://nigecstudios.co.uk NigeC Studios -- View this message in context: http://www.nabble.com/LUA-keypad-puzzle-help-tp17446090p17520585.html Sent from the pipmak-users mailing list archive at Nabble.com. |
From: NigeC <nig...@gm...> - 2008-05-24 20:53:56
|
The demo is fantastic, its about the best engine demo i've ever come across, well done :) I can confidently put nodes together and an inventory action, i get the cubic images right every time to use in the engine I'm not 100% sure on the dialog system yet but saying that i'm focusing on the 3D model at the moment for the room Heres the 2 images and the sound i built the keypad with.. In flash it was a timeline animation using hidden buttons, the green or red was done with tinting on the button I asked about doing this because its a basic foundation for a lot of puzzles, simple right or wrong :) thanks :) http://www.nabble.com/file/p17451789/alarm.zip alarm.zip ----- http://nigecstudios.co.uk NigeC Studios -- View this message in context: http://www.nabble.com/LUA-keypad-puzzle-help-tp17446090p17451789.html Sent from the pipmak-users mailing list archive at Nabble.com. |
From: Christian W. <cwa...@gm...> - 2008-05-25 10:06:24
Attachments:
Keypad.pipmak
|
NigeC wrote: > Heres the 2 images and the sound i built the keypad with.. In flash it was a > timeline animation using hidden buttons, the green or red was done with > tinting on the button OK, here you go! The project is zipped for easier distribution, to examine the contents you can open it in any ZIP archiver (rename it to end in ".zip" if it isn't recognized). "Few minutes" was a bit of a brag, of course, it took me an hour... ;) Hope that gets you started. If you have any questions, don't hesitate to ask. Once you think you've mastered it, please do put it on the wiki. -Christian Oh, by the way: http://www.lua.org/about.html#name |
From: NigeC <nig...@gm...> - 2008-05-25 11:17:36
|
Christian Walther wrote: > > > > OK, here you go! The project is zipped for easier distribution, to > examine the contents you can open it in any ZIP archiver (rename it to > end in ".zip" if it isn't recognized). > > "Few minutes" was a bit of a brag, of course, it took me an hour... ;) > > Hope that gets you started. If you have any questions, don't hesitate to > ask. Once you think you've mastered it, please do put it on the wiki. > > > That's awesome thanks Christian :) And I can see how it works I'll get the whole thing put into context this next week and try and modify to suit as a telephone.. hopefully we'll have our first users game soon :) ----- http://nigecstudios.co.uk NigeC Studios -- View this message in context: http://www.nabble.com/LUA-keypad-puzzle-help-tp17446090p17456874.html Sent from the pipmak-users mailing list archive at Nabble.com. |
From: NigeC <nig...@gm...> - 2008-05-27 09:21:12
|
Aidan Gauland wrote: > > I would like to say that I find the Pipmak demo to be a good demonstration > of > Pipmak's various features, but I wasn't really able to model much of my > code > after the code in the demo project, because some of the more complex code > was > lacking comments a bit, and, for example, in the code for the lever that > controls the bridge, there were a few magic numbers that made it too > confusing. > > I agree a lot more comments would help... when i tried SCream altho theres no real docs the main script pretty much told you how it worked with heavy commenting Would it be possible to have a pipmak-projects section? ----- http://nigecstudios.co.uk NigeC Studios -- View this message in context: http://www.nabble.com/LUA-keypad-puzzle-help-tp17446090p17486382.html Sent from the pipmak-users mailing list archive at Nabble.com. |
From: NigeC <nig...@gm...> - 2008-05-28 17:43:53
|
Christian Walther wrote: > > I don't understand what you mean. Are you talking about the wiki? > > -Christian > > > Or just on the forum? It would be nice to see what people are up to (assuming they want to share), and i'm sure it would be a boost for you to see whats being done with Pipmak :) Anyway back to the rendering lol ----- http://nigecstudios.co.uk NigeC Studios -- View this message in context: http://www.nabble.com/LUA-keypad-puzzle-help-tp17446090p17518220.html Sent from the pipmak-users mailing list archive at Nabble.com. |
From: NigeC <nig...@gm...> - 2008-05-28 18:59:17
|
Christian Walther wrote: > > > > Of course. I assumed such things would happen here on the users list. > Does that feel inappropriate to you? Others? > > I was actually surprised when I found that you had published a small > demo, and never lost a word about it here. :) > > > I thought you had seen my first try? i'm sure you did because i was using the debug for on screen text lol, i added an outside scene with a motorbike and car later, but it never went past that I'm one of those people who like input and criticism, it helps make a better project, specially something that is a 360 degree world :) ----- http://nigecstudios.co.uk NigeC Studios -- View this message in context: http://www.nabble.com/LUA-keypad-puzzle-help-tp17446090p17519638.html Sent from the pipmak-users mailing list archive at Nabble.com. |