Jump to content
  • Advertisement
Sign in to follow this  
popgalop

Design Questions

This topic is 2059 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

I am writing a platform game in java that is based on minecraft, and i was wondering about what people thought about certain features of the game.

 

1. When two enemys collide what should happen

2. When you reach a checkpoint and die should progress forward of the checkpoint be lost

3. How should i base collisions with other entities(touching, pixels, etc)

Share this post


Link to post
Share on other sites
Advertisement

if your game is going to use block graphics, then bounding boxes will work very well.

1. Only one object is moving at a time really, so two enemys can run into each other, one can run into another one - and then that other one can run into him right after, but you don't move everything at once and then try and figure out what collided after everything is moved, at least I wouldnt. you move something, and then check if the item you moved has collided with another object, and if it has - you undo the move (or figure out how far it is allowed to move without intersecting the other object)

 

2. that is entirely up to you, for all we mind you can just make it so we cant die, and thus wont have to worry about that tongue.png

 

3. you will want to use boxes in this case because i think your building a block world and they should work very nicely for that, if by "like minecraft" you mean like its gameplay but your using all spheres or something else odd, then the method you could use to best and optimally detect collisions will be different.

Edited by MichaelNIII

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!