"A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize

For other topics related to the FreeBASIC project or its community.
Landeel
Posts: 751
Joined: Jan 25, 2007 10:32
Location: Brazil
Contact:

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize

Postby Landeel » Feb 02, 2019 17:02


Wow, awesome game.
Cool retro graphics, remind me of Cave Story.
And plays so smooth.
Congratulations!
I have some serious screen tearing on Linux, but it's possibly fbgfx's fault. Running with compton made it a little better.
Maybe you could add an optional OpenGL video mode. It can draw primitives if you use a git snapshot of fbc.
Pitto
Posts: 119
Joined: Nov 19, 2012 19:58

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize

Postby Pitto » Feb 02, 2019 18:12

Hi Landeel,

thank you for your feedback. I appreciate it.

Maybe the tearing are causes by the fact I did conditional compiling and "ScreenSync" isn't present for target Linux OS. However I did test it in Ubuntu and did'nt noticed serious screen tearing (the videos I've posted before are recorded from a Linux machine).

Anyway here's the portion of code that may be responsible for tearing (I've used pixel based movement, no Delta timing):

Code: Select all

   
   #IFDEF __FB_LINUX__
      
   #ELSE
      ScreenSync
   #ENDIF
   
   screenlock ' Lock the screen
   
   screenset Workpage, 1 - Workpage  ' Swap work pages.
   
   cls
      
   put (0, 0), canvas.original_size, pset
   

   workpage = 1 - Workpage ' Swap work pages. 
   
   screenunlock
   'some stuff   
   
   #IFDEF __FB_LINUX__
      sleep 20,1
   #ELSE
      sleep 10,1
   #ENDIF
   
Tourist Trap
Posts: 2958
Joined: Jun 02, 2015 16:24

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize

Postby Tourist Trap » Feb 02, 2019 20:50

Pitto wrote:

Hi Pitto,

what a tremendous work you did ! The music in particular is superb. As well as the character design. Perfectly in theme. Fast, and quite funny.
Now that you finished, maybe you will consider using speech with the windows api? It's easy to add, there ate examples in the forum, and maybe we could hear Ouch more convincingly when dying :) Just an idea like that, it's very good in any case!
Pitto
Posts: 119
Joined: Nov 19, 2012 19:58

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize

Postby Pitto » Feb 02, 2019 23:16

Hi Tourist Trap,

thank you for the feedback.

I'm glad that the game looks funny to play for you.

I did the majority of sound by myself ( I did edited my voice or my whistles to record "ouch", jumps or floppy launches, even the wood box explosion has been recorded jumping over an old wood box).

Soon I will release the sources, and anyone may modify the project accordingly to his needs, even adding sythetized speech.

Best regards
Landeel
Posts: 751
Joined: Jan 25, 2007 10:32
Location: Brazil
Contact:

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize

Postby Landeel » Feb 03, 2019 1:09

I will call this a beta, but it's already fully playable:
https://drive.google.com/open?id=1Alx6zsW3vZ_4eWf53IKYBHpih1AUEuZH

I have made many changes based on the feedback, mostly to the engine:
-Timesync=auto is the new default. Timesync will engage if vsync is not available;
-Added option "showfps" to display the framerate during game. It should always be 60 or close to it;
-Fullscreen=auto is the new default. In Windows with Intel graphics, the game will start windowed (resolution bug);
-Separated threaded input from multithreading. Due to instability reports, threaded input is now disabled by default;
-Can use SDL 2.0 or 1.2 for audio;
-The "select" button/key now rotates the action palette;
-Some gameplay and physics changes based on player suggestions;
-Some other stuff I can't remember;

I have followed some suggestions, and some I didn't.
I didn't want to end up with a regular shootem'up. I wanted something different, and I think I have accomplished that.
The real challenge to the game is to discover what each keyword does, and learn how to survive with them.
You will need multiple weapons, it's impossible to survive using only one kind.
It gets pretty fun and easy once you master them. Just continue playing and you will see. I promise.
It's not nearly as hard as Gradius, Zanac or the airplane stages of Cuphead.
And yeah, I have beaten it twice today.B)
Pitto
Posts: 119
Joined: Nov 19, 2012 19:58

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize

Postby Pitto » Feb 03, 2019 14:05

Hi Landeel,

I've played the last release of your game, it runs smooth on Win 10 home ver. 1803 (Intel Pentium(R) CPU 3825U @ 1.90 Ghz 4.00 Gb Ram).
I've used this analog joypad: Thrustmaster DualAnalog 4

I'mI'm not a talented gamer, I am not able to finish the first level, anyway I like it.

Best regards
Landeel
Posts: 751
Joined: Jan 25, 2007 10:32
Location: Brazil
Contact:

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize

Postby Landeel » Feb 03, 2019 15:16

Small update.
SDL 2.0 music bug fixed.
Some minor physics fixes.
Minor cosmetic changes.
Same link.
https://drive.google.com/open?id=1Alx6zsW3vZ_4eWf53IKYBHpih1AUEuZH
Tourist Trap
Posts: 2958
Joined: Jun 02, 2015 16:24

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize

Postby Tourist Trap » Feb 03, 2019 15:29

Landeel wrote:Small update.
SDL 2.0 music bug fixed.
Some minor physics fixes.
Minor cosmetic changes.
Same link.
https://drive.google.com/open?id=1Alx6zsW3vZ_4eWf53IKYBHpih1AUEuZH

Hello,

I still have to use scale values to get a decent screen size, otherwise all good, thanks for sharing :)
Landeel
Posts: 751
Joined: Jan 25, 2007 10:32
Location: Brazil
Contact:

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize

Postby Landeel » Feb 03, 2019 15:35

I still have to use scale values to get a decent screen size, otherwise all good, thanks for sharing :)

Hey, thanks for testing.
What happens if you press ALT+ENTER?
Can you try other resolutions and tell me if any works?
Also, can you try with fullscreen=0 and borderlesswindow=1?
maachal
Posts: 33
Joined: Jul 21, 2017 21:11
Location: czech

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize

Postby maachal » Feb 03, 2019 15:43

I came across this thread about a week ago.
I have never programmed games, but I tried it. ;-)
There is no time for fun so it was quickly programmed. My dream is to be at least the last one. :-D
It's just a simple console shooter.
Best to run with a nonproportionate font. Perhaps the Terminal 8x12.

http://www.hsgi.cz/dokumenty/sctank-zip/
Corrected version.

In a package sctank.zip:
sctank.bas - source code
sctank32.exe - 32bit exe
sctank64.exe - 64bit exe
sctank.sav - save best level and score

My record so far 27 levels and 37670 points.

Have fun! ;-)

I'm sorry for my bad English.
Last edited by maachal on Feb 04, 2019 9:33, edited 1 time in total.
Pitto
Posts: 119
Joined: Nov 19, 2012 19:58

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize

Postby Pitto » Feb 03, 2019 18:26

Here's the public repository of my entry:
https://github.com/Pitto/Impossible_Victhorse

Maybe I will change something before the deadline.
Lachie Dazdarian
Posts: 2338
Joined: May 31, 2005 9:59
Location: Croatia
Contact:

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize

Postby Lachie Dazdarian » Feb 03, 2019 20:24

Damn, I was away from my computer this weekend, will be able to try new releases later tomorrow, after work.

Eager to try all.

Those late starters, I remind you, we will have a second round lasting until 18th of March.

Also, round one goes for one more week, until 11th.
gothon
Posts: 224
Joined: Apr 11, 2011 22:22

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize

Postby gothon » Feb 04, 2019 1:46

Hi, maachal I have made a debug build of your game,

Code: Select all

fbc -g -exx -s console "sctank.bas""

but when I run sctank.exe I get

Code: Select all

Aborting due to runtime error 0 () at line 1259 of sctank.bas::()


Also, ssjx, Pitto, and Landeel I have played your games aswell. Good Job Everyone!

ssjx, interesting concept, and definitely improved with the music tracks, and other additions since your first release

Pitto, 546 keywords to collect! That is quite a lot, I only have about 92 FB keywords/operators in my game atm

Landeel, nice that you have a 2 player mode and a full gamepad mapping support, however the mapping doesn't seem to work on my computer! I push the key, and it flickers and resets to the default, maybe I am pressing something wrong?
maachal
Posts: 33
Joined: Jul 21, 2017 21:11
Location: czech

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize

Postby maachal » Feb 04, 2019 9:36

gothon wrote:Hi, maachal I have made a debug build of your game,

Code: Select all

fbc -g -exx -s console "sctank.bas""

but when I run sctank.exe I get

Code: Select all

Aborting due to runtime error 0 () at line 1259 of sctank.bas::()


Thank you for warning me of the mistake, I'm ashamed.
http://www.hsgi.cz/dokumenty/sctank-zip/
Corrected version.
Landeel
Posts: 751
Joined: Jan 25, 2007 10:32
Location: Brazil
Contact:

Re: "A Love Letter To FreeBASIC" Game Dev Competition (Oct 2018 – Feb 2019), 1000 $ 1st prize

Postby Landeel » Feb 04, 2019 10:09

Landeel, nice that you have a 2 player mode and a full gamepad mapping support, however the mapping doesn't seem to work on my computer! I push the key, and it flickers and resets to the default, maybe I am pressing something wrong?

You mean when you enter the "gamepad setup"?

Return to “Community Discussion”

Who is online

Users browsing this forum: No registered users and 4 guests