iOS query

Previous topic - Next topic

MrPlow

Hi All

Will iOS support createscreen (virtual screen with stretchsprite)?
If not, is there an alternative?

Comp:
Speccy-48k, Speccy-128k, Amigas, PCs

quangdx

Yes iOS does indeed support CREATESCREEN and allows you to use STRETCHSPRITE on the virtualscreen.
As an alternative you can pre stretch everything that you draw.
So instead of drawing a 16x16 square on to the screen at 20,10 co-ordinates, you calculate how much to scale it to the equivalent of the device and a square that size.
For example for a screen that is double resolution in pixels than the game you are making, you draw a 32x32 square instead at 40x20 co-ordinates.
Asobi tech - the science of play.
Spare time indiegame developer.

erico

polyvectors could also be an alternative to this.