Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 14:00 19 Nov 2025 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 : MMBasic: Knightmare Game

     Page 12 of 12    
Author Message
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5477
Posted: 04:19pm 16 Nov 2025
Copy link to clipboard 
Print this post

Hi Leo,

Finally played KM.I need a lot of practise.Get killed by these birds all the time.give me a few days, and Ill meet the big boss.

After 20 minutes,my wife took over,and she made it further…

But,1 hour latere turned to chemiChaos,Vegipetes game.

Anyway, the cmm2 was used again. Houray!


Volhout
PicomiteVGA PETSCII ROBOTS
 
LeoNicolas

Guru

Joined: 07/10/2020
Location: Canada
Posts: 535
Posted: 06:35pm 16 Nov 2025
Copy link to clipboard 
Print this post

I'm glad you and your wife are enjoying playing the game. I hope you can reach the end of the game and see the final cutscene,I think it is super cute.
Thank you Volhout
 
LeoNicolas

Guru

Joined: 07/10/2020
Location: Canada
Posts: 535
Posted: 06:40pm 16 Nov 2025
Copy link to clipboard 
Print this post

I'm glad you and your wife are enjoying playing the game. I hope you can reach the end of the game and see the final cutscene,I think it is super cute.
Thank you Volhout
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5477
Posted: 07:12pm 17 Nov 2025
Copy link to clipboard 
Print this post

@Leo,

With picomite V6.01.00 rc15 (last one posted by Peter) you should be able to port KM to the pico.

Martin.H has converted your PNG's to BMP's in RGB121 format. Background RGB(Myrtle) / color number 2 for transparencey.

In this demo you see how it is used. Works really fast. You may be able to run your birds at same speed as CMM2.

You could combine maps and objects 2 in one BMP and use flash slot 3
Then use flash slot 2 for the other file (since it's X dimension is different).

-or- just put them side by side (832x240 nibbles = 99840 bytes). That should fit in one slot. Slot 3 should be compatible with most software. Petscii Robots also does that.

 'test for blit from flash slot
 'require picomite V6.01.00 rc14 or newer.

 'load a bmp into flash slot 3, clearing old content (erases library)
 Flash load image 3,"objects2.bmp",o

 'setup 2 planes
 MODE 2
 CLS RGB(cerulean) 'plane N
 FRAMEBUFFER layer 2 'layer L over N with Myrtle as transparent color

 'the screen should be completely blue-ish now since L is transparent

 'copy an object from flash slot 3 to N
           slot  layer    flash XY screen XY size XY
 Blit flash 3,     N,       64,0,    20,20,   16,16   'do not omit copying myrtle
 Blit flash 3,N,64,0,40,20,16,16,2 'omit copying myrtle

 'copy an object from flash slot 3 to L
 'framebuffer write L
 Blit flash 3,L,64,0,60,20,16,16 'do not omit copying myrtle, but L is transparent for Myrtle
 Blit flash 3,L,64,0,80,20,16,16,2 'omit copying myrtle

 n=32 'position X offset for test

 Do
   For x=0 To 15
     xpos=x*16:xrem=(15-x)*16
     Timer =0
     Blit flash 3,L, xpos,80, n,     40,xrem,16
     Blit flash 3,L, 0,   80, xrem+n,40,xpos,16
     tm=Timer
     Pause 20 'without the pause it would not be visible so fast.
   Next
 Loop While Inkey$=""
 Text 0,0,"2 blits take "+Str$(tm)+" ms"

End


Put this program and objects2.bmp in one folder, and run.

Volhout
Edited 2025-11-18 05:25 by Volhout
PicomiteVGA PETSCII ROBOTS
 
LeoNicolas

Guru

Joined: 07/10/2020
Location: Canada
Posts: 535
Posted: 09:26pm 17 Nov 2025
Copy link to clipboard 
Print this post

Thank you very much for your help Martin and Volhout. I will take a look at them on the weekend
 
homa

Guru

Joined: 05/11/2021
Location: Germany
Posts: 492
Posted: 10:02pm 18 Nov 2025
Copy link to clipboard 
Print this post

Hi LeoNicolas,

I had a few questions while playing.

The shield only works from the front, and that's how it's supposed to be? It makes sense, but it's annoying sometimes with the birds from behind. It seems like they don't even have to touch you, just being close is enough. **Annoying**  ;-)

If I have the double arrow upgrade and collect the same double arrow upgrade again, the strength should be increased, right? But instead, I get a single arrow?!?

In another round, the first 500-point field is often only half visible.

Then I get an 404 error on your GitHub page at this link: I created a nodejs script that converts the exported json map to the binary format used by the game engine.

Matthias
 
     Page 12 of 12    
Print this page


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

The Back Shed's forum code is written, and hosted, in Australia.
© JAQ Software 2025