summerpewp Posted November 17, 2009 Share Posted November 17, 2009 Trying to create a generator for a game I'm making. It requires a random map to be generated but I can't seem to find any open source code to work with. Since I am sort of new to programming this is a little over my head. Curious if there is an open source php file I can edit / learn from...? Any help would be greatly appreciated. Quote Link to comment Share on other sites More sharing options...
mikesta707 Posted November 17, 2009 Share Posted November 17, 2009 depends on what you do with the random map. Do you just want to show an image? Quote Link to comment Share on other sites More sharing options...
sp@rky13 Posted November 17, 2009 Share Posted November 17, 2009 is it more of dots for a thing on the map? Quote Link to comment Share on other sites More sharing options...
oni-kun Posted November 17, 2009 Share Posted November 17, 2009 You can use the GD library to generate a random map.. But It's going to be extremely hard to have it do anything on the map.. Your best bet is to use JS if that's what you're looking for, the generation/interaction is its advantage and strength. Quote Link to comment Share on other sites More sharing options...
summerpewp Posted November 17, 2009 Author Share Posted November 17, 2009 well , I'm making a small game for a school project. Where there will be random people in these zones to interact with etc. So It will need to be navigated on . That part I understand and can manage. The hard part is the random zones. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.