Jump to content
  • Advertisement
Sign in to follow this  
Chenhao Wei

How to use Swift(Xcode) to write the slither.io?

This topic is 792 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

How to use Swift(Xcode) to write the slither.io? I have searched some information and video. My idea is using the Tiled to build a big map and import to the Swift project. Create multi-snake in the Swift code. Am I on the right track?

Btw, I am just a student and beginner using Swift to build a game. I am using Xcode 7.3 & Ios 9.3.

 

Thank you for giving me more advice to make it easier.

 
Edited by pockywei

Share this post


Link to post
Share on other sites
Advertisement

That seems, as I said in your StackExchange post, reasonable, although I wouldn't worry about implementing the Tiled map and importing it until you get the basics of the gameplay down in a simple, hard-coded box level or something. You may want to look into Apple's SpriteKit library, which can help you with the basics of getting sprites up and running and all that.

Share this post


Link to post
Share on other sites

Thank you, Josh. One more question: I have watched some video on Youtube. For example "Using Tiled to build a Super Mario". But those games are using low resolution, most of the Tileset was(32*32) or (16*16). But the slither.io seems using high resolution.  Does it mean using the Tiled to create a high-resolution map?  eg. a map 500hight * 500width with 1pixes*1pixes.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!