Not too bad fps


(Nico1927) #1

Hello everyone, it’s my first post on this forum, just want to share a little game I just finished.
Here is a few screenshots for you to see how it looks like:





I made everything (2 months, everyday), except the sounds which are from freesounds.org, I learned basics of Python to program it, I had never code anything before this so the code is surely not optimised but I tried to keep it organised as much as I could.

I will post a few more screenshots, the .blend file and the standalone (Mac, linux and windows) in another post. If you want to use some assets or scripts for your own game, or improve mine, you’re free to do what you want. The game runs perfectly on my MacBook Pro (mid 2014, 2.6 GHz intel core i5, 8GB 1600 MHz, Intel iris 1536 MB), there’s no textures, low poly style. The environment is a bit empty cause I didn’t want to spend too much time on modelling stuff, I’ve made this to improve my programming skills.

The game is a bit hard (survival FPS), you have an enigma to resolve (not very complicated but not obvious, it’s about the four elements, earth, water, air and fire), spiders are here to kill you, there’s a limited amount of ammo on the map so don’t take too much time to resolve the mystery. There is no save function, if you die you restart from the beginning, the pause menu does NOT pause the game, so there’s no cursor, you select with the arrows and press return.

You can choose in the main menu if you want to play with a qwerty keyboard, by default it’s azerty (I’m French). There is an achievement to unlock, I’ve put the description of it in the main menu.


(Nico1927) #2

Here are 2 more screenshots and a video teaser:
[ATTACH=CONFIG]521373[/ATTACH][ATTACH=CONFIG]521375[/ATTACH]


(Nico1927) #3

Download links:

Windows 64 :

Mac:
-https://drive.google.com/open?id=1qtsSQI6OVV7tHchvkwyaotIgQYjVGYWt

Linux 64:
-https://drive.google.com/open?id=11ss_GGCS2CKVGlh_CNijSytYiIkr4SDV

That’s all, I hope you’ll enjoy the game, don’t hesitate to give me some feedback if you try it, cause even if I won’t continue to develop this game, I d like to know what you think about it and that’s why I’m posting this.

As I said in my precedent post, I had no experience in programming before that, this is the first game I make so, of course, it’s far from perfect, but I’m pretty satisfied of the result, so I 'll keep making some little games probably with Unity.

Sorry for English mistakes, I’m French.
Thanks for reading


(CYNIC78) #4

Lokking good. Can’t wait to try your game!


(Nico1927) #5

The .blend file:
https://drive.google.com/open?id=1d8Fb75SaCeBFlyAdkqvN9yszXISAkcFr

and it seems that the links in the previous post didn’t work:

-Mac:
https://drive.google.com/open?id=1qtsSQI6OVV7tHchvkwyaotIgQYjVGYWt
-Windows:
https://drive.google.com/open?id=1t7cSqzpsnGmQt_ymiGSu5wt2DkeZQ1ri
-Linux
https://drive.google.com/open?id=11ss_GGCS2CKVGlh_CNijSytYiIkr4SDV


(Tatjana Tjorn) #6

It looks like very unusual. The graphic is very good.


#7

Hi

Can you add windowed mode and possibility to set custom resolution ??


(wkk.py) #8

Maybe you can use one of these options when starting the game?

$ upbgeplayer --help

usage:   /usr/share/upbge/blenderplayer [--options] filename.blend

Available options are: [-w [w h l t]] [-f [fw fh fb ff]] [-g gamengineoptions] [-s stereomode] [-m aasamples]
Optional parameters must be passed in order.
Default values are set in the blend file.

  -h: Prints this command summary

  -w: display in a window
       --Optional parameters--
       w = window width
       h = window height
       l = window left coordinate
       t = window top coordinate
       Note: To define 'w' or 'h', both must be used.Also, to define 'l' or 't', all four parameters must be used.
       Example: -w   or  -w 500 300  or  -w 500 300 0 0

  -f: start game in fullscreen mode
       --Optional parameters--
       fw = fullscreen mode pixel width    (use 0 to detect automatically)
       fh = fullscreen mode pixel height   (use 0 to detect automatically)
       fb = fullscreen mode bits per pixel (default unless set in the blend file: 32)
       ff = fullscreen mode frequency      (default unless set in the blend file: 60)
       Note: To define 'fw'' or 'fh'', both must be used.
       Example: -f  or  -f 1024 768  or  -f 0 0 16  or  -f 1024 728 16 30

  -s: start player in stereoscopy mode (requires 3D capable hardware)
       stereomode: nostereo         (default unless stereo is set in the blend file)
                   anaglyph         (Red-Blue glasses)
                   sidebyside       (Left Right)
                   syncdoubling     (Above Below)
                   3dtvtopbottom    (Squashed Top-Bottom for passive glasses)
                   interlace        (Interlace horizontally)
                   vinterlace       (Vertical interlace for autostereo display)
                   hwpageflip       (Quad buffered shutter glasses)
       Example: -s sidebyside  or  -s vinterlace

  -m: maximum anti-aliasing (eg. 2,4,8,16)

  -n: maximum anisotropic filtering (eg. 2,4,8,16)

  -i: parent window's ID

  -d: debugging options:
       memory        Debug memory leaks
       gpu           Debug gpu error and warnings

  -g: game engine options:

       Name                       Default      Description
       ------------------------------------------------------------------------
       fixedtime                      0         "Enable all frames"
       nomipmap                       0         Disable mipmaps
       wireframe                      0         Wireframe render
       show_framerate                 0         Show the frame rate
       show_render_queries            0         Show the render queries
       show_properties                0         Show debug properties
       show_profile                   0         Show profiling information
       show_bounding_box              0         Show debug bounding box volume
       show_armatures                 0         Show debug armatures
       show_camera_frustum            0         Show debug camera frustum volume
       show_shadow_frustum            0         Show debug light shadow frustum volume
       ignore_deprecation_warnings    1         Ignore deprecation warnings

  -p: override python main loop script


  - : all arguments after this are ignored, allowing python to access them from sys.argv

I don’t know if the outputted executable will listen for the parameters, but one could try.


#9

Thank you WKnight02 that works perfectly “./game_linux64 -w 1920 1080”