• Sign in
  • Sign up 
  • Welcome
  • FAQ
  • Switch to Night Mode
  • Stolen Accounts Recovery 
  • Change Account Password 
  • Vote for Witnesses 
  • Steem Proposals 
  • Third-party exchanges:
  • Poloniex 
  • Advertise 
  • Jobs at Steemit 
  • Developer Portal 
  • Steem Bluepaper 
  • SMT Whitepaper 
  • Steem Whitepaper 
  • Privacy Policy
  • Terms of Service
Home
Online–(0 logged in · 0 anonymous)·24 h–(0 logged in · 0 anonymous)·28 d–(0 logged in · 0 anonymous)
EN▾
LoginSign up

godot set tilesteemCreated with Sketch.

seyon (25)in #godot • 8 years ago

It is from godot 2d demo isometric

func _input(e):
    if (e is InputEventMouseButton
    and e.button_index == BUTTON_LEFT and not e.pressed):
        var gmpos = get_global_mouse_position()
        $floor.set_cellv($floor.world_to_map(gmpos),1)
#tile
8 years ago in #godot by seyon (25)
100%
    10%25%50%75%100%
    $0.00
      1 vote
      • + thelavablock
      Reply 0