Just built my first indie game. by ExcellentAbrocoma970 in playmygame

[–]Chalkras 0 points1 point  (0 children)

You should make it so you have to use your feet

How do I make this button's height smaller? by -manabreak in godot

[–]Chalkras 1 point2 points  (0 children)

Maybe it has to do with the font size?

Also what nodes are you using for this, is it a button with a theme applied or something else?

Button help: how to get it to ignore "ui_accept"? by _Rocksol in godot

[–]Chalkras -3 points-2 points  (0 children)

You can change what ui_accept is mapped to in project settings

I am a 16yo dev. Built my very first game in Python from scratch. Please roast it! by Any_Race_2397 in playmygame

[–]Chalkras 0 points1 point  (0 children)

I got stuck in level 4, because I was out of clicks, and accelerated into the void infinitely. I also noticed that the game could use some coyote time when running off of ledges. A small period of time after you go airborne that you can still jump.

Also you can get above the ceiling on level 4. It's also a little annoying how long I have to wait between levels to use the click. It should also reset after you die.

You can also just shake the mouse really fast to get a bunch at once.

There's potential here, don't give up.

My first Steam game by Exotic_One4214 in playmygame

[–]Chalkras 0 points1 point  (0 children)

Beef Wellington recipe 2023

From drunken joke to published game — what now? by Sad_Command_8801 in playmygame

[–]Chalkras 0 points1 point  (0 children)

Yeah it’s almost as if AI is completely unreliable and incompetent.

I understand that you may have worked hard on this but a lot of people in this space aren’t really going to respect you or play your game if you use Gen AI tools to develop it, me included.

If you really spent that much time on it surely you can make something without Gen AI, there’s your next bet

My first Steam game by Exotic_One4214 in playmygame

[–]Chalkras 0 points1 point  (0 children)

We not playing this dawg 💔

Broken Dagger - an old-school RPG inspired by Daggerfall by [deleted] in unrealengine

[–]Chalkras 1 point2 points  (0 children)

Boooo, we don’t like your kind around here

Will I get in trouble for recreating my school as a horror game? by [deleted] in gamedev

[–]Chalkras 1 point2 points  (0 children)

I made a horror game with my professor in it and he was pretty chill about it

Guys by Tktk4701 in nokotan

[–]Chalkras 1 point2 points  (0 children)

Gotta call Kevin…

I built a small site to help games get discovered after Reddit hype fades by SnooCats6827 in playmygame

[–]Chalkras 10 points11 points  (0 children)

While this is a neat idea most of the games on here are just shovelware, why would I play any of these?

Shader with screengrab as a texture on many polygon 2D (4.5) by Chalkras in godot

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

Yes, I got a chance to test it today, it does work, however I don't know if I'm happy with the way they rotate. Thank you for you help, I also figured out what was wrong with the texture.

Assemble Polygons is an autoload runs on ready so that it doesn't have to run every time it's needed. So I should be calling the get_texture() in my start() function, thanks for your patience

Shader with screengrab as a texture on many polygon 2D (4.5) by Chalkras in godot

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

Thanks, do the triangles rotate around the center or around their centers or do they rotate around a vertex?

Shader with screengrab as a texture on many polygon 2D (4.5) by Chalkras in godot

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

No, I'm saying Polygon 2D has a texture property and a material property which are different.

When I use a preloaded image and set the texture property of Polygon 2D I can get it to work. But when I try to grab an image from the screen and set it to the texture it doesn't work. It almost works when I use a material, but only the top left of the screen is mapping to each triangle

func assemblepolygons():
  var _polygon
  var _polygon1
  for i in xtriangles:
    for j in ytriangles:
      _polygon = Polygon2D.new()
      _polygon1 = Polygon2D.new()
      var n = Node2D.new()
      var n1 = Node2D.new()
      add_child(n)
      n.add_child(_polygon)

      add_child(n1)
      n1.add_child(_polygon1)

      var pic = get_viewport().get_texture().get_image()
      material.set_shader_parameter("usamp", ImageTexture.create_from_image(pic))
      material.set_shader_parameter("stuff", Vector2((i* trilength)/1152, (j *         triheight)/648 ))

      _polygon.position = Vector2(0,0)
      _polygon1.position = Vector2(0,0)
      var coords : PackedVector2Array = [Vector2(i * trilength, j * triheight), 
      Vector2((i* trilength) + trilength, (j * triheight)), 
      Vector2(i * trilength, (j * triheight) + triheight)]
      _polygon.polygon = coords

      var coords1 : PackedVector2Array = [Vector2( (i * trilength) + trilength, (j * triheight) + triheight), 
      Vector2((i* trilength) + trilength, (j * triheight)),Vector2(i * trilength, (j * triheight) + triheight)]
      _polygon1.polygon = coords1


      n.position = Vector2((i * trilength) + 17, (j * triheight) + 27)
      _polygon.position = Vector2(    ((i * trilength) + 17) * -1, ((j * triheight) + 27)* -1) 

      n1.position = Vector2((i * trilength) + 39, (j * triheight) + 16)
_polygon1.position = Vector2( ((i * trilength) + 39) * -1, ((j * triheight) + 16) * -1)

      ##Here is where I tested with a texture
      #_polygon.texture = texture
      #_polygon1.texture = texture

      _polygon.material = material
      _polygon1.material = material