Notice. New forum software under development. It's going to miss a few functions and look a bit ugly for a while, but I'm working on it full time now as the old forum was too unstable. Couple days, all good. If you notice any issues, please contact me.
Thank you, with 252MHz I had something like 22.5 FPS
to have a better speed experience, you might play with the Value of the spt Variable which controlls the speed of the colorchange
bcol%(dst,f%)=col%(7-3*((Sin((((120-f%)/40)^3)+dst*.75))>0)):Next :Next :dst=0:spt=1.5 .... Sub Mov_sky dir% If dir%=0 Then spt=1.5:Exit Sub 'driving straight so sky doesn't change spt=2
but not higher than 3.?? as there are only 8 animation states and it would look like running backwards.. Maybee I should double them ? Edited 2022-11-05 01:23 by Martin H.'no comment
stanleyella
Guru
Joined: 25/06/2022 Location: United KingdomPosts: 1643
Posted: 06:41pm 07 Nov 2022
Copy link to clipboard
Print this post
non vga mmb does not have a triangle function.
matherp Guru
Joined: 11/12/2012 Location: United KingdomPosts: 8582
Posted: 06:57pm 07 Nov 2022
Copy link to clipboard
Print this post
There from the very first versions
stanleyella
Guru
Joined: 25/06/2022 Location: United KingdomPosts: 1643
Posted: 10:36pm 07 Nov 2022
Copy link to clipboard
Print this post
Thanks, I found it TRIANGLE X1, Y1, X2, Y2, X3, Y3 [, C [, FILL]] not under drawing commands. sorry.
Martin H.
Guru
Joined: 04/06/2022 Location: GermanyPosts: 899
Posted: 03:46am 08 Nov 2022
Copy link to clipboard
Print this post
since you have already used the Maze program on your NonVGA Pico, your statement cannot be correct. Here the triangle function was used to draw the walls.
Edited 2022-11-08 13:47 by Martin H.'no comment
stanleyella
Guru
Joined: 25/06/2022 Location: United KingdomPosts: 1643
Posted: 01:27pm 08 Nov 2022
Copy link to clipboard
Print this post
Your code did not "run" on lcd but as you say the errors were not triangle commands. Triangle is not mentioned under drawing commands in the non vga manual but is there in the list of commands, page 118. Lcd is not the same as vga but some games could work but adapting to touch control? I was thinking of android phone games. I do not want to wire buttons to control a lcd game if touch could be used instead. The touch lcd is well implemented and when calibrated is accurate. I will try to adapt vga to lcd but it is fun using lcd graphics with mmbasic. cheers.