Home
JAQForum Ver 20.06
Log In or Join  
Active Topics
Local Time 03:32 28 Apr 2024 Privacy Policy
Jump to

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.

Forum Index : Microcontroller and PC projects : On the Road again

     Page 4 of 4    
Author Message
Martin H.

Guru

Joined: 04/06/2022
Location: Germany
Posts: 899
Posted: 03:16pm 04 Nov 2022
Copy link to clipboard 
Print this post

  Volhout said  Wauw !

This is really super smooth....
Good work. Running it on RC8 at 252MHz.

Volhout

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 Kingdom
Posts: 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 Kingdom
Posts: 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 Kingdom
Posts: 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: Germany
Posts: 899
Posted: 03:46am 08 Nov 2022
Copy link to clipboard 
Print this post

  stanleyella said  non vga mmb does not have a triangle function.

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 Kingdom
Posts: 1643
Posted: 01:27pm 08 Nov 2022
Copy link to clipboard 
Print this post

  Martin H. said  
  stanleyella said  non vga mmb does not have a triangle function.

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.

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.
 
     Page 4 of 4    
Print this page


To reply to this topic, you need to log in.

© JAQ Software 2024