Games by John Lansing
Games by John Lansing
  • 34
  • 36 397
No framework needed! Lightweight Rx BehaviorSubject in Unity using C# Events
Curious about how to implement Rx-like BehaviorSubject functionality in your Unity or C# project without adding extra libraries? I’ll walk you through how to do it using just a simple event wrapper! Learn how to store and emit the latest value for your properties to all observers, which is common for many game development or software engineering scenarios. Let me know in the comments if you have questions or need clarification!
#gamedev #programming #csharp #softwareengineering #unity3d #techtips #rxdotnet
Переглядів: 46

Відео

John vs. CPU - Full Match!
Переглядів 12Місяць тому
John vs. CPU - Full Match!
FFT - Official Steam Trailer
Переглядів 71Місяць тому
FFT - Official Steam Trailer
Fantasy Football Tactics - Caster - Ability No. 1 - Flame
Переглядів 53 місяці тому
Fantasy Football Tactics - Caster - Ability No. 1 - Flame
Fantasy Football Tactics - Fumble!
Переглядів 83 місяці тому
Fantasy Football Tactics - Fumble!
Fantasy Football Tactics - Balancer - Ability No. 1 - Restore
Переглядів 53 місяці тому
Fantasy Football Tactics - Balancer - Ability No. 1 - Restore
Chroma Keeper: Chroma Keeper (Direct feed beta footage)
Переглядів 5010 років тому
Chroma Keeper: Chroma Keeper (Direct feed beta footage)
Standard Saucony
Переглядів 32 тис.14 років тому
Standard Saucony
Absorb Level 1-3: Absorb a big orb!
Переглядів 24014 років тому
Absorb Level 1-3: Absorb a big orb!

КОМЕНТАРІ

  • @FidoArtz
    @FidoArtz 13 днів тому

    so the original concept had a football field. i wonder if there will be arenas in the game you can play matches in. i do enjoy the unique maps in the game. maybe there can be a map editor for custom maps?

    • @jlansing19
      @jlansing19 13 днів тому

      Yeah! The original vision was a more literal interpretation of turn-based football. I wanted it to have full 11-on-11 games where you needed to manage each individual offensive/defensive lineman and more. I actually got this working but it was too big of a project for me to manage and actually make fun. In any case, I started taking liberty with the concept to land where I am today. Maybe it's something I'll revisit some day. An arena or something resembling a more traditional stadium is a good idea! I have added it to my todo list. There is a level editor but it's built in Unity right now. I do hope to integrate it into the game some day but it likely won't make it for launch as it's a big undertaking.

  • @evanlane1690
    @evanlane1690 25 днів тому

    Well, that was absolutely a minute worth my time. Thanks man!

    • @jlansing19
      @jlansing19 25 днів тому

      I’m thrilled you found it worthwhile! Thanks for taking the time to watch and comment. Let me know if you try the pattern out, or if you have any questions about it!

  • @digitalworkbench
    @digitalworkbench 28 днів тому

    Congrats getting it working. Gonna have to be careful with those level designs that don't result in instantly getting the ball to the goal. Maybe a dead zone in code for in or around the goal? edit: or maybe just don't allow going through units or taller objects.

    • @jlansing19
      @jlansing19 28 днів тому

      Thanks! Wasn’t long after you signed off. I am thinking through how I want to prevent this situation. It already works where you can’t teleport to a tile that is already occupied. That might be enough and will make you think twice about your positioning as a defense… Need to do some play testing.

  • @FidoArtz
    @FidoArtz Місяць тому

    i was thinking there would be a tackle move that pushes a player back 1 or 2 steps back.

    • @jlansing19
      @jlansing19 Місяць тому

      @@FidoArtz So “Tackle” is a standard damage ability that all units have, and provides a normal chance of forcing a fumble (% = Current BP/Max BP) but it does not push. There are other special abilities that do push though!

  • @FidoArtz
    @FidoArtz Місяць тому

    Will cpu vs cpu be offered in the game official?

    • @jlansing19
      @jlansing19 Місяць тому

      Yes it will! I loved that mode in Tecmo Super Bowl and Street Fighter 2 as a kid. My family enjoys CPU tourneys in Smash Bros. as well… so I want to offer something similar.

  • @Omar_Al_Seddik
    @Omar_Al_Seddik 2 місяці тому

    Looking good!

    • @jlansing19
      @jlansing19 2 місяці тому

      @@Omar_Al_Seddik Thank you!