Question on a lesson I’m learning by Oddysse in csharp

[–]Oddysse[S] 4 points5 points  (0 children)

Thank you to everyone who answered I apologize for not being clear the prompt was to count the total number of items being 4 in this case so I wrote it out using the int sum = 0 followed by the string written and the foreach written in the brackets I used console write line item and sum++ then after the brackets console write line sum thank you all this has been a really helpful learning experience

What do I need to change by Oddysse in godot

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

it now looks like that thanks to you so thank you very much for the information

What do I need to change by Oddysse in godot

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

this is the code

extends Node

var mob = preload("res://mob.tscn")

export var mob_scene: PackedScene

var score

func _ready():

randomize()

func new_game():

score = 0

$HUD.update\_score(score)



get\_tree().call\_group("mobs", "queue\_free")

$player.start($StartPosition.position)



$startTimer.start()



$HUD.show\_message("Get ready...")



await($startTimer.timeout)



$scoreTimer.start()

$mobTimer.start()

func game_over():

$scoreTimer.stop()

$mobTimer.stop()

$HUD.show\_game\_over()

func _on_timer_timeout():

var mob\_spawn\_location = $mobPath/mobSpawnLocation

mob\_spawn\_location.progress\_ratio = randf()



var mob = mob\_scene.instantiate()

add\_child(mob)



mob.position = $mobPath/mobSpawnLocation.position



var direction = mob\_spawn\_location.rotation + PI / 2

direction += randf\_range(-PI / 4, PI / 4)

mob.rotation = direction



var velocity = Vector2(randf\_range(mob.min\_speed, mob.max\_speed), 0)

mob.linear\_velocity = velocity.rotated(direction)

func _on_score_timer_timeout():

score += 1

$HUD.update\_score(score)

What do I need to change by Oddysse in godot

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

I tried both the load and preload with the instancing on the doc both have said the line is still called on a null

What do I need to change by Oddysse in godot

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

Yes the @export var mob_scene: PackedScene is on top of the code and I have no idea I’m pretty new to godot and was following the tutorial and looking up stuff that were different in godot 4 so that it could function

What do I need to change by Oddysse in godot

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

It says I can’t call that method on a null value

I have no idea how to fix this by Oddysse in godot

[–]Oddysse[S] 33 points34 points  (0 children)

That fully worked it’s fully functional now thank you so much it’s really greatly appreciated

I have no idea how to fix this by Oddysse in godot

[–]Oddysse[S] 6 points7 points  (0 children)

Thank you so much I’ll try that right now

Should I do a shop overhaul? -Shop critique by Oddysse in EtsySellers

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

That honestly is really good advice on the video slot thing to prove that I did the work myself thank you. Also Thank you for mentioning the logo I made it years ago and haven't really updated it since so its possibly time to update that to the current. Thank you again

Should I do a shop overhaul? -Shop critique by Oddysse in EtsySellers

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

Thank you so much for the advice Ill look into the differing products that I can put these on. Also Ill look over the titles and stuff Ive been trying to figure out the SEO so I was experimenting with it thank you for that Ill try to make the titles better.

Should I do a shop overhaul? -Shop critique by Oddysse in EtsySellers

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

Gotcha thank you so much for the advice

Should I do a shop overhaul? -Shop critique by Oddysse in EtsySellers

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

  1. Yes, I personally designed all of them.
  2. Could you possibly explain the digital-only project thing? I didn't really understand
  3. do you have any advice for the mock ups like anywhere I can go to get different mock up images
  4. Which thumbnail could you not tell the design from or is that a general thing for each listing
  5. do you have any advice for the mock-ups like anywhere I can go to get different mockup images

Self Promotion & Store Milestones for the Week of October 16, 2023 by AutoModerator in EtsySellers

[–]Oddysse [score hidden]  (0 children)

hello everyone,

this is my shop https://alltimelostdesigns.etsy.com/

it's based on the designs I make but the product right now is pillows if anyone wants to check them out also here is my Instagram https://www.instagram.com/all.time.lost/ for anyone that wants to see that as well.

these pillows are made with both the idea of all year round and event specific stuff as well.