[help]how to crate irregular shape island?

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
xss6985
Prole
Posts: 12
Joined: Wed Jun 15, 2011 5:22 am

[help]how to crate irregular shape island?

Post by xss6985 »

like sandbox game.I want to start my game with an irregular shape island everytime.but I dont know how to do that.
can anyone give me some help?
Attachments
noise.love
(797 Bytes) Downloaded 163 times
Last edited by xss6985 on Sat Mar 01, 2014 7:08 am, edited 1 time in total.
User avatar
veethree
Inner party member
Posts: 877
Joined: Sat Dec 10, 2011 7:18 pm

Re: [help]how to crate irregular shape island?

Post by veethree »

If it's tile based, Perhaps you could use love.math.noise(). I've never tried using it to generate islands, But i did make a little prototype for a game that uses it to generate a cave system. You can look at the code and get an idea of how it's used.
Attachments
Cave Game.love
0.9.0
(39.88 KiB) Downloaded 167 times
xss6985
Prole
Posts: 12
Joined: Wed Jun 15, 2011 5:22 am

Re: [help]how to crate irregular shape island?

Post by xss6985 »

veethree wrote:If it's tile based, Perhaps you could use love.math.noise(). I've never tried using it to generate islands, But i did make a little prototype for a game that uses it to generate a cave system. You can look at the code and get an idea of how it's used.
thank you.and this is my demo.it is much better now.
Attachments
lovegame.zip
(116.55 KiB) Downloaded 150 times
Post Reply

Who is online

Users browsing this forum: No registered users and 14 guests