Author: Chastity White Rose

  • Tetris: 9 Line Perfect

    I have been running solution finder to try to solve a certain field.txt file. It looks like this:

    9
    XXXX___XXX
    XXXX___XXX
    XXXX___XXX
    XXXX___XXX
    XXXX___XXX
    XXXX___XXX
    XXXX___XXX
    XXXX___XXX
    XXX____XXX

    The program seems to crash after running for some time. However I know for a fact that there are multiple solutions to solve this map with a perfect clear. I have created this map on jstris as well.
    https://jstris.jezevec10.com/map/58880

    I have a video to prove one solution that works well.

    The reason that this is important is because it is an efficient way to lower the stack while doing a mechanical TSD method. It works because this same shape is created automatically. If the stack is a minimum of 9 lines high, it becomes possible to clear it with an entire bag of pieces. Of course this may not always result in a perfect clear of the screen but it will lower the stack by 8 or 9 lines depending on how the stack got started. This makes it an effective method of achieving even higher scores because it means that more T spin doubles can be done after this. It becomes increasingly important to memorize these patterns so that they can be done in ultra mode.

    Until I get solution finder to work for me. I will discover these methods manually and create images of how the solutions work. Here is the first.

  • This is Wrong

    This is so wrong. I’m only sharing it for the purpose of letting the world know that I do not approve of these educational materials for children. People often assume that I am just because I am transgender. They think that I am part of the trans agenda or the gay agenda, or whatever weird myths are going around.

    But schools do not need to be teaching 5 year olds how to do all kinds of sexual things. I’m 35 and I’ve never imagined doing such horrible things. Let kids be kids and let them be educated by their parents or at least figure things out on their own like humans have done since ancient history.

  • Font Library Performance Boost

    I just discovered something major while working on my next game and reading the SDL wiki. It turns out that if you convert a surface to the same format as what it is going to be copied to, then the blitting will be much faster!

    Therefore I used this function:

    https://wiki.libsdl.org/SDL2/SDL_ConvertSurface

    And then updated the file in the SDL version of my font library, Chaste Tris, and the current game that is in development. Now everything will run much faster which is ultra important especially for Chaste Tris because it writes a lot of text to the screen and every single character is nothing more than a SDL_BlitSurface call.

    In other news I have recently created a Patreon account.

    https://www.patreon.com/ChastityWhiteRoseProgramming

    It’s dedicated to my programming projects and I hope to share the news of my current game development and how I compile and run things with SDL and the C Programming Language.

  • Windows SDL environment

    Compiling software on Windows is never as easy for me as it is on Linux. However I am experienced enough with the command line to create a helpful script to assist me when building my SDL programs. I took these screenshots of my text file full of my notes so that I can always remember how I did it and help others who are on Windows but want to start making their own software with SDL.

  • SDL Chaste Font

    I translated my font library to use the SDL library this time. This means I could use the same font functions when making an SDL game instead of Raylib. I plan to make a simple SDL only game at some point.

    https://chastitywhiterose.itch.io/sdl-chaste-font

    Below are some screenshots of code and a demo.

    I do like SDL because I find the code easier to read in some cases. It just doesn’t have all the polygon drawing features that I typically expect such as drawing filled triangles. I am also very ignorant about all the features it has since SDL2. I also read that SDL3 is in development so it is quite possible that the features I want might be in a future version. Until then I will be learning more how to use SDL and make a much simpler game than Chaste Tris or Chaste Puyo were.

    I am still deciding what type of game it will be and how I might implement it. I am playing other games to get inspiration.