Search found 4098 matches
- Sat Nov 15, 2014 11:23 am
- Forum: Game Discussion
- Topic: Heart of the OHR Contest 2014
- Replies: 284
- Views: 64189
- Sat Nov 15, 2014 4:18 am
- Forum: Game Discussion
- Topic: Do while loops break the instant it's condition is not true?
- Replies: 10
- Views: 1797
- Sat Nov 15, 2014 2:41 am
- Forum: Game Discussion
- Topic: Do while loops break the instant it's condition is not true?
- Replies: 10
- Views: 1797
No, loop conditions are only checked at the end/beginning of the loop. To break out at any other time you need to use break, continue, or exit script. Note that if you want to break out of nexted loops you can pass an argument to continue and break giving the number of loops to break out of. Eg: whi...
- Sat Nov 15, 2014 12:45 am
- Forum: Game Discussion
- Topic: Froginator's scripting questions
- Replies: 38
- Views: 8214
Yes, if you want a walkabout larger than 32x40 (the size of hero battle graphics) which animates normally, then unfortunately you will need to script the animation manually. I couldn't find a script on the wiki to do that, but it's actually not bad, if you're ok with a 1-tick delay/lag. The lag is p...
- Fri Nov 14, 2014 12:51 pm
- Forum: Game Discussion
- Topic: Special font characters not working?
- Replies: 8
- Views: 1309
For completeness, I'll mention that there is also a command line option, --no-native-kbd, which forces the engine to ignore all OS text input and do its own mapping, assuming a US keyboard layout. Using that will make the custom alt- combinations work. You can pass commandline options on Mac by runn...
- Fri Nov 14, 2014 12:44 pm
- Forum: Game Discussion
- Topic: Concerning Games and Things
- Replies: 9
- Views: 2067
Hey, creating entries on Indie DB for the most interesting OHR games is actually a really good idea. Rinku created a bunch of pages for some OHR games and the engine itself many years ago, but he made some strange choices and those are hardly representative of the best games we have today. I'm not f...
- Thu Nov 13, 2014 8:52 am
- Forum: Game Discussion
- Topic: Heart of the OHR Contest 2014
- Replies: 284
- Views: 64189
Cool, actual details about games. And what about eligible games which haven't been explicitly entered in the contest? t4r4d1ddl3 is such a game. Definitely meets the length requirement. Very nice . Master K: do you mean that the player chooses the god for the main character at the beginning? Also an...
- Wed Nov 12, 2014 11:55 pm
- Forum: Game Discussion
- Topic: Conditionals for map layers above walkabout?
- Replies: 4
- Views: 1000
I don't think that triggering a script via npcs is going to work for this. You want to change the layering based on the direction the hero is facing, not what tile they just stepped on. It's possible to change the order of map layers, and it sounds like that would be the best solution. There's no co...
- Wed Nov 12, 2014 9:30 am
- Forum: Game Discussion
- Topic: Special font characters not working?
- Replies: 8
- Views: 1309
- Wed Nov 12, 2014 5:46 am
- Forum: Game Discussion
- Topic: Special font characters not working?
- Replies: 8
- Views: 1309
Oh! That explains it. On Macs, alt+* key combinations actually input various extended characters. The OHR receives these correctly, but they can't be mapped to our simple font, so it substitutes in '?' instead. Additionally, whenever the engine receives textual input from the OS it doesn't try to do...
- Wed Nov 12, 2014 5:35 am
- Forum: Game Discussion
- Topic: Heart of the OHR Contest 2014
- Replies: 284
- Views: 64189
Oh dear. (Troll Over is also last place by default) I don't know if I can get my game ready by Nov. 30th Don't forget that you effectively have until the 14th (or 15th?) It might be a good idea to loosen the rules and allow initial entries between the 1st and 15th of December rather than just bugfix...
- Wed Nov 12, 2014 5:19 am
- Forum: Game Discussion
- Topic: Special font characters not working?
- Replies: 8
- Views: 1309
So you mean all the alt+* and shift+alt+* key combinations don't work? Does the alt key work normally in inputtest.rpg, whether by itself or in combination with other keys?
- Tue Nov 11, 2014 7:53 pm
- Forum: General Discussion
- Topic: Game translations
- Replies: 25
- Views: 8031
I'm not too concerned if the translation/import/export features I described aren't used immediately, as being able to export and import is useful by itself, and it turns out there's a lot of overlap with some other neat features I wanted to add. But yes, more people need to voice an interest in havi...
- Tue Nov 11, 2014 7:43 pm
- Forum: Game Discussion
- Topic: please proofread my text
- Replies: 29
- Views: 5252
- Tue Nov 11, 2014 8:41 am
- Forum: Game Discussion
- Topic: Taco Bot's Confused Scripting Questions Thread
- Replies: 18
- Views: 4206
0.75 is 75/100, so the trick is to replace X * 0.75 with X * 75 / 100. Due to the operator precedence rules this is the same as (X * 75) / 100, which you might like to write explicitly. By deferring the division until last you can minimise rounding error. Now say that you have a more complicated for...