Search found 4098 matches

by TMC
Mon Mar 16, 2020 1:00 am
Forum: Game Discussion
Topic: Android google-play compat status thread
Replies: 73
Views: 10976

And.... we have a report that bumping AppVersionCode (for the Walthros demo) no longer works. Who knows what changed. can reproduce that bumping AppVersionCode doesn't cause gamedata.zip to be re-extracted. A look at adb logcat shows why: libSDL: Settings.Load(): load...
by TMC
Sun Mar 15, 2020 3:00 pm
Forum: General Discussion
Topic: Indent tool for HSpeak
Replies: 71
Views: 7579

Two passes, great; that is necessary. Don't worry, your changes don't really conflict with me. Well, I see you edited your post with a much better AST for the "else if". "if" nodes (in hsz) always need 3 children. As generated by HSpeak, the 2nd and 3rd are always "then"...
by TMC
Sun Mar 15, 2020 1:08 pm
Forum: Game Discussion
Topic: OHRRPGCE buglists migrated to GitHub
Replies: 2
Views: 700

Nathan file a bug, which I had forgotten about and didn't have written down anywhere; I fixed it. Seems to be working.

Down to just 277 open issues!
by TMC
Sat Mar 14, 2020 4:49 pm
Forum: Game Discussion
Topic: OHRRPGCE buglists migrated to GitHub
Replies: 2
Views: 700

OHRRPGCE buglists migrated to GitHub

All existing bug reports have finally been migrated to a replacement issue tracker on GitHub from our previous SourceForge and Bugzilla bug trackers (Bugzilla has been offline since 2014). File your bugs and feature requests there instead of SourceForge (see Buglist for more information). From now o...
by TMC
Sat Mar 14, 2020 12:34 pm
Forum: General Discussion
Topic: Indent tool for HSpeak
Replies: 71
Views: 7579

Ah yes, the extra commas due to and/or/mod may make it trickier to get the grammar right, but I would think it should still be possible. The change I'm suggesting is basically to disallow identifier to start with "if ", "then ", "else ", including the spaces. An alterna...
by TMC
Fri Mar 13, 2020 2:18 pm
Forum: General Discussion
Topic: Indent tool for HSpeak
Replies: 71
Views: 7579

Wow. So now you have little to do but play around with this. Until you run out of food. Please don't turn. I'm in favour of adding the ternary operator to HS, but I don't know what syntax to use; maybe iif(condition, a, b) like FB uses. I see you added a 'none' symbol, something that returns nothing...
by TMC
Thu Mar 12, 2020 11:46 am
Forum: General Discussion
Topic: Indent tool for HSpeak
Replies: 71
Views: 7579

Wow, a lot of progress here. Could you slap a license on it? (BTW, we're going to attempt to relicense the OHRRPGCE to something more permissive than the GPL) Is the sigWARNING: 2 shift/reduce conflicts "if(...)\nthen(...)" gets converted to "if(...),then(...)" which produces a s...
by TMC
Thu Mar 12, 2020 8:12 am
Forum: Q&A Discussion
Topic: How does the Hits stat work?
Replies: 1
Views: 460

It picks the number of hits uniformly at random. E.g. if it's 2-5 hits because the Hits stat is 3 and the attack adds one extra hit, then it's a 1/4 chance of 2, 3, 4 or 5 hits. So not hard to calculate how it affects damage. At the bottom of the Damage Settings screen it'll tell you what the possib...
by TMC
Thu Mar 12, 2020 2:35 am
Forum: Q&A Discussion
Topic: Where is located the bitset pause available outside battle?
Replies: 50
Views: 6548

Select a slice and press Shift+Right to make it a child of the slice above it; Shift-Left does the opposite. Shift-Up/Down change the order of a slice. You can also press Ctrl-Up/Down to change the selected slice while skipping over children. Press F1 and read the controls for the editor. Remember t...
by TMC
Wed Mar 11, 2020 2:33 pm
Forum: Q&A Discussion
Topic: Where is located the bitset pause available outside battle?
Replies: 50
Views: 6548

Look again at the first screenshot I posted. The menu items need to be children of the scroll slice, which should be the size of that rectangle slice - you probably want to make it a child of the rect slice and set the scroll scroll to Fill Parent. And the scroll slice should be the one to Clip Chil...
by TMC
Tue Mar 10, 2020 3:34 pm
Forum: Q&A Discussion
Topic: Layered Walkabout / Visible Equippment / Could use a hand
Replies: 24
Views: 2611

That's a beautiful menu! The syntax of HamsterSpeak is highly unusual; unfortunately you probably won't find any other language supported by your code editor of choice that is whitespace-insensitive. One solution is to write all names in your scripts in camelCase, like other languages. I wrote a HS ...
by TMC
Tue Mar 10, 2020 8:33 am
Forum: Q&A Discussion
Topic: Where is located the bitset pause available outside battle?
Replies: 50
Views: 6548

Well, OK, here's the scroll slice. Oh, make sure "Check depth" is set to "no limit". http://tmc.castleparadox.com/pics/scroll_example3.png Do you have the scroll slice inside another slice which is set to clip children? Maybe it's clipping off the scroll bar. Maybe you could post...
by TMC
Mon Mar 09, 2020 4:33 pm
Forum: Q&A Discussion
Topic: Layered Walkabout / Visible Equippment / Could use a hand
Replies: 24
Views: 2611

Actually, you should write "set parent(slice, getHeroSprite(me))" instead of "set parent(slice, getHeroSlice(me))", so that it will work if there is a foot-offset on the map or if the hero Z changes (eg riding an airship). Those change the position of the hero walkabout sprite re...
by TMC
Mon Mar 09, 2020 3:03 pm
Forum: Q&A Discussion
Topic: Where is located the bitset pause available outside battle?
Replies: 50
Views: 6548

(Sorry, I've been busy) I'm not entirely sure what you're asking, but I hope this helps. Here's an example of a menu with a scrollbar (from Axe Cop): http://tmc.castleparadox.com/pics/scroll_example1.png Notice that the scroll slice is the parent of the menu items, and it's set to "Clip Childre...
by TMC
Sun Mar 08, 2020 8:14 pm
Forum: Game Discussion
Topic: 7DRL entry: Slumber [devlog]
Replies: 10
Views: 1454

08-09/03/2020 Day 7.5: 1.5DRL ( Crossposed ) https://img.itch.zone/aW1hZ2UvNTc5OTUwLzMwNzc3MTEucG5n/original/Qv8283.png Success! ... if you want to be charitable. We've released a game . It's not really the 30DRL we were working on for the last week, but rather a new 1.5DRL we built by re-purposing...