Nightfall

Post

Posted
Rating:
#1 (In Topic #921)
Avatar
Regular
Technopeasant is in the usergroup ‘Regular’
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?"

<IMG src="https://static.miraheze.org/pigalorewiki/9/90/Nightfall.png"> </IMG>

http://icculus.org/pig…fall/Nightfall-1.0.tar.gz
Online now: No Back to the top

Post

Posted
Rating:
#2
Avatar
Guru
cogier is in the usergroup ‘Guru’
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: -

Code (gambas)

  1.   'Commit suicide
  2.       If Key.Code = Key.Del Then Die()
  3.  
  4.       'Shoot
  5.       If Key.Code = Key.ControlKey Then Fire()
  6.  
  7.       'Jump
  8.       If Key.Code = Key.Space Then Jump()
  9.  
  10.       'Crouch
  11.       If Key.Code = Key.AltKey Then Crouch()
  12.  
  13.       'Activate freeaim
  14.       If Key.Code = Key.Tab Then FreeAim = Not FreeAim
  15.  
  16.       'Spawn vampire
  17.       If Key.Code = Key.PageUp Then SpawnVampire()
  18.  
  19.       'Declare victory
  20.       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).

<IMG src="https://www.cogier.com/gambas/shotgun.png"> </IMG>

It's a good start <COLOR color="#FF4000">Ahhhhhhhhh!</COLOR>
Online now: No Back to the top

Post

Posted
Rating:
#3
Avatar
Regular
Technopeasant is in the usergroup ‘Regular’
 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.
Online now: No Back to the top

Post

Posted
Rating:
#4
Avatar
Regular
Technopeasant is in the usergroup ‘Regular’
Could you try adding this line to the Form_Open() subroutine?

Code

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.
Online now: No Back to the top

Post

Posted
Rating:
#5
Avatar
Guru
cogier is in the usergroup ‘Guru’
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!
Online now: No Back to the top

Post

Posted
Rating:
#6
Avatar
Regular
Technopeasant is in the usergroup ‘Regular’
 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.
Online now: No Back to the top

Post

Posted
Rating:
#7
Avatar
Regular
Technopeasant is in the usergroup ‘Regular’
 "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."
Online now: No Back to the top

Post

Posted
Rating:
#8
Avatar
Regular
Technopeasant is in the usergroup ‘Regular’
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.
Online now: No Back to the top

Post

Posted
Rating:
#9
Avatar
Regular
Technopeasant is in the usergroup ‘Regular’
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!

Index of /piga/Files/Nightfall/1.5.1
Online now: No Back to the top

Post

Posted
Rating:
#10
Avatar
Guru
cogier is in the usergroup ‘Guru’
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.

<IMG src="https://www.cogier.com/gambas/Nightfall%20Options.png"> </IMG>

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.
Online now: No Back to the top

Post

Posted
Rating:
#11
Avatar
Regular
Technopeasant is in the usergroup ‘Regular’
And there is that one last minute bug that always creeps in…  :x

I was thinking of adding multiple player options but that has been punted until next year. Apparently I didn't clean that up right.

I will adjust the menu colour as well. Especially seeing how I am in fact also colour blind.

EDIT: the 1.5.1 patch is now up.
Online now: No Back to the top

Post

Posted
Rating:
#12
Avatar
Guru
cogier is in the usergroup ‘Guru’
That's fixed that. The colours are much better thanks. An option to show the control options while the game is running would be helpful.

You also forgot to put in a link to the updated files, which I worked out is here https://icculus.org/piga/Files/Nightfall/1.5.1/
Online now: No Back to the top

Post

Posted
Rating:
#13
Avatar
Regular
Technopeasant is in the usergroup ‘Regular’
 I could try embedding the options form the way I have in PS Tech yeah.

The game speed option was actually added to fine tune when running with WSL.
Online now: No Back to the top

Post

Posted
Rating:
#14
Avatar
Regular
Technopeasant is in the usergroup ‘Regular’
 So having now installed Rocky Linux on my partner's machine it seems the way my games are running are not due to WSL but due to the computer's much faster hardware, so definitely a good thing I added the game speed option. The more concerning thing is the uneven performance I am getting with PS Tech on this machine, but I am looking into it.

What this does however imply is that running it on WSL it essentially the same as any standalone Linux install.

EDIT: adjusting the turn sensitivity and player speed in PS Tech seems to make it work better, so all good.
Online now: No Back to the top
1 guest and 0 members have just viewed this.