Page 1 of 2

Nightfall

Posted: Monday 31st October 2022 1:41am
by Technopeasant
A scrolling shooter game for Halloween 2022. :twisted:

"Another All Hallow's Eve means another night of terror. The dreaded Count has again amassed his vile forces against you. Armed only with your rusty shotgun, some silver shells, and your own cursed bloodlust, can you banish him to the darkness for another year?"

Image

http://icculus.org/piga/Files/Nightfall ... 1.0.tar.gz

Re: Nightfall

Posted: Monday 31st October 2022 3:28pm
by cogier
I think the graphics are very good and smooth.

The first time I started the program, I was trying to work out what to do in this new environment, then I was dead! I think the game could do with a 'Start' button (and a Pause?). Looking at the code, there are lots of buttons to press: -
  'Commit suicide
      If Key.Code = Key.Del Then Die()

      'Shoot
      If Key.Code = Key.ControlKey Then Fire()

      'Jump
      If Key.Code = Key.Space Then Jump()

      'Crouch
      If Key.Code = Key.AltKey Then Crouch()

      'Activate freeaim
      If Key.Code = Key.Tab Then FreeAim = Not FreeAim

      'Spawn vampire
      If Key.Code = Key.PageUp Then SpawnVampire()

      'Declare victory
      If Key.Code = Key.PageDown Then Victory()
Some instructions as to what to press and an explanation as to what all the numbers indicate would be helpful. The shotgun cartridges seem to be slightly 'cut' on my display. (Linux Mint 20.3 Cinnamon desktop).

Image

It's a good start Ahhhhhhhhh!

Re: Nightfall

Posted: Monday 31st October 2022 9:36pm
by Technopeasant
As usual I had to keep it trim to meet my deadline, but a version with a help screen and more options will be out in time.

There is actually a pause button already, but it's not a bad idea to make the action start when you actually press a key.

I think I know how to fix the cartridge issue.

Re: Nightfall

Posted: Tuesday 1st November 2022 1:57am
by Technopeasant
Could you try adding this line to the Form_Open() subroutine?

Code: Select all

PBShells.Width = PBShells.Picture.Width
I tried replicating your issue with Cinnamon on my machine, but it displayed fine with or without the fix.

I also realized that I forgot to set form scaling to false, so that could also be the problem.

Re: Nightfall

Posted: Tuesday 1st November 2022 10:53am
by cogier
I tried replicating your issue with Cinnamon on my machine, but it displayed fine with or without the fix.
I tried your program on my laptop (Mint 20.3 Cinnamon) and I did not see any issue. Then I thought I would upgrade the laptop to Mint 21, if you are going to do this remove Gambas first. The game also showed no issue in Mint 21 Cinnamon. So just put this down to one quirky machine!

Re: Nightfall

Posted: Wednesday 2nd November 2022 1:07am
by Technopeasant
Thanks. I will keep my patch though just in case. I have the picturebox tiling so if it isn't sized correctly there could be unwanted duplicates.

Re: Nightfall

Posted: Thursday 3rd November 2022 2:48am
by Technopeasant
"Control character with the mouse or keyboard (WASD or arrow keys, drag mouse). Control key/left click fires, space/right click jumps, alt/middle click crouches. Walk over to pick up items. Shotgun reloads automatically. Backspace key resets the game [currently Home in the released version, but I am changing this]. Esc quits. Hidden keys abound. The Count appears after five minutes."

Re: Nightfall

Posted: Monday 14th November 2022 3:54am
by Technopeasant
Just noticed an amusing exploit. If you move off the screen you can escape the reach of all the monsters and just wait out the arrival of the Count.

Re: Nightfall

Posted: Wednesday 1st November 2023 3:18am
by Technopeasant
The 1.5.0 update adds a splash screen, main menu, help screen, various options, multiple new enemies and a beast mode that activates if the player gets a kill streak!

http://icculus.org/piga/Files/Nightfall/1.5.1/

Re: Nightfall

Posted: Wednesday 1st November 2023 5:17pm
by cogier
I downloaded the file Nightfall-1.5.tar.gz. The program crashed when the Options button was pressed, I was able to fix it by adding Public Male As Boolean = True to the Options class, but I don't know if that is correct.

Image

I found the dark text on the rich red background very difficult to read. I am colour-blind, as are 1 in 3 males, which probably does not help, but a greater contrast would be appreciated.

The graphics look good, as usual.