Giter VIP home page Giter VIP logo

Comments (14)

HassanHeydariNasab avatar HassanHeydariNasab commented on July 27, 2024

Good idea!

from defendo.

HassanHeydariNasab avatar HassanHeydariNasab commented on July 27, 2024

I think nobody want to use a weapon at level 1 for shooting; especially when you are at high waves.

from defendo.

Lonami avatar Lonami commented on July 27, 2024

Can't the user simply drag the towers to the base to upgrade them? Instead the two-steps of clicking the tower and dragging it to the base?

from defendo.

HassanHeydariNasab avatar HassanHeydariNasab commented on July 27, 2024

This is easier: #13
Dragging is an additional step! just tap for buying and your weapon will be upgraded in the base!
For example drag a level 2 cannon to the base then tap on the cannon buy button; now you have a level 3 cannon in the base! tap again and you have a level 4 cannon...

from defendo.

Lonami avatar Lonami commented on July 27, 2024

But what if the user is trying to buy a separate turret and it doesn't work because they're actually upgrading the other but don't notice? 🤔

from defendo.

HassanHeydariNasab avatar HassanHeydariNasab commented on July 27, 2024

But what if the user is trying to buy a separate turret and it doesn't work because they're actually upgrading the other but don't notice? 🤔

If the turret in the base is not the same you bought or your base is empty, new turret will be spawned in another position.

from defendo.

Lonami avatar Lonami commented on July 27, 2024

Hm, I guess then the shop functions to both upgrade and add new ones. Then, simply tapping can upgrade, but dragging still spawn a new one?

from defendo.

HassanHeydariNasab avatar HassanHeydariNasab commented on July 27, 2024

Both scenarios use "tap on button".

from defendo.

Lonami avatar Lonami commented on July 27, 2024

Not quite:

  • Tap:
    • If same turret exists in base, upgrade it by 1 level.
    • If no turret exists in base, or is a different type, spawn new level 1 one randomly.
  • Drag:
    • The user always spawns a new level 1 turret, and drags it wherever he wants to.

from defendo.

HassanHeydariNasab avatar HassanHeydariNasab commented on July 27, 2024

"Both scenarios" I mean Upgrading and Adding. assume you start the game and you want to build a 5 level cannon; you should drag 6 times by your method! dragging is more expensive than tapping 😄

from defendo.

Lonami avatar Lonami commented on July 27, 2024

assume you start the game and you want to build a 5 level cannon

  1. Drag a tower to the base -> level 1.
  2. Tap tower -> level 2.
  3. Tap tower -> level 3.
  4. Tap tower -> level 4.
  5. Tap tower -> level 5.

I'm saying both can coexist (tapping and dragging). Not it being dragging only.

In your case, it would be:

  1. Tap tower
  2. Drag tower to base
  3. Tap tower -> level 2…
  4. And so on

from defendo.

HassanHeydariNasab avatar HassanHeydariNasab commented on July 27, 2024

Yes, I'm thinking about this mix too...

from defendo.

Lonami avatar Lonami commented on July 27, 2024

Shouldn't be hard. Default behavior is always drag. But maybe, if you drop the tower on the shop item, it behaves like a tap, and acts accordingly. Makes sense?

from defendo.

Lonami avatar Lonami commented on July 27, 2024

Not sure if Godot makes it simple to distinguish between dragging or tapping.

from defendo.

Related Issues (20)

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.