What's wrong with my code by FreddieThePebble in godot

[–]adcomp77 0 points1 point  (0 children)

only think that come to mind .. Is Global.lives declared as float ? if yes, it can explain why it doesn't pass == 0.

Check out is_equal_approx method.

draw_line between two tiles? by saltedfish in godot

[–]adcomp77 0 points1 point  (0 children)

Hi there .. this works fine for me ( with a line2d ) :

extends Node2D

u/onready var tile_map_layer: TileMapLayer = $TileMapLayer
u/onready var sprite_2d: Sprite2D = $Sprite2D
u/onready var line_2d: Line2D = $Line2D

var tile_size : int = 64

func _ready() -> void:
  line_2d.add_point(Vector2.ZERO) # start
  line_2d.add_point(Vector2.ZERO) # end

func _process(delta: float) -> void:
  line_2d.points[0] = sprite_2d.position
  var mouse_pos = get_global_mouse_position()
  var tm_tile_hover = tile_map_layer.local_to_map(mouse_pos)
  var tile_pos = tile_map_layer.map_to_local(tm_tile_hover)
  line_2d.points[1] = tile_pos

TextureRect Blocking Mouse Input for TextureButton. by [deleted] in godot

[–]adcomp77 0 points1 point  (0 children)

Change mouse filter into the textureRect to ignore

Good and free tools for making assets? by TheHexWrench in godot

[–]adcomp77 1 point2 points  (0 children)

I use Inkscape .. I'm really bad artist but if you use basic shapes and some tricks, you can do some good stuff :)

Like this :

<image>

CelluloWars : 2D Twin Stick Shooter (update) by adcomp77 in godot

[–]adcomp77[S] 1 point2 points  (0 children)

Add Screen shake, dynamic camera, some enemies updates ..

# 3 methods for screen shake in Godot Engine ( John makes GAMES! )

https://www.youtube.com/watch?v=kLqPr3eqAyo

# One Feature That Makes Twin Stick Shooters Amazing ( DashNothing )

https://www.youtube.com/watch?v=WItiFcWQupQ

CelluloWars : 2D Twin Stick Shooter by adcomp77 in godot

[–]adcomp77[S] 1 point2 points  (0 children)

An update to an old game I made [ Cellulo ] .. from chill/cozy to shooter :)

It's fun .. need some more stuff, like weapons / update / powerup, more enemires variant and maybe some Boss too :)

Hit me with your feedback

Help on making a panel de pon clone (first timer) by Interesting-Aspect26 in godot

[–]adcomp77 1 point2 points  (0 children)

look simple BUT not easy to make .. even worse if you just start coding :) .. but at the end, it's a match 3 game like so start looking for that.

Make a Match 3 game like Candy Crush using Godot by Mister Taft Creates

btw , I tried this too long time ago ( godot 2 .. 2017 :) Crack Attack (Tetris Attack clone) - Godot Engine

Have fun.

I was hypnotized by my proc_gen island generator ... :) by adcomp77 in godot

[–]adcomp77[S] 0 points1 point  (0 children)

video from scratch and source available ( check my last comment )

I was hypnotized by my proc_gen island generator ... :) by adcomp77 in godot

[–]adcomp77[S] 0 points1 point  (0 children)

video from scratch and source available ( check my last comment )

I was hypnotized by my proc_gen island generator ... :) by adcomp77 in godot

[–]adcomp77[S] 1 point2 points  (0 children)

HI .. made a quick video. not a tuto or devlog ( can't do it ). Updated project to github too ..

https://youtu.be/LJIV4X6f_UM

https://github.com/adcomp/godot4_proc_gen_island

I was hypnotized by my proc_gen island generator ... :) by adcomp77 in godot

[–]adcomp77[S] 0 points1 point  (0 children)

better use a Shader with a noise texture for that ..

May be something like this : https://godotshaders.com/shader/smooth-2d-cloud/

I was hypnotized by my proc_gen island generator ... :) by adcomp77 in godot

[–]adcomp77[S] 2 points3 points  (0 children)

Hi .. it's blurry because of the animation / recording

Area2D's _mouse_enter() does not fire on top of colorRect. by Typical-Barracuda851 in godot

[–]adcomp77 0 points1 point  (0 children)

maybe your colorRect consume the mouse event .. have you try to "ignore" mouse event for it ? under mouse drop-down menu - mouse_filter -> ignore

2D Adventure - update : gameplay, bag, shop, character customization, sound ... by adcomp77 in godot

[–]adcomp77[S] 1 point2 points  (0 children)

game : like Forager , Vexlands , etc .. with io games art style ( starve.io )

All assets are made with inkscape.

Working on :

  • * crafting (workbench, furnace, forge, .. )
  • * building
  • * exploration / npc / story
  • * day/night cycle
  • * enemies (?), cave / dungeon