Author Topic: Cat Mario (Open Syobon Action) for Dingux (screen resolution problem)  (Read 6712 times)

Poligrafowicz

Re: Cat Mario (Open Syobon Action) for Dingux (screen resolution problem)
« Reply #15 on: February 21, 2011, 06:42:49 am »
It's working (buttons too)! But realy VERY slow... strange...

Maybe its my downscalers fault, go join the irc channel and ask for help there. I'm no SDL expert and the folks there have much more experience than me.

zear

  • * Moderator
  • Posts: 2378
Re: Cat Mario (Open Syobon Action) for Dingux (screen resolution problem)
« Reply #16 on: February 21, 2011, 10:59:34 am »
Changing the resolution of the screen doesn't automatically scale the game.
If the original game runs in 480x420, it means you'd have to scale the screen output to 320x240.
So far you've set the screen surface to 320x240, but the rest of the game still tries to draw off screen into the original 480x420.
Edit:
Oh, I see you've used the scaler. It is slow because the game first renders to 480x420 and then software scales the whole thing to 320x240. Software scaling will always be slow. Another thing you could do is to resize all the graphics and modify the code and change all the appropriate variables to work with the scaled graphics.
« Last Edit: February 21, 2011, 11:03:12 am by zear »

dimap

  • Guest
Re: Cat Mario (Open Syobon Action) for Dingux (screen resolution problem)
« Reply #17 on: February 21, 2011, 04:41:14 pm »
Maybe there are other ways?
sdl_videoresize?

Poligrafowicz

Re: Cat Mario (Open Syobon Action) for Dingux (screen resolution problem)
« Reply #18 on: February 21, 2011, 05:29:45 pm »
I wrote a faster downscaler now it works ok (though the image isn't all that good).

Here it is:
http://www.mediafire.com/?hstmtud9g45cx

You can post it in release section, or should I do it?

dimap

  • Guest
Re: Cat Mario (Open Syobon Action) for Dingux (screen resolution problem)
« Reply #19 on: February 21, 2011, 05:46:42 pm »
It's great! Thank you!
I release this in release section, but it will be a beta version. I have some ideas about fonts and resources resolutions...

Poligrafowicz

Re: Cat Mario (Open Syobon Action) for Dingux (screen resolution problem)
« Reply #20 on: February 21, 2011, 06:06:50 pm »
It's great! Thank you!
I release this in release section, but it will be a beta version. I have some ideas about fonts and resources resolutions...

If you plan to resize the images then the downscaler probably won't be needed. Though the graphics is coded in such a way that, it'll be a pain to support the resized images. On the other hand you could make the images look better (without changing their resolution), but editing them (namely making edges thicker).

dimap

  • Guest
Re: Cat Mario (Open Syobon Action) for Dingux (screen resolution problem)
« Reply #21 on: February 21, 2011, 06:08:23 pm »
I already try resize images, but... it was bad idea :D

dimap

  • Guest
Re: Cat Mario (Open Syobon Action) for Dingux (screen resolution problem)
« Reply #22 on: February 23, 2011, 07:38:00 am »
First we need
1) Change fonts
2) Change jump button to B done!
3) Fixed missing textures done!
« Last Edit: February 23, 2011, 09:37:39 am by dimap »

 

Post a new topic
Post a new topic