Search found 10 matches

by ervin
Thu Feb 20, 2025 10:45 pm
Forum: Announcing new software
Topic: Manic Miner tribute
Replies: 4
Views: 52058

Re: Manic Miner tribute

It's very cool seeing my program on the ugBASIC page!
Thank you!
by ervin
Thu Feb 20, 2025 10:03 pm
Forum: Announcing new software
Topic: Manic Miner tribute
Replies: 4
Views: 52058

Re: Manic Miner tribute

Hi Marco.

Thanks for your suggestions, and also for your kind words. :)

I have created an itch.io page for this project (only my 2nd project uploaded to itch!)
https://poppichicken.itch.io/manic-miner-tribute
by ervin
Thu Feb 20, 2025 1:52 pm
Forum: Announcing new software
Topic: Manic Miner tribute
Replies: 4
Views: 52058

Manic Miner tribute

Hi everyone. For the past 5 months or so, I've been testing ugBASIC and learning how to use it. It has been a lot of fun writing many little programs, and helping to find bugs in the language. After feeling confident with ugBASIC, I thought I'd try to write something in it that others may hopefully ...
by ervin
Thu Feb 06, 2025 10:51 pm
Forum: Support
Topic: help reading a string/int pair
Replies: 5
Views: 43990

Re: help reading a string/int pair

Just wondering...
Would something like this help?
(I'm at work so I can't check if it runs)

Code: Select all

READ item$, qty
PRINT item$,qty
DATA AS STRING "BLUE WIDGET"
DATA AS BYTE 10
by ervin
Wed Feb 05, 2025 8:36 am
Forum: Code snippets
Topic: Posting code snippets and examples
Replies: 5
Views: 35276

Re: Posting code snippets and examples

This is a great idea!
by ervin
Fri Jan 24, 2025 12:09 pm
Forum: Support
Topic: ESC key on CPC
Replies: 2
Views: 13390

Re: ESC key on CPC

PERFECT!!!
Thanks so much.
by ervin
Fri Jan 24, 2025 6:17 am
Forum: Support
Topic: ESC key on CPC
Replies: 2
Views: 13390

ESC key on CPC

Hi there.

Is there a way to check the key state of the ESC key on the Amstrad CPC target?
I need to find a way to go back to the main menu of my program from within the game.

Thanks.
by ervin
Sun Jan 12, 2025 9:03 am
Forum: Support
Topic: GLOBAL and SHARED variables
Replies: 3
Views: 18081

Re: GLOBAL and SHARED variables

Makes sense, thanks!
(by the way, I'm "poppichicken" that has been reporting bugs on github).
:)
by ervin
Fri Jan 10, 2025 2:32 pm
Forum: Support
Topic: GLOBAL and SHARED variables
Replies: 3
Views: 18081

Re: GLOBAL and SHARED variables

I solved it!

Code: Select all

OPTION EXPLICIT ON

DIM a AS BYTE
GLOBAL a

PROCEDURE testProc
	PRINT a
END PROCEDURE

a=8
CALL testProc
by ervin
Fri Jan 10, 2025 2:22 pm
Forum: Support
Topic: GLOBAL and SHARED variables
Replies: 3
Views: 18081

GLOBAL and SHARED variables

Hi everyone. I am trying to write a routine to print large sprites using small tile pieces. Anyway, I am having some problems with GLOBAL and SHARED variables. I've reduced the code to a very basic example. OPTION EXPLICIT ON DIM a AS BYTE PROCEDURE testProc SHARED a PRINT a END PROCEDURE a=8 CALL t...