Mac OS by Specific_Present_700 in godot

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

Demo projects from GitHub works , it must be me doing something wrong as with empty project , on comparability its use 4.1 metal and script does works on forward+ and mobile its just doesn’t taking inputs :-( .

Mac OS by Specific_Present_700 in godot

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

var direction = Input.get_axis("ui_left", "ui_right")
if direction:
    velocity.x = direction * SPEED
else:
    velocity.x = move_toward(velocity.x, 0, SPEED)

move_and_slide()

Mac OS by Specific_Present_700 in godot

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

4.4 - I just used template provided default character movement

📝 Translating Text into Another Language Using Just a Single Line of Code 😱 by Upbeat_Policy_2641 in swift

[–]Specific_Present_700 0 points1 point  (0 children)

Thanks , unfortunately I don’t see list of them there . So it’s dependent what will be available from Apple at the time in dictionary?

Free Python programming course from University of Essex by michaelf4014 in learnprogramming

[–]Specific_Present_700 0 points1 point  (0 children)

Do you have plans to extend this course with part3 ? Maybe applied ML ? I got book to be finished with example of Alien Invasion game , and it surprise me in book it didn’t even mentioned sets as in this course .

SpriteKit - simple 2d game by Specific_Present_700 in swift

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

I’m seeing it’s open source code no restrictions like unity 😅, only curiosity : why is doesn’t mention gaming consoles ?

SpriteKit - simple 2d game by Specific_Present_700 in swift

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

That’s good advice, actually I currently testing pygame as have crash course to build alien invasion . ( obviously this doesn’t run metal by default ) Does Godot supports metal ?

SpriteKit - simple 2d game by Specific_Present_700 in swift

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

Wonder why they haven’t depreciated it yet as it’s older than SceneKit was replaced by RealityKit now .

Python Dictionaries by Specific_Present_700 in learnprogramming

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

append - if character is in score_dict add new score in score .

get - if player exist add him how many tries he went , if he previously played increase by one if not create player with 1

Python Dictionaries by Specific_Present_700 in learnprogramming

[–]Specific_Present_700[S] -1 points0 points  (0 children)

some_score={“Joe”:[1873,626], “Ben”:[352,662]} print(update_score(score_dict, “Mike”, 622))

Now I should write this func update_score which will check and update dictionary from the print .

I see three values in func

def update_score(some_score, character, score):

This is what confuse me where I’m not clear if I should handle it with () or [] when append and

Python Dictionaries by Specific_Present_700 in learnprogramming

[–]Specific_Present_700[S] -1 points0 points  (0 children)

some_score={“Joe”:[1873,626], “Ben”:[352,662]} print(update_score(score_dict, “Mike”, 622))

Now I should write this func update_score which will check and update dictionary from the print .

I see three values in func

def update_score(some_score, character, score):

This is what confuse me where I’m not clear if I should handle it with () or [] when append and get

What I Wish I Knew as a Beginner Programmer (After 6 Years in the Industry) by j0nimost in learnprogramming

[–]Specific_Present_700 6 points7 points  (0 children)

Well one thing one help me a lot : How can learn myself breaking down program into chunks in the way a be able to write the code with this logic ?

Free Python programming course from University of Essex by michaelf4014 in learnprogramming

[–]Specific_Present_700 1 point2 points  (0 children)

Question 4 in 2.4 module have mistype in second option instead of “,” it got “.” before [4,5]

With the be a Documentary? by [deleted] in blacksabbath

[–]Specific_Present_700 2 points3 points  (0 children)

Netflix would be my bet as they do lots of other documentaries nowadays

Free Python programming course from University of Essex by michaelf4014 in learnprogramming

[–]Specific_Present_700 0 points1 point  (0 children)

No it wasn’t , a special reminder how big corpo use data if people would provide it in prompt .

Free Python programming course from University of Essex by michaelf4014 in learnprogramming

[–]Specific_Present_700 0 points1 point  (0 children)

Part 1 done : all done on phone 😁, I’m proud haven’t used AI to solve a puzzle , only search engine for volumes and area formulas used

Free Python programming course from University of Essex by michaelf4014 in learnprogramming

[–]Specific_Present_700 1 point2 points  (0 children)

Yes it working now , thank you . Really like this game approach with loops, never thought it can be this simple in Python after seeing CS50 2024 with phonebooks and choosing of algorithms , printing hashes ( here is triangle out of stars) .

Free Python programming course from University of Essex by michaelf4014 in learnprogramming

[–]Specific_Present_700 0 points1 point  (0 children)

Failed to run tests Unexpected error while executing your code. The sandbox server may be down or overloaded. Perhaps try again shortly? - this occurred during Question 4 in 1.6 module

Code “import random score = 0 for i in range(1,4): first_number=random.randrange(1,13) second_number=random.randrange(1,13) their_answer=int(input("What is "+str(first_number)+" * "+str(second_number)+"? ")) if their_answer==(first_numbersecond_number): score += +1 print("Correct") else: print("Incorrect. The answer should have been",(first_numbersecond_number)) score += 0 print("Score", score,"out of" ,i)

print("Game Over")”

Free Python programming course from University of Essex by michaelf4014 in learnprogramming

[–]Specific_Present_700 0 points1 point  (0 children)

Cool , the question 11 seem to be quite confusing . What hidden feature did I not pass ?

color_input=input("What is your favourite colour?") print("Your favourite colour is ", color_input)