Home
JAQForum Ver 24.01
Log In or Join  
Active Topics
Local Time 08:34 24 Nov 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 : MMBasic: Knightmare Game

     Page 3 of 10    
Author Message
LeoNicolas

Guru

Joined: 07/10/2020
Location: Canada
Posts: 479
Posted: 10:26pm 17 Dec 2023
Copy link to clipboard 
Print this post

Hello everyone

I released the new version, in which I implemented the power-ups.
There are some bugs I'm still working to fix, such as the lack of SFX when the player is with the contact explosion power-up.

The last game's source code is committed to the project git repo.

https://github.com/leonicolas/knightmare-cmm2

Link for the video:

https://youtu.be/b7kfHDvruPA

 
LeoNicolas

Guru

Joined: 07/10/2020
Location: Canada
Posts: 479
Posted: 02:37am 20 Dec 2023
Copy link to clipboard 
Print this post

Weapon chrystals in development  

Soon, Popolon will have new and more powerful weapons to fight against the enemies.


 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3150
Posted: 11:14pm 20 Dec 2023
Copy link to clipboard 
Print this post

Downloaded into MMB4W and run. I don't know what I'm doing, but I exploded some critters and gained some attributes/powers.
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
LeoNicolas

Guru

Joined: 07/10/2020
Location: Canada
Posts: 479
Posted: 11:40pm 20 Dec 2023
Copy link to clipboard 
Print this post

I don't know if this is good or bad, I hope it is good  

Soon I will release the version where we can update the weapon.

What is missing to be implemented:

1) Shied blocking enemies shots
2) Player receiving a hit
3) The stage boss
4) Stage transition
5) Main menu
6) The other 7 stages with their creatures and Bosse
7) The game ending
8) Support for gamepads
 
Turbo46

Guru

Joined: 24/12/2017
Location: Australia
Posts: 1611
Posted: 11:49pm 20 Dec 2023
Copy link to clipboard 
Print this post

  Quote  I don't know what I'm doing

I posted a link to a manual and a description on the first page of this post.

It's looking good so far.

Bill
Keep safe. Live long and prosper.
 
LeoNicolas

Guru

Joined: 07/10/2020
Location: Canada
Posts: 479
Posted: 12:11am 21 Dec 2023
Copy link to clipboard 
Print this post

Has anyone tested the last version on the CMM2 platform?
 
Turbo46

Guru

Joined: 24/12/2017
Location: Australia
Posts: 1611
Posted: 12:32am 21 Dec 2023
Copy link to clipboard 
Print this post

I'll try it out soon.

Bill
Keep safe. Live long and prosper.
 
lizby
Guru

Joined: 17/05/2016
Location: United States
Posts: 3150
Posted: 12:36am 21 Dec 2023
Copy link to clipboard 
Print this post

  Turbo46 said  
  Quote  I don't know what I'm doing

I posted a link to a manual and a description on the first page of this post.


I still wouldn't know what I was doing, lacking the muscle memory from doing this and the like at a younger age.
PicoMite, Armmite F4, SensorKits, MMBasic Hardware, Games, etc. on fruitoftheshed
 
Turbo46

Guru

Joined: 24/12/2017
Location: Australia
Posts: 1611
Posted: 02:14am 21 Dec 2023
Copy link to clipboard 
Print this post

Well I downloaded the file from GITHUB and tried it on the CMM2 and ended up with the same error:
Error in line 186: Buffer not in use

With MMB4W I got caught by a river and got taken off the bottom of the screen and got the error:
Error in line 63: 200 is invalid (valid is -15 to 199)
I repeated that on the CMM2 and got the same error except the invalid number was 201.

The same errors as before and the CMM2 sprites are the same as before. I believe that the files on GITHUB were unchanged from the first time I tried it.

I have not updated the CMM2 firmware yet.

Bill
Keep safe. Live long and prosper.
 
LeoNicolas

Guru

Joined: 07/10/2020
Location: Canada
Posts: 479
Posted: 02:49am 21 Dec 2023
Copy link to clipboard 
Print this post

  Turbo46 said  Well I downloaded the file from GITHUB and tried it on the CMM2 and ended up with the same error:
Error in line 186: Buffer not in use

With MMB4W I got caught by a river and got taken off the bottom of the screen and got the error:
Error in line 63: 200 is invalid (valid is -15 to 199)
I repeated that on the CMM2 and got the same error except the invalid number was 201.

The same errors as before and the CMM2 sprites are the same as before. I believe that the files on GITHUB were unchanged from the first time I tried it.

I have not updated the CMM2 firmware yet.

Bill


Thank you Bill

The river issue is caused by the missing implementation of the player's death. The player is pushed out of bounds until the sprite is out of range, which causes the issue.
I need to investigate the buffer not in use and also the problem with the sprites and black background. The PNGs are transparent, which is visible on the MMB4W, and I'm using page 0 for the background and page 1 for the sprites, which should work fine.

I need to remove the dust from my CMM2, update it's the firmware and spend some hours debugging the issue :)
 
LeoNicolas

Guru

Joined: 07/10/2020
Location: Canada
Posts: 479
Posted: 05:24am 26 Dec 2023
Copy link to clipboard 
Print this post

Hello everyone, Happy holidays!

Today, I released a new version of the game. Popolon can use different weapons to fight against his enemies.

Video link: https://youtu.be/HToa9Eux45o
Edited 2023-12-26 15:26 by LeoNicolas
 
Turbo46

Guru

Joined: 24/12/2017
Location: Australia
Posts: 1611
Posted: 10:06pm 26 Dec 2023
Copy link to clipboard 
Print this post

Thanks Leo, That is looking good! Is that running on the latest version of MMB4W or the previous one?

The "missing implementation of the player's death" is a good feature.  

I hope ultimately you can implement an easy mode to suit geriatrics with a non-game playing youth. Without it I probably wouldn't make it to the first bridge.

Bill
Keep safe. Live long and prosper.
 
LeoNicolas

Guru

Joined: 07/10/2020
Location: Canada
Posts: 479
Posted: 11:15pm 26 Dec 2023
Copy link to clipboard 
Print this post

Thank you Bill

I will put on my list a difficulty mode, which I can play with some parameters:

1) The % of chance the enemies will shoot
2) The number of enemies shots at the same time on the screen
3) The number of hits the player can have before losing a life.

I have tried running the game on my computer, a Linux machine, using the last MMB4W version. It didn't run well, crashing after a couple of seconds. I don't know if the problem is the new version or on Wine, the software that allows me to run Windows software on Linux.

I posted the issue on Peter's thread: https://www.thebackshed.com/forum/ViewTopic.php?FID=16&TID=16531

Have you tried to run it on the new MMB4W version?
Edited 2023-12-27 09:16 by LeoNicolas
 
Turbo46

Guru

Joined: 24/12/2017
Location: Australia
Posts: 1611
Posted: 11:43pm 26 Dec 2023
Copy link to clipboard 
Print this post

I hadn't tried it but I just did and it works fine on Windows 10.

I got past a couple of bridges and more, I would have died a thousand deaths from those little white ball things and the arrows though. Very Impressive.

A (lack of) difficulty mode would be quite helpful.  

Bill
Keep safe. Live long and prosper.
 
Turbo46

Guru

Joined: 24/12/2017
Location: Australia
Posts: 1611
Posted: 01:04am 27 Dec 2023
Copy link to clipboard 
Print this post

Did I say a was a geriatric? Not sure that I did try the latest version of the game now but I just did on the latest MMB4W and saw some funnies on the left of the screen if that helps.



I can go no further up than here.

EDIT: This is DEFINATELY the latest of each:



It's difficult to know which version is which. Maybe I shouldn't keep the old ones.

The "funnies" are not there now but the game just crashed as you can see.
No error reported.

Bill
.
Edited 2023-12-27 11:30 by Turbo46
Keep safe. Live long and prosper.
 
LeoNicolas

Guru

Joined: 07/10/2020
Location: Canada
Posts: 479
Posted: 03:02am 27 Dec 2023
Copy link to clipboard 
Print this post

Bill

Thank you for testing the game.

That weird text on the left side of the screen was my fault. I committed a debug print. I will remove it in the next version.

There is no boss implementation yet, so the stage ends on that portal.

I don't know how to check why the game crashed without any error. I will try to find something in the MMBasic manual.

Regarding the game version, you can clone the git repo once using the following command:

git clone https://github.com/leonicolas/knightmare-cmm2.git


You can update the code to the latest version simply by running the following command from inside the game directory:

git pull


Git will fetch the last changes to your computer.

You need to have git installed on your computer https://git-scm.com/download/win.
 
Turbo46

Guru

Joined: 24/12/2017
Location: Australia
Posts: 1611
Posted: 03:27am 27 Dec 2023
Copy link to clipboard 
Print this post

I ran it again and got through to the red wall without any crashes this time but I did not encounter that thing I was just stepping onto when it crashed before.

To download the file I just go to the green CODE button and 'download zip'. I don't know if I want to mess with GITHUB too much. It's my record keeping that is mucking me up but I think I have that sorted.

Bill
Keep safe. Live long and prosper.
 
Turbo46

Guru

Joined: 24/12/2017
Location: Australia
Posts: 1611
Posted: 03:51am 27 Dec 2023
Copy link to clipboard 
Print this post

Played a few more times and got to the end. The last time I hit that square thing with the red on it again and it crashed just like before.



Hope that helps.

Bill
Keep safe. Live long and prosper.
 
LeoNicolas

Guru

Joined: 07/10/2020
Location: Canada
Posts: 479
Posted: 04:34am 27 Dec 2023
Copy link to clipboard 
Print this post

Thank you Bill

This helps a lot. I will take a look at the red box. It is the time freezing box, that freezes enemies for 10 seconds
Edited 2023-12-27 14:34 by LeoNicolas
 
LeoNicolas

Guru

Joined: 07/10/2020
Location: Canada
Posts: 479
Posted: 05:59pm 27 Dec 2023
Copy link to clipboard 
Print this post

Bill

I have found and solved the issue with the red block. Thank you very much for helping with the game testing.

I also implemented the shield collision.
 
     Page 3 of 10    
Print this page
© JAQ Software 2024