Git Product home page Git Product logo

deckswipe's Introduction

deckswipe's People

Contributors

cargy avatar outfrost avatar stormofice avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

deckswipe's Issues

Rename stats

Change the 4 basic gameplay stats
from Heat, Food, Hope, Materials to Coal, Food, Health, Hope.

NullReferenceException in GameProgress.AttachReferences

Hi , I have a error
This Line -> Card card = cardStorage.ForId(entry.id);

NullReferenceException: Object reference not set to an instance of an object
DeckSwipe.Gamestate.GameProgress.AttachReferences (DeckSwipe.Gamestate.CardStorage cardStorage) (at Assets/DeckSwipe/Gamestate/GameProgress.cs:24)
DeckSwipe.Gamestate.Persistence.ProgressStorage+<Load>d__12.MoveNext () (at Assets/DeckSwipe/Gamestate/Persistence/ProgressStorage.cs:44)

Add stat bar graphics

Right now stat bars are just that - bars with no description. Add graphics to represent what they mean.

Store and check card prerequisites

Some cards can only be shown to the player once some other card has been shown already or some particular decision has been made with another card.

Create gameplay stats

Create the primary gameplay stats and their UI visualisations, and make them respond to card actions

Design a data model for cards

Determine how individual cards should be represented in the game's memory and, consequently, what their import data should look like.

[GoogleSheetsImporter] Request failed

Hi outfrost,
There seems to be a problem when loading the google sheets which make the project not playable. Is there any way you could fix it ?
thanks

How to use card prerequisites?

Hello sir, First of all ty for this awesome opportunity to learn. Can you give an example to use card Prerequisite?. For example, a card can only be drawn when Another card responded with left action before.

Switch to Unity's new Input System

Right now input is handled through my own InputDispatcher + UnityEngine.Input, as well as MonoBehaviour.BeginDrag() et al. I think it would be a good idea to switch to the new InputSystem, as it's easier to configure, and provides a callback mechanism out of the box (though not entirely clear to me yet).

Problem with GoogleSheetsImporter using Windows

Hi outfrost, there are a few error when I try to run your project in Unity. I already create new API Key at Google Cloud Platform and paste the key at _apiKey variable but it's still not working. Is there any solution that I can use to fix these problems?

image

Update README

Need a general refresh + instructions on how to get the Google Sheets import working locally.

Spawn cards

Spawn new cards for the player - at the start of the game and after each card action; at random and according to rules from previous cards.

Animated cards fly away to high Z

Best reproducible by repeatedly dragging a card in the middle of its converging animation.

Dragging a card keeps the Z constant, but the smooth animation doesn't - probably the cause.

Visual preview of action outcome

The stat bars should display visual indications of the stat modification of an action, before said action is taken.

Example:

  • Stats are at 16, 16, 16, 16.
  • A card is drawn. Its left action outcume contains a stat modification of -2, 0, 4, 0.
  • When the player grabs the card and drags it a bit to the left:
    • The 1st (coal) stat bar should show the difference between 16 and 16-2 in a different colour, e.g. pale red
    • The 3rd (health) bar should show the difference between 16+4 and 16 in a different colour, e.g. pale green
  • When the player drags the card back to centre, the indications should fade back out.

Right now there is no way for the player to tell what consequences an action will have until it's taken.

Code cleanup

Spaghet is afoot... Don't let your guard down.

Replace placeholder card sprite

The game needs good sprites for the front and back of a card (without the character). Right now it uses Unity's panel background as a placeholder.

Status effects

Certain cards should give the player status effects when one (or both) of the actions is taken. Status effects influence how other cards' stats modifications work from that point on, for a limited number of turns or indefinitely.

Store and represent card description

The game needs to show the player a question or challenge associated with the card, the characted behind it (their name and probably a picture) and the text for the two possible choices.

Create menu screen

Create a screen, on which the game will start and load content. This should be where leaving gameplay using Back should bring the player (#9), and this is where the player can start or resume their gameplay, or view their progress.

Create a game starting screen/sequence

Right now the player is dropped straight into gameplay, and when the game restarts, it's not very obvious that it does. We need some sort of special screen telling the player that a new game is starting (perhaps like in Lapse with the current year) or an animated sequence that will make it clear.

Eliminate need for dummy cards

Currently, a dummy card with a prerequisite on itself is necessary to make other cards not randomly drawable (i.e. usable only as followups). A simple fix for this will be the introduction of a drawable field in the card model.

Separate special cards from regular cards in model

Right now both regular cards, and specials such as game over cards, use the same Card class and the same sheet format. It has got a little inconvenient in the code, so it would probably be better if they were split apart.

Animate deck drop/shuffle at game start

When a game is started (after date is shown, before the first card is drawn), there should be an animation of the deck of cards being dropped in front of the player, optionally being shuffled in the process. Right now the deck (represented by one dummy card) is just there all the time.

Card draw queue

Some cards initiate a series of events (represented by other cards) that need to be played out in sequence, either one after another, or within a certain amount of turns.

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.