Search found 4098 matches

by TMC
Thu Jan 05, 2017 10:53 pm
Forum: General Discussion
Topic: Help with plotscripting
Replies: 7
Views: 1887

Music volume shouldn't* depend on the backend ... with the possible exception of MIDI volume, which is quirky (and I can't remember the quirks anymore). But yes, because the player can adjust the volume you should fade to/from whatever the initial volume level is. Which is exactly what the scripts p...
by TMC
Thu Jan 05, 2017 5:52 am
Forum: Q&A Discussion
Topic: scrolling dodge 'em up
Replies: 21
Views: 4232

Your mistake is moving map layer 1 (scrollslice) instead of moving the player. What is on layer 1? Nothing? Anything on that layer wouldn't move relative to the camera. Note that the slice edge x/y commands give the slice offset relative to its parent. Since the player is currently fixed relative to...
by TMC
Wed Jan 04, 2017 11:13 pm
Forum: Game Discussion
Topic: Official MICRO-blog THREAD for "Finish Your Damn Game Engine"
Replies: 59
Views: 12938

Are you talking about HamsterTools? Have you moved off GitHub? The (increasingly misnamed) OHRRPGCE Source Ports page only links to the Github page. Of course, new file formats means that utilities need to be updated or stop working, and the graphics formats are under the gun now. Backdrops file for...
by TMC
Tue Jan 03, 2017 3:10 am
Forum: Game Discussion
Topic: Official MICRO-blog THREAD for "Finish Your Damn Game Engine"
Replies: 59
Views: 12938

I could easily post snippets of source code as well; I didn't think anyone would be interested. My intention wasn't to provide an introduction to working on the OHR. There is a category on the wiki with a few useful articles, though. That would be cool! I'd like learn about how to design/structure a...
by TMC
Mon Jan 02, 2017 12:49 pm
Forum: Q&A Discussion
Topic: 'Distribute Game': can't start linux file
Replies: 7
Views: 1984

A prosperous new year! :) Oh, was xterm not installed? Yes, now I remember that the download won't work then. And also, that was the reason I added the better error checking in the first place, to figure out why downloads weren't working for someone. We ought to check whether xterm is installed and ...
by TMC
Mon Jan 02, 2017 6:13 am
Forum: Game Discussion
Topic: Official MICRO-blog THREAD for "Finish Your Damn Game Engine"
Replies: 59
Views: 12938

What better way to start a view into the excitement of engine development than with more code cleanup? (Unfinished work like the 'run game' command shall wait.) (I meant to post this soon after the intro post, but predictably got badly distracted by even more code cleanup and bugfixing when I went t...
by TMC
Mon Jan 02, 2017 2:52 am
Forum: Game Discussion
Topic: Official MICRO-blog THREAD for "Finish Your Damn Game Engine"
Replies: 59
Views: 12938

Official MICRO-blog THREAD for "Finish Your Damn Game E

(Boring introduction) I didn't want to intrude in Harlock's Finish Your Damn Game contest thread with posts not part of his contest (although I should be there, later!), but I do want to join in the spirit of open development and providing some activity by talking about work I'm doing on the OHRRPGC...
by TMC
Sun Jan 01, 2017 6:33 am
Forum: Q&A Discussion
Topic: I was playing an older OHR game when...
Replies: 8
Views: 2137

Could you post your g_debug.txt file for when the crash occurred? If you've played the game again since it crashed (or another game in the same directory) then you should post g_debug_archive.txt instead. At what point in the game did it crash? Does it happen again? And if you can you provide a save...
by TMC
Sun Jan 01, 2017 6:28 am
Forum: Q&A Discussion
Topic: A way to get the ref of the NPC who triggered a plotscript?
Replies: 5
Views: 1234

This might be the most commonly asked question of all. For a long time I've been meaning to make Custom itself preview what arguments will be passed to all triggered scripts. And of course, the Plotscripting Tutorial is a terrible place to document it; a dedicated plotdict section would be a good id...
by TMC
Sat Dec 31, 2016 8:59 pm
Forum: Q&A Discussion
Topic: 'Distribute Game': can't start linux file
Replies: 7
Views: 1984

Gah! From reading that debug log, I have no idea what is wrong, because it doesn't include the actual error messages. A few months ago I improved it so that it would print the error messages to the debug log, so could you please download a recent nightly build and try again? However, lately I have b...
by TMC
Sat Dec 31, 2016 1:01 pm
Forum: Q&A Discussion
Topic: 'Distribute Game': can't start linux file
Replies: 7
Views: 1984

You used the 'Export Linux Tarball' option, which currently doesn't include the needed libraries (mainly SDL 1.2 and SDL-mixer 1.2). This is a known problem; if I find the time I would fix it. If your friends have Debian, Ubuntu, or one of the many GNU/Linux distros that are based on Debian or Ubunt...
by TMC
Sat Dec 31, 2016 12:52 pm
Forum: Q&A Discussion
Topic: How do you show a global value in text slices?
Replies: 4
Views: 1135

Text slices should be made to parse those codes automatically, just like textboxes and menu items do. I've been meaning to do it for a while, and it would actually be really quick for me to implement that, if you're willing to use a nightly. Otherwise, you could write a script to scan a slice tree f...
by TMC
Thu Dec 29, 2016 10:50 am
Forum: Game Discussion
Topic: OHR Multicart Compilation
Replies: 418
Views: 64363

Things never seem to work out according to plan, especially with everyone going out of their way to distract you at this time of year! I haven't even started on our game yet, but RMZ did, briefly drawing a bunch of graphics. We agreed to start on the game after the new year, although actually I'm ru...
by TMC
Wed Dec 28, 2016 8:49 am
Forum: Q&A Discussion
Topic: delete saved game?
Replies: 12
Views: 2685

Yes, use the delete save command.
by TMC
Tue Dec 27, 2016 3:15 pm
Forum: Q&A Discussion
Topic: low FPS
Replies: 6
Views: 1539

You can easily replace all the wait() commands with your scripts with calls to a wait18() or similar script that calculates and performs the correct number of wait ticks. Some other commands like slice velocity commands can also be dealt with similarly, but of course many other things can't. Last ti...