Page 1 of 1

+ / - / 0 in play mode?

Posted: Tue Feb 17, 2015 9:24 am
by filbo
The new(*) + / - / 0 zoom keys in edit mode are great... [(*)Appeared in git a few days ago.]

... now can we have them in play mode? :)

I'd actually been considering asking for this some time ago (though I was only thinking of a toggle between the two settings of Settings -> Graphics -> Small Game Graphics).

I don't know if I would actually want to play in the most zoomed-out mode, but it would be awesome for watching some levels playback from a tape. And I suppose if I was playing on a 30" monitor instead of a 15" laptop, the next level of zoom would be fine.

Ideally, handle these keys any time they're seen in edit, play or playback modes.

BTW, I have my own uses for the keys '1'..'5', which I intend to describe at some point. I actually wrote the message but haven't posted it, and the machine it's sitting on is currently dormant...

Re: + / - / 0 in play mode?

Posted: Mon Mar 02, 2015 10:55 pm
by Holger
This really sounds like a good idea. Not sure about implementation at the moment -- especially dynamically during a game -- but I'll check this. There are currently some major issues that prevent R'n'D from totally redrawing the game screen each frame, which would most probably give a HUGE speed boost on most systems, as graphics drawing could then be managed within graphics memory, while it is now handled in system memory, followed by a final blit of the screen from system memory to the graphics hardware, which is slow, of course. I've already did some tests with the goal to re-implement those parts of the code needed for full screen redraw each frame, but so far some parts of R'n'D game graphics are drawn incremental over more than one frame, which currently prevents a full redraw each frame. If this would work some day, it would propably also be easy to change the tile size (zoom level) each frame.

Nevertheless, I will see if I can do some workarounds that would at least make this work, although it could result in (temporary, in most cases) graphical glitches when changing zoom level (due to the required redraw, although at least zooming *out* could probably done without glitches by graphically scaling down of the current playfield graphics, while zooming *in* would indeed require a redraw (because scaling up would look ugly).

Well, I'll try to have a closer look at this in the near future...

Re: + / - / 0 in play mode?

Posted: Tue Mar 03, 2015 7:28 am
by filbo
Sounds good, thanks...

I already have all sorts of speed anomalies that I'd like to describe, but are currently too vague.

Sometimes "warp forward" speed (fastest playback with drawing) is >100x realtime, sometimes it's less than 10x.

This can vary for the same tape of the same level -- I think depends on whether I was the first person to login on this multi-user laptop, like maybe :0 server gets more graphics memory or better access to the GPU or something.

Whatever it is with X or GPU, it isn't the only factor, just the one that has the largest effect.

/ / 0 in play mode

Posted: Tue Aug 04, 2015 8:43 am
by AlexKotovPl
ShiftF8 Codepage is not working for me in Editor mode, only in Viewer mode. Any solution?

Joc

Re: + / - / 0 in play mode?

Posted: Tue Aug 04, 2015 1:59 pm
by Holger
Hello Joc,

what do you mean by "ShiftF8 Codepage is not working for me in Editor mode, only in Viewer mode"?

Can you please explain exactly what you're doing, and what you expect to happen?

That would help a lot in understanding what might went wrong in the case you described.