Search found 4098 matches

by TMC
Fri Jan 12, 2018 1:38 pm
Forum: Game Discussion
Topic: Looking for puzzle scripts
Replies: 23
Views: 9391

If each NPC has a single position in which it must be placed, then a list of if statements is a perfectly reasonable way to accomplish that. I wouldn't call that convoluted. It could look like if (npc x(4) == 5 && npc y(4) == 7 && npc x&#40...
by TMC
Fri Jan 12, 2018 1:31 pm
Forum: Q&A Discussion
Topic: rotating a grid
Replies: 3
Views: 914

Oh, I didn't consider using sortchildren! Yes, that definitely seems to be the easiest possible way.
by TMC
Thu Jan 11, 2018 6:00 pm
Forum: Game Discussion
Topic: Looking for puzzle scripts
Replies: 23
Views: 9391

While there are plenty of puzzle games, I really can't think of many cases of people posting scripts for a puzzle for other people to use or build on, with the exception of some of the scripts on the ancient Moglery website. You could also look through puzzle games in the hope of finding something. ...
by TMC
Thu Jan 11, 2018 5:23 pm
Forum: Q&A Discussion
Topic: Wishlist thing
Replies: 5
Views: 1576

I actually implemented line slices a couple months ago, but decided to keep them hidden because I wasn't certain about the way they worked. It doesn't look like we're going to change anything, so I've reenabled them and added some (untested!) script commands for them. Get them in the next nightly! I...
by TMC
Thu Jan 11, 2018 5:00 am
Forum: Game Discussion
Topic: OHRRPGCE feature requests/suggestions
Replies: 698
Views: 103517

James has already done a lot of work on allowing customisation of the status menu, so hopefully it's not far off.
Virtuous Sword wrote:For the command "wait for key", how can you make it wait for a specified amount of time (e.g. to receive a keypress)?
This is the script you want: skippable wait
by TMC
Thu Jan 11, 2018 4:55 am
Forum: General Discussion
Topic: reviews (not) linked to games
Replies: 18
Views: 4176

Oh! Now I realise that each review links to the game it reviews, but the other way around is linked manually. It's strange that Mogri didn't automate that...
by TMC
Wed Jan 10, 2018 6:36 am
Forum: General Discussion
Topic: reviews (not) linked to games
Replies: 18
Views: 4176

I believe that for the last few (or many) years, SDHawk has taken over the responsibility of attaching reviews to games. Are there any reviews that still aren't linked? I couldn't find any. Linking is accomplished by a moderator posting to the thread for a game, example . (Note the URL is viewtopic....
by TMC
Sun Jan 07, 2018 1:02 pm
Forum: Q&A Discussion
Topic: rotating a grid
Replies: 3
Views: 914

If you want to rotate a block of tiles or npcs, it's definitely easiest to do it directly using some of the code from the stack overflow question you linked to: either "in-place" meaning that the original grid of values is modified (which is more complicated), or else by creating a new gri...
by TMC
Thu Jan 04, 2018 5:22 am
Forum: Q&A Discussion
Topic: Display stat screen with menu
Replies: 27
Views: 5161

Unfortunately, no and no. Both thigns I want to add. To achieve either of those you would have to split each line into a separate text slice and position/align those. And there's no builtin way to determine how a line of text wraps around, so you would have to work that out yourself if you want wrap...
by TMC
Wed Jan 03, 2018 8:46 pm
Forum: Game Discussion
Topic: OHRRPGCE feature requests/suggestions
Replies: 698
Views: 103517

Oh! That reminds me of something you just suggested on the wiki: for 'walk NPC' can we have the npc's direction as the default direction? I was thinking that this could be achieved by adding a special direction called 'forward' (or should it be 'forwards'? Probably have both as synonyms). Could have...
by TMC
Tue Jan 02, 2018 12:30 pm
Forum: Game Discussion
Topic: OHRRPGCE feature requests/suggestions
Replies: 698
Views: 103517

The settings menu is new in Etheldreme. I'd still like to disable it altogether Why's that? Because you click on the map accidentally? If so, why? Also, isn't it contradictory to say to you don't like using the mouse, but you use the mouse to change focus to another window? :) Alt-tab is one of the ...
by TMC
Tue Jan 02, 2018 4:07 am
Forum: Q&A Discussion
Topic: Location name on screen question
Replies: 10
Views: 2292

I see you uploaded an example game! Best to link to that here: Show zone names Oops, I think I was to blame for the ||. "for (i, 0, z) do (" should be "for (i, 0, z -- 1) do (" What I meant by getting rid of 'changed' was to move everything in the "if (changed)" block i...
by TMC
Tue Jan 02, 2018 3:54 am
Forum: Game Discussion
Topic: OHRRPGCE feature requests/suggestions
Replies: 698
Views: 103517

Code screen? Do you mean a script editor window? Are you talking just about the map editor? There is actually an option in the Map Editor Settings to disable moving the cursor with the mouse - I knew some people wouldn't want that. It's called "Cursor follows mouse". You can still right cl...
by TMC
Tue Jan 02, 2018 12:42 am
Forum: Game Discussion
Topic: OHRRPGCE feature requests/suggestions
Replies: 698
Views: 103517

Why's that?

(There isn't)
by TMC
Sun Dec 31, 2017 6:36 am
Forum: Q&A Discussion
Topic: Location name on screen question
Replies: 10
Views: 2292

That's a pretty nice script, so I put link to it on the wiki (no reason it couldn't have it own article). You can simplify the script by using the name of the zone as the name of area (simply replace the 'switch' block with the line "get zone name(1, newzone)"). Also, that script won't wor...