Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 08:09 23 Jun 2026 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 : PicoMite Shooting Game using SPRITE

Author Message
Nobukun
Newbie

Joined: 16/06/2026
Location: Japan
Posts: 5
Posted: 07:31am 22 Jun 2026
Copy link to clipboard 
Print this post

Hello anyone,

I learned about and started using PicoMite a few months ago.
I think SPRITE, in particular, is well-suited for game development, but it was difficult at first.
So, to understand it better, I created a shooting game.
Now it is became playable, so it release.
Please try it out.

MMBasic code , characeter bitmap are below
https://k-nobukun.cocolog-nifty.com/blog/files/shootinggameg.bas
https://k-nobukun.cocolog-nifty.com/blog/files/shootinggamecharactor.bmp

Video sample of playing this shooting game as below.
https://www.youtube.com/watch?v=T0Gxn4JHHw8


The hardware is based on PicoGamer, and it can be controlled with buttons.
The game overview is as follows:
- A or B button fires bullets.
- Directional buttons can move the player.
- One player is lost when player collisioned any Sprite.
- When a bullet hits an enemy, the score increases as below,
 +100 for blue enemy, +500 for yellow one, +2000 for red one
- If the bullet passes through the screen, -10.
- Red enemies appear with a low probability.
- Bullet attacks are ineffective against overlapping enemies.
- High scores are saved in the folder "A:/high-scores/",
 so this folder is required beforehand.
- The following actions are possible on the game over screen,
 Push SELECT button executes FLASH RUN 1
 Push START button resumes the game
- Bottom area is risky zone because enemy suddenly appear
 and attack with bullet is so difficult.

ps.
I'm Japanese, so above may not understanding.
and if anyone ask me then I may not quick response.
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5936
Posted: 07:39am 22 Jun 2026
Copy link to clipboard 
Print this post

Hi Nobukun,

Thank you for providing this game. I will try it, and with it's 15kbyte size (game+graphics) is very well suited to be included in the Game*Mite (predecessor of the PicoGamer).

The Game*Mite only has 2M flash pico RP2040, so it's A: drive is more limited in size. Suited for smaller games.

Does that game have a name ?

I will let you know of the testing.

Volhout
Edited 2026-06-22 17:40 by Volhout
PicomiteVGA PETSCII ROBOTS
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5936
Posted: 08:32am 22 Jun 2026
Copy link to clipboard 
Print this post

Hi Nobukun,

The game runs fine on a RP2350 Game*Mite (I did not have access to the RP2040 G*M).

If I can make a suggestion for improvement, it is not the shooting game itself, but the integration in the PicoGamer.

1/ When there is no previously created "A:/high-scores" folder, the game errors out.
It would be best if it checks if the folder exists, and then creates if is not existing.

2/ When you want to run the game, when installed on B:/ it cannot find the sprites file. Maybe you can use the "MM.INFO(PATH)" preceeding the name of the file.

The game itself is fast (I am not good at it ...yet). But it runs very nide.
Compliments for creating the game. Good work !!

Regards,

Volhout
Edited 2026-06-22 18:33 by Volhout
PicomiteVGA PETSCII ROBOTS
 
Nobukun
Newbie

Joined: 16/06/2026
Location: Japan
Posts: 5
Posted: 08:38am 22 Jun 2026
Copy link to clipboard 
Print this post

Hello Volhout-san,

Thank you for your reply and very well come forme.
I'm not named for this game.
Please test this game , it may have any unknown error or etc.
 
Nobukun
Newbie

Joined: 16/06/2026
Location: Japan
Posts: 5
Posted: 09:27am 22 Jun 2026
Copy link to clipboard 
Print this post

Hello Volhout-san,

Thank you for your suggestion.

1, not existing the folder "A:/high-scores" case

To resolve the problem, following statement should be needed, I think.
If Not Mm.Info(Exists Dir "A:/high-scores") Then
 Const drv$ = Mm.Info$(Drive)
 Drive "A:"
 MkDir "A:/high-scores"
 Drive drv$
EndIf

2, B:/ it cannot find the sprites file

I think, It may case sensitive problem of file name.
In BASIC code description as follows.

Load image "ShootingGameCharactor.bmp"

If real file name is "shootinggamecharactor.bmp" then error will may happened,


If you are really going to integrate it into PicoGamer,
It is very fun and very welcome for me.
In that case, I hope that Volhout-san will make improvements including any unknown problem.

Because I want to waive my rights.
 
Volhout
Guru

Joined: 05/03/2018
Location: Netherlands
Posts: 5936
Posted: 10:08am 22 Jun 2026
Copy link to clipboard 
Print this post

HI Nobukun,

Try this.
shootinggameg_bf.zip

It works nice from the PicoGamer menu. Only thing I would improve is the ending screen. The sprites and text collide.

Thank you for the game,

Volhout

P.S. My native language is Dutch, so English is difficult to translate. I think for you this is the same. Please help me... What does "I want to waive my rights" mean.
PicomiteVGA PETSCII ROBOTS
 
twofingers

Guru

Joined: 02/06/2014
Location: Germany
Posts: 1762
Posted: 10:32am 22 Jun 2026
Copy link to clipboard 
Print this post

Hi Nobutaka-san,  
The game runs nicely via HDMI (mode 2) as well, provided the keyboard polling is adjusted and the speed is reduced.
Thanks for sharing!
Kind regards
Michael
causality ≠ correlation ≠ coincidence
 
Nobukun
Newbie

Joined: 16/06/2026
Location: Japan
Posts: 5
Posted: 12:28pm 22 Jun 2026
Copy link to clipboard 
Print this post

Hello Volhout-san,

Thank you for your modification to add make folder when there is no folder of "high-scores".

I checked good correct operation.

The "I want to waive my rights" meaning is following,

This was originally a source program provided by Google AI.
I simply fixed the errors to make it work correctly and added some fun elements to the game. I don't claim any rights to it.
Therefore, feel free to modify and use it as you wish.

Best Regards,
Nobukun

--------------------------
In recent years, AI performance has improved, and it even provides programming templates. It's become incredibly easy.
Here is Google AI proposed Basic Code.

GoogleAIpresents_ShootingGame.pdf
 
Nobukun
Newbie

Joined: 16/06/2026
Location: Japan
Posts: 5
Posted: 12:42pm 22 Jun 2026
Copy link to clipboard 
Print this post

Hello  Volhout-san,

Regarding "ending screen. The sprites and text collide.",

Adding `cls` before the game over message will solve the problem.
I just wanted to preserve the player and enemy positions at game over.

Best Regards,
Nobukun
 
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 2026