Skip to main content
edited title
Link
user1430
user1430

Clear How can I clear the screen in Xcode?

deleted 175 characters in body
Source Link
user1430
user1430

so I am following a tutorial to make a snake game in my Xcode console. But the tutorial i am following is using windows and therefore the "system("clear")" command isn't working with my mac, and all of my research seems to show that there is no way to do that in Xcode

my question is, don't many games need to have their screen cleared constantly? how would games that are being designed in Xcode clear their screens if there is no easy way to do this?

as a side question, does anyone have any advice for someone trying to learn game programming: which language and IDE to use, game engines, etc

Thank you for any help!

so I am following a tutorial to make a snake game in my Xcode console. But the tutorial i am following is using windows and therefore the "system("clear")" command isn't working with my mac, and all of my research seems to show that there is no way to do that in Xcode

my question is, don't many games need to have their screen cleared constantly? how would games that are being designed in Xcode clear their screens if there is no easy way to do this?

as a side question, does anyone have any advice for someone trying to learn game programming: which language and IDE to use, game engines, etc

Thank you for any help!

so I am following a tutorial to make a snake game in my Xcode console. But the tutorial i am following is using windows and therefore the "system("clear")" command isn't working with my mac, and all of my research seems to show that there is no way to do that in Xcode

my question is, don't many games need to have their screen cleared constantly? how would games that are being designed in Xcode clear their screens if there is no easy way to do this?

Source Link
gonzato
  • 1
  • 1
  • 1

Clear screen in Xcode?

so I am following a tutorial to make a snake game in my Xcode console. But the tutorial i am following is using windows and therefore the "system("clear")" command isn't working with my mac, and all of my research seems to show that there is no way to do that in Xcode

my question is, don't many games need to have their screen cleared constantly? how would games that are being designed in Xcode clear their screens if there is no easy way to do this?

as a side question, does anyone have any advice for someone trying to learn game programming: which language and IDE to use, game engines, etc

Thank you for any help!