Coder Social home page Coder Social logo

tgmsim's People

Contributors

2tie avatar prism019 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

stooxon zaphod77

tgmsim's Issues

Issue: Project targets .NET 4.5.

version 4.6.1 is the earliest one that actually installs on windows 10.

So if possible, i recommend switching the target to that, and retesting yourself.

My visuals studio asked me to get the targetting pack for 4.5, but the 4.5 developer pack is no longer even offered for download.

VS offered to update the solution to 4.6.1, which i let it do, and the it did compile.

Piece Generator Konoha Mode Slow Down Potential

The piece generator when in konoha mode can select an unusable piece randomly from the set of all tets, not just those for konoha mode. While unlikely, this can cause slow down/stutters as the game has to keep hunting for a "correct" piece, potentially hitting unusable pieces enough time to make the frame's processing time longer than a single frame.

Solution: have the piece generator select from a modified selection of pieces that only include the usable pieces.

Timer bug - ARE during active piece

The active timer is only set to Lock when the piece is touching the stack, otherwise it's set to ARE. This also has the side effect of playing the contact sound effect when the timer transitions from ARE to Lock, which isn't intended behaviour and will need fixing when this main bug is fixed. A further error that went unnoticed due to all this shenanigans is that the sound effects for contact and lock have been flipped in both their assignments and usage.

This is all fixed in dev branch.

scoring is innacurate

my first tetris in the game jumps me up form grade 9 to 4; I feel this is inaccurate and needs more looking into.

Sounds ignore the Windows Mixer

When you start the game or change the mode (main menu/mode select/game/title screen etc.) the sound will go back to 100%, even when the Windows Mixer is set to 1%...

TGM4 Spawn Location

In tgm4, pieces spawn with their bottom row at row 21. This is not the case in TGMsim.

Phasing at high gravities

seen around gravity level 22, some blocks (I block at minimum) are able to phase through a layer of blocks. investigation needed.

Crashes when a replay is the first game

need to change from resetting the field to replaying the recording, else last time you're in mode select is used. if you haven't been in mode select yet, this crashes TGMsim.

J and L tetrominoes have incorrect kicks

J and L in spawn orientation use correct kick restrictions and exceptions, but in upside-down orientation are unable to utilize the exception.

fixed in dev branch

Okay. full description on bloxeed RNG gameflow.

At mode select, there's 1 pull to seed piece sequence. second pull is for player 1's first piece's item (which cant' ever happen) third pull is for second player's first piece's item even if the second player isn't playing yet) the fourth pull would then be for the first player to start's second piece, if playe 2 starts the item seed will advance once, when player2's second piece is generated.

Given that, to actually generate the poweron item sequence, the starting seed for that should be 6037B943, assuming game windows do not interact in TGMSIm.

Timing the 8th item for a powerup block at height below 9 (not too difficult) gives you a Flicky this way.

Yes, this does mean that the powerups are actually determined by your piece sequence the first time through without continuing, and that your next game if nto cotinued gets a piece seequence that depends on how many pieces yo place. an incredibly clever player could do some silly stuff by playing a specific number of pieces for each game before their maxout attempt.

Compress replays

already planned for, just need to implement frame compression into the replay format. existing replays as of current version should be fully compatible, no need for upver.

BUG: Bloxeed piece generator innacurrate.

Explanation.

  1. Bloxeed doesn't loop at 1000
  2. Bloxeed runs the main randomizer once to provide a seed to the piece generator (main randomizer is from Sega Tetris, but uses a default seed 1 higher)
  3. Bloxeed ands the result from the piece generator with 0x7f, not 0x3f.
  4. before doing a modulo 7, it checks the three high bits of the ANDed result (looks for a 7 there)
  5. if found, set s/z conversion flag, otherwise clear it.
  6. after doing modulo 7, if conversion flag is set, replace 1 and 2 with 0 (transform S and Z to I).
  7. the main randomizer is used to choose items. it is advanced ce per piece, and a lookup table based on the lower 6 bits of the result and the height of the center 4 columns of the stack is used to determine items.

https://tetris.wiki/Bloxeed#Power_Blocks

info on how to get powerups working.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.