Search found 93 matches

by spotlessmind1975
Thu Mar 06, 2025 8:16 am
Forum: Support
Topic: Help making a basic game for CoCo 2
Replies: 6
Views: 51178

Re: Help making a basic game for CoCo 2

Hi Giovani_Gualdi , and welcome! However, I'd like to smooth out the horizontal movement to be more like the vertical movement, it's so smooth. Is there any way to get around this? First of all thank you very much for the code , really interesting! Reading the code, I see that you use the PUT IMAGE ...
by spotlessmind1975
Sat Mar 01, 2025 8:42 pm
Forum: New features
Topic: Storage access: files or memory?
Replies: 10
Views: 192002

Re: Storage access: files or memory?

Hi ldir_hector , no problem, actually happy to read you! I tried this DLOAD source with a png file of 16*16 pixels only containing red. If the image contains only red pixels, ugBASIC will consider red as the background color, and therefore will set the background color of the entire screen as such.I...
by spotlessmind1975
Thu Feb 20, 2025 10:33 pm
Forum: New features
Topic: Storage access: files or memory?
Replies: 10
Views: 192002

Re: Storage access: files or memory?

Hi ldir_hector!
ldir_hector wrote: Mon Oct 14, 2024 9:23 pm I hope you'll find a way to deal with storage access.
I think you'll find an interesting example about storage access.

Take a look here and here.
by spotlessmind1975
Thu Feb 20, 2025 10:30 pm
Forum: Announcing new software
Topic: Manic Miner tribute
Replies: 4
Views: 66792

Re: Manic Miner tribute

Hi ervin ! :D I have created an itch.io page for this project (only my 2nd project uploaded to itch!) Great move! I've seen it and it's really cool, especially the fact that it loads data from disk onto the Amstrad CPC, which was a feature other people were asking about. Now we have a great real exa...
by spotlessmind1975
Thu Feb 20, 2025 6:06 pm
Forum: Announcing new software
Topic: Manic Miner tribute
Replies: 4
Views: 66792

Re: Manic Miner tribute

Hi ervin , and thank you so much for sharing you experience! Is there a way to attach my code etc to this post? For all the considerations on optimizations and innovative solutions, maybe it's time to open a specific and dedicated thread in the Support area , so that maybe it can give ideas to other...
by spotlessmind1975
Tue Feb 18, 2025 6:30 pm
Forum: Support
Topic: AT$ sytax appears to be incorrect
Replies: 4
Views: 15777

Re: AT$ sytax appears to be incorrect

Hi jjarrell ! I'll have to update my code snippet I posted after the fix since I posted it with AT$(Y,X) syntax. Ok, problem solved! :D You should be so kind to get the latest COLDFIX ([20250218]), using UGBASIC-IDE or on this page . The syntax is the one described on the manual page ( 16.24 AT (fun...
by spotlessmind1975
Mon Feb 17, 2025 10:39 pm
Forum: Support
Topic: AT$ sytax appears to be incorrect
Replies: 4
Views: 15777

Re: AT$ sytax appears to be incorrect

Hi jjarrell , and thank you for your bug report! :D This might be a coco 3 thing but it appears AT$(y,x) works correctly instead of AT$(x,y). Actually, there is something that doesn't work well. I'm doing more in-depth tests, to reproduce the anomaly, and I discovered a series of imperfections, rela...
by spotlessmind1975
Mon Feb 10, 2025 5:05 pm
Forum: Support
Topic: help reading a string/int pair
Replies: 5
Views: 47745

Re: help reading a string/int pair

Hi jjarrell , thank you for the feedback and the example! What do I need to do to get the READ QTY to work in the for/next loop? Sorry for the problem. It was a fault of mine. I introduced a regression, in order to save space on code generation for FOR...NEXT . You need to update your compiler, sinc...
by spotlessmind1975
Fri Feb 07, 2025 11:10 pm
Forum: Support
Topic: help reading a string/int pair
Replies: 5
Views: 47745

Re: help reading a string/int pair

Hi jjarrell and ervin ! I get an error when compiling this because of the string variable in the READ statement and I assume it has to defining the DATA as a type. How should I correct this to read in the data string/integer pair? First of all, thank you for the code fragment. Actually the compilati...
by spotlessmind1975
Tue Feb 04, 2025 5:52 pm
Forum: Support
Topic: simplifying procedure calling
Replies: 2
Views: 16681

Re: simplifying procedure calling

Hi jjfarrell!
jjarrell wrote: Tue Feb 04, 2025 4:35 pm Is there a way to do accomplish something like this?

Code: Select all

results=rollDice[dice$]
Yes, there is.
Just... use it! :D

The ugBASIC language supports both syntaxes.