Search found 4098 matches

by TMC
Sat Dec 30, 2017 11:25 pm
Forum: Q&A Discussion
Topic: How can I make this code work if 2 NPCs occupy same space?
Replies: 3
Views: 845

The "increment(spoon)" is in the wrong place. (Edit: Spoonweaver edited and fixed his script) variable(which) for (which, 0, NPC at spot(x tile, y tile, get count) -- 1) do ( if (get NPC ID(NPC at spot(x tile, ...
by TMC
Sat Dec 30, 2017 11:14 pm
Forum: Q&A Discussion
Topic: Is there a way to clear all instances of a zone?
Replies: 9
Views: 1488

Re: Is there a way to clear all instances of a zone?

I was wondering if there is a way to clear every instance of zone #22 on a map without having to scan through every single (x,y) value on the map? Kind of, by calling "load map state" or "reset map state". But that will load/reset all zones. Also, because it's doing so much more...
by TMC
Fri Dec 29, 2017 11:49 pm
Forum: Game Discussion
Topic: OHRRPGCE feature requests/suggestions
Replies: 698
Views: 103535

Slices are meant to be able to compute the positions of their children efficiently, since they recompute them every frame. I think radial layout or anything else not likely to be needed for creating slice collections should be instead implemented as a script. That would work much better; then it doe...
by TMC
Fri Dec 29, 2017 5:06 am
Forum: Game Discussion
Topic: OHRRPGCE feature requests/suggestions
Replies: 698
Views: 103535

The impetus I had to implement Layout slices is for the graphics ThingBrowser, to replace the grid currently used. E.g. for picking an enemy sprite: they come in different sizes, so you want to pack them onto the screen rather than use the size of the largest sprite. This will become especially impo...
by TMC
Fri Dec 29, 2017 3:31 am
Forum: Game Discussion
Topic: OHRRPGCE feature requests/suggestions
Replies: 698
Views: 103535

Hmm, yes, it actually won't be as easy as I expected to implement that, and it'll be a waste of time. Should just wait for the animation system. Which I really want to resume... tomorrow? Am I right in thinking padding is the same for all children (?) Yes. Radial layout would be much trickier; I don...
by TMC
Thu Dec 28, 2017 11:42 am
Forum: Game Discussion
Topic: OHRRPGCE feature requests/suggestions
Replies: 698
Views: 103535

Not sure if this has been asked for already, but could we have an option to set the speed of Walk In Place NPCs? Yes, you have, and so have other people. Maybe someone should just add a global setting. (A global setting is not a backcompat problem... however it will hopefully be obsolete within wee...
by TMC
Sun Dec 24, 2017 9:25 pm
Forum: Q&A Discussion
Topic: Are there any other OHRRPGCE developers living in Tokyo?
Replies: 7
Views: 1328

Oh, yes! I forgot about him.
by TMC
Sun Dec 24, 2017 12:04 pm
Forum: Q&A Discussion
Topic: Are there any other OHRRPGCE developers living in Tokyo?
Replies: 7
Views: 1328

Cool, so you've just moved to Japan?

Marionline was in Japan as an exchange student, but I believe she left quite a while ago. I can't remember anyone else mentioning living in Japan (at least not in the last decade... didn't Chaos Nyte live there a while?)

(This is probably the wrong forum)
by TMC
Sun Dec 24, 2017 12:01 pm
Forum: Q&A Discussion
Topic: How to check pushablility of NPC at spot(x,y)
Replies: 5
Views: 1113

'continue' doesn't escape out of a for loop, 'break' does. But the fact that you're using a hard-coded relative position, (xNPC, yNPC--2), makes me concerned that you aren't using a for loop to loop over a column of tiles in-between the guard and the hero when you should be. Anyway, if it works for ...
by TMC
Thu Dec 21, 2017 8:51 pm
Forum: General Discussion
Topic: Plotscripts w/ tags
Replies: 6
Views: 1622

Every ( or begin (they're just two different ways of writing the same thing) needs a matching ) or end to show where the thing started by (/begin ends. So you need an 'end' to end the 'then' block, and a second one to end the 'script': plotscript, script1, begin if (check tag (tag&am...
by TMC
Wed Dec 20, 2017 10:59 am
Forum: Q&A Discussion
Topic: Display stat screen with menu
Replies: 27
Views: 5161

Should I just assign another variable to the parent and free that instead? There are many different ways to get a handle to a slice, but since you already have it, it's simplest to just store it in a global to use later. Hmm, really there are a ton of obvious string functions that are missing, such...
by TMC
Wed Dec 20, 2017 3:04 am
Forum: Game Discussion
Topic: I found a potential bug...
Replies: 4
Views: 1261

OK, thanks. I'll probably have time to look at it tomorrow.
by TMC
Wed Dec 20, 2017 1:38 am
Forum: Game Discussion
Topic: I found a potential bug...
Replies: 4
Views: 1261

Thanks for the report. That's pretty odd; I haven't seen anything like it. I assume the NPC is set to "When activated, do not face player"?
To save us time, could you send that .rpg file to James or me?
by TMC
Sun Dec 17, 2017 10:41 pm
Forum: Game Discussion
Topic: Axe Cop
Replies: 217
Views: 42311

Ah, yes, that definitely sounds like a good idea. In fact, I think I'll make use of that myself. In so many games where you can decide the stat growth of your characters it ends up being more a way to screw up by deviating from the optimal path than a way to actually customise your characters.
by TMC
Sun Dec 17, 2017 11:53 am
Forum: Game Discussion
Topic: Pixel-Based walking with dwimmercrafty (etheldreme!)
Replies: 32
Views: 7211

This is really cool! I'm impressed you can even push multiple npcs at once. Later on when I have more time, I'll play around with the scripts and try to fix the jittering, if it's still a problem then. This is definitely getting into physics simulation territory now, which is my idea of fun. I was s...