Page 1 of 2 12 LastLast
Results 1 to 10 of 15

Thread: MaxDe - physics based game for Linux (64-bit)

  1. #1

    MaxDe - physics based game for Linux (64-bit)

    I'm pleased to present the physics based Linux Freeware game MaxDe.


    https://www.jonax.se/linux/maxde.php


    Like previous projects MaxDe got very modest system requirements and runs well on virtual machines.


    The controls are very simple. Just use the any key at the right moments. A little patience and some dexterity helps.


    I can't take credit for the concept. That honour goes to renowned 19th century physicist James C Maxwell with his famous Gedankenexperiment -Maxwell's Demon.

    Here used for gameplay to challenge your patience and dexterity. You got to play the part of the Demon.


    The more scientifically interested may instead use the program for evaluating the process of spontaneous order appearing.
    With a few molecules spontaneous order appears in a reasonable timeframe, but how about more crowded systems?
    That's for you to find out.


    Either way. I hope you will enjoy the MaxDe
    Last edited by Jonax; 26-07-2022 at 01:30 PM. Reason: Minor adjustments

  2. #2
    Curious game. Simple.

    A problem: it doesn't look nice with a dark theme.

    MaxDe.png

    You should force color to black or something.
    No signature provided yet.

  3. #3
    Quote Originally Posted by Ñuño Martínez View Post
    Curious game. Simple.

    A problem: it doesn't look nice with a dark theme.

    MaxDe.png

    You should force color to black or something.
    Thanks for feedback Ñuño.

    Indeed that doesn't look nice and was not intended.
    I think that is punishment for me being lazy and selecting the predefinded color clBitBtn instead of figuring out the hex code för the desired light gray I wanted. Looked good enough for me at home but I don't use dark theme so wasn't aware of that effect. Should have guessed it was risky to use predefined color. At least the money-green color seems to behave well in dark mode too.

    I'll make a new version trying to fix the dark theme.

    A trickier problem is the font. Captions should be black and not white. I Don't think I made any strange settings there and I don't know why they appear white for you. Any suggestions?

    Lastly I can mention I got feedback from elsewhere. Apparently the game is considered too slow. It is a zen style game but I can see that the default number of balls make it too tranquil. Next version will start with 16 balls to give some immediate challenge.

    Update ongoing: but may take some time.
    Last edited by Jonax; 28-07-2022 at 05:59 PM. Reason: Minor adjustments

  4. #4
    Game updated. Slightly different colouring. Icon slightly adjusted. Start-mode now the more challenging 32 balls. I'm afraid speed got to remain the same.


    Since it's still in preview mode I was lazy and let the new exectuable keep the same name.
    So no new version number but new SHA512 checksum





    https://www.jonax.se/linux/maxde.php

  5. #5
    Quote Originally Posted by Jonax View Post
    A trickier problem is the font. Captions should be black and not white. I Don't think I made any strange settings there and I don't know why they appear white for you. Any suggestions?
    Captions looks white because default color for text in dark mode is white.

    I've test the updated version and text are still white.

    As a suggestion, what about allow to select the number of balls?
    No signature provided yet.

  6. #6
    Quote Originally Posted by Ñuño Martínez View Post

    As a suggestion, what about allow to select the number of balls?
    Thanks again for valuable feedback Very helpful and much appreciated.

    I have no plan for the white text right now. Got to see if there is some solution.

    Actually there is already a way to select the number of balls but I now see that I was not very clear about that option.

    Got to make that clearer somehow. I guess I got to write a line about that on the website and give the the instructions a more prominent space in the What-to-Do form.

    How to select number of balls? Well, you got five difficulty levels. Selectable with keys 1, 2, 3, 4, 5 on the main keyboard.

  7. #7
    Quote Originally Posted by Jonax View Post
    I think that is punishment for me being lazy and selecting the predefinded color clBitBtn instead of figuring out the hex code for the desired light gray I wanted.
    There is nothing wrong about using predefined colors. You just need to use Delphi or in your case Free Pascal predefined static colors and not system defined colors. How do you know which ones are static and which defined by system?
    You can find out this simply by typecasting the color value to an integer. If it is positive then it represents Delphi/Free Pascal defined static color. But if it is negative then it corresponds to a specific system defined color that can be changed on system side through UI settings or UI themes being used.

    Here is a few examples:
    Code:
    clBlack = 0
    clBtnText = -16777198
    clGray = 8421504
    clGrayText = -16777199
    Quote Originally Posted by Jonax View Post
    I have no plan for the white text right now. Got to see if there is some solution.


    Not sure if this is same in FPC/Lazarus but in Delphi you change text color through Font property. Default font color is set to clBitBtnText which is a system defined color (as shown above it has negative value).

  8. #8
    @SilverWarior : Thanx for yet a piece of instructive and useful feedback.

    I have to look into those negative color values. As you say this may be one of the cases where Lazarus and Delphi differ slightly but either way the situation got to be addressed somehow.

    Meanwhile I have made color changes which I hope will be readable for both dark and light themes.

    The start screen is also changed so the first thing the player must do is to chose difficulty level (keys 1-5)

    I hope the game will behave better now and be interesting despite the slow pace and low action.




    ^ Start mode. Select difficulty with keys 1, 2, 3, 4 or 5


    ^ Ongoing
    Last edited by Jonax; 31-07-2022 at 08:49 AM. Reason: typo

  9. #9
    Quote Originally Posted by Jonax View Post
    Meanwhile I have made color changes which I hope will be readable for both dark and light themes.
    I liked your previous color choice more. Current button colors are to vibrant and thus stand out to much.

    Quote Originally Posted by Jonax View Post
    The start screen is also changed so the first thing the player must do is to chose difficulty level (keys 1-5)
    In order to make choosing of difficulty more intuitive I recommend you make use of the RadioGroup component. Ant to make radio group horizontal just make sure that you change its column property to the number of radio buttons that it contains (5 in your case).
    You could still keep keyboard binding for choosing desired difficulty quickly and add two more with left and right keys increasing and decreasing the difficulty respectively.

  10. #10
    Indeed the current colors are a bit strong. I obviously liked the paler type of color from the earlier version. This is more of an attempt to make the captions and text more readable for the dark mode users. That white font on pale background is not looking good, as pointed out by Ñuño Martínez.

    I still haven't tried/managed to force the font to black so this is a mitigating attempt.
    The hope is that though the colors may be a bit strong at least most user can read the letters and better see what's going on and what's to do.

    Using a RadioGroup for selecting difiicutly is an interesting idea. I generally like using the available Lazarus components, when possible. Why invent the wheel again when so much userful stuff is already available?

Page 1 of 2 12 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •