Nightfall

So you have written that new, must have program. Let us see it here.
Post Reply
User avatar
Technopeasant
Posts: 86
Joined: Saturday 13th July 2019 6:50pm
Location: Stony Plain, Alberta, Canada
Contact:

Nightfall

Post 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
Technical director,
Piga Software
http://icculus.org/piga/
User avatar
cogier
Site Admin
Posts: 950
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

Re: Nightfall

Post 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!
User avatar
Technopeasant
Posts: 86
Joined: Saturday 13th July 2019 6:50pm
Location: Stony Plain, Alberta, Canada
Contact:

Re: Nightfall

Post 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.
Technical director,
Piga Software
http://icculus.org/piga/
User avatar
Technopeasant
Posts: 86
Joined: Saturday 13th July 2019 6:50pm
Location: Stony Plain, Alberta, Canada
Contact:

Re: Nightfall

Post 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.
Technical director,
Piga Software
http://icculus.org/piga/
User avatar
cogier
Site Admin
Posts: 950
Joined: Wednesday 21st September 2016 2:22pm
Location: Guernsey, Channel Islands

Re: Nightfall

Post 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!
User avatar
Technopeasant
Posts: 86
Joined: Saturday 13th July 2019 6:50pm
Location: Stony Plain, Alberta, Canada
Contact:

Re: Nightfall

Post 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.
Technical director,
Piga Software
http://icculus.org/piga/
User avatar
Technopeasant
Posts: 86
Joined: Saturday 13th July 2019 6:50pm
Location: Stony Plain, Alberta, Canada
Contact:

Re: Nightfall

Post 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."
Technical director,
Piga Software
http://icculus.org/piga/
User avatar
Technopeasant
Posts: 86
Joined: Saturday 13th July 2019 6:50pm
Location: Stony Plain, Alberta, Canada
Contact:

Re: Nightfall

Post 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.
Technical director,
Piga Software
http://icculus.org/piga/
Post Reply