Draw Directly to Display

I am trying to understand how OpenBor displays backgrounds and the game in general.

Default resolution for game is 256x224 so most of the backgrounds are that same resolution (larger x value for scrolling levels). I notice when increase the resolution to say 1080p, the game world shrinks and only displays in the top left corner of the screen with duplicate backgrounds below it.

The main reason I ask is because I want to have 4 players health bars at the top of screen only but 256 isn't really enough to fit them all without greatly reducing the size and overall look.


1. Is it possible to reduce a custom life bar size with "drawmethod scale 0.5" without having to manually redraw in custom life bars in gfx editing software?

2. Is there a way to draw HUD only directly to display?
 
The main reason I ask is because I want to have 4 players health bars at the top of screen only but 256 isn't really enough to fit them all without greatly reducing the size and overall look.


1. Is it possible to reduce a custom life bar size with "drawmethod scale 0.5" without having to manually redraw in custom life bars in gfx editing software?

2. Is there a way to draw HUD only directly to display?

1. I believe it would be better to edit lifebars to fit new resolution than scaling them with script.
2. Aren't you already using scripted lifebar?
 
The game was designed for 2 players only not 4. The lifebar script doesn't account for 4 players. When you enable 4 player mod it gets wacky pretty quick.

Plus the liebars script disables a lot of the lifebar engine functions (wrap around, percent based etc). Therefore I am no longer using it.

I think you may be correct, the best course of action is to manually edit the lifebars.
 
Lifebar script is usually simple. I saw percent based system often but there is non-percent based one also. For wrap around system, you could code it yourself. It might require extra checks but it should be doable.
 
Back
Top Bottom