Dear forum, mr.K bring to your attention my first game made from beginning to end by me.
I want to thank the creator of this wonderful program sB mr.K and Фанта, which helped me and advice. Without them I would not have coped. Thank you.
https://www.dropbox.com/sh/3pllfshifdor ... LpRna?dl=0
In the future we plan to upgrade, add sound, and support for other apple devices.
Management simple by pressing the chickens
Henhouse v1 only iPhone
- rbytes
- Posts: 1338
- Joined: Sun May 31, 2015 12:11 am
- My devices: iPhone 11 Pro Max
iPad Pro 11
MacBook
Dell Inspiron laptop
CHUWI Plus 10 convertible Windows/Android tablet - Location: Calgary, Canada
- Flag:
- Contact:
Re: Henhouse v1 only iPhone
This is a fun game and I can see that you have put a lot of time and thought into it.
I hope you have plans to make it autosense and adjust to various devices and screen sizes. On my iPad Air, the grass didn't fill the screen. I just changed the scale to 2.6 to fix that. The girl and chickens could be a lot larger - on my Air they appear up in the top left corner and the rest of the screen is grass.
I look forward to seeing more of your designs, Tantrixx.
I hope you have plans to make it autosense and adjust to various devices and screen sizes. On my iPad Air, the grass didn't fill the screen. I just changed the scale to 2.6 to fix that. The girl and chickens could be a lot larger - on my Air they appear up in the top left corner and the rest of the screen is grass.
I look forward to seeing more of your designs, Tantrixx.
The only thing that gets me down is gravity...
Re: Henhouse v1 only iPhone
Well, I first of all try to adapt apple devices. No experience, this will be glad feedback. Thank you.
- Attachments
-
- image.png (1.49 MiB) Viewed 2596 times
- rbytes
- Posts: 1338
- Joined: Sun May 31, 2015 12:11 am
- My devices: iPhone 11 Pro Max
iPad Pro 11
MacBook
Dell Inspiron laptop
CHUWI Plus 10 convertible Windows/Android tablet - Location: Calgary, Canada
- Flag:
- Contact:
Re: Henhouse v1 only iPhone
smartBASIC has commands that are very useful for adjusting the graphics content for different iOS devices:
DEVICE_TYPE$ ()
returns device type. Possible values: "iPad", "iPhone".
So you could code
IF DEVICE_TYPE = "iPhone" THEN .....
(do something)
ELSE
(do something else)
END IF
For graphics programs and games, I find it very useful to check screen size and then set up my images and sprites.
sw=SCREEN_WIDTH ! sh=SCREEN_HEIGHT
IF sw=1024 THEN
(iPad and iPad mini screen width; set positions and scales of images & sprites to fit)
ENDIF
IF sw=736 THEN
(iPhone 6+ screen width; set positions and scales of images & sprites to fit)
ENDIF
IF sw=667 THEN
(iPhone 6 screen width; set positions and scales of images & sprites to fit)
ENDIF
IF sw=568 THEN
(iPhone 5s screen width; set positions and scales of images & sprites to fit)
ENDIF
DEVICE_TYPE$ ()
returns device type. Possible values: "iPad", "iPhone".
So you could code
IF DEVICE_TYPE = "iPhone" THEN .....
(do something)
ELSE
(do something else)
END IF
For graphics programs and games, I find it very useful to check screen size and then set up my images and sprites.
sw=SCREEN_WIDTH ! sh=SCREEN_HEIGHT
IF sw=1024 THEN
(iPad and iPad mini screen width; set positions and scales of images & sprites to fit)
ENDIF
IF sw=736 THEN
(iPhone 6+ screen width; set positions and scales of images & sprites to fit)
ENDIF
IF sw=667 THEN
(iPhone 6 screen width; set positions and scales of images & sprites to fit)
ENDIF
IF sw=568 THEN
(iPhone 5s screen width; set positions and scales of images & sprites to fit)
ENDIF
The only thing that gets me down is gravity...
Re: Henhouse v1 only iPhone
Thank you. I will experiment