A question about bosses

Discussion in 'Discussion and Q&A Archive' started by Animemaster, Jul 22, 2010.

Thread Status:
Not open for further replies.
  1. Animemaster

    Animemaster Lets get to work! Member

    Joined:
    Mar 20, 2009
    Messages:
    1,229
    Location:
    UK
    Hey all, haven't asked a question for awhile which was good. But now I have been thinking on making a custum boss where the person inside the egg mobile, lets say eggman for example, gets out of it and moves as a seperate object?. This is what I'm not sure on. I know that eggman and the mobile are in the same art, so would I have to load a seperate boss object, and say combine its location with the eggmobile, and then I can distatch him whenever in my code and move the eggmobile seperate from the person flying it, if that makes sense. Is there a better way? more simpler way that this could be done? doing the first options is gonna be a real challenge for me because although I have learned a great deal about bosses, I feel I am still but an amature and cannot futhur my knowledge because there is not enough I understand yet, but I could sure give a try. Just wanted to know peoples thoughts on this, any better ideas on how I may make this work. Thanks.
     
    Last edited by a moderator: Jul 22, 2010
  2. MarkeyJester

    MarkeyJester ♡ ! Member

    Joined:
    Jun 27, 2009
    Messages:
    2,867
    One of the most efficient ways would be to have the ship art for both when robotnik is in the ship and when he's not, but optimised (The ship's art can be reused for both with different mappings, etc), having robotnik and the ship as one object, and when you want robotnik to appear as if he's jumping out of the ship or whatever, change the mappings of the ship object to present the art of the ship without robotnik, and load a new object into the ram space, and setting it to use robotnik alone art that you may have stored in V-Ram.


    Another way would be to have two objects, one for the ship and one for robotnik, and co-ordinate robotnik's object location with the ships for when robotnik is inside, you'll be able to seperate both robotnik and the ship a bit more easily, but it means having two objects functioning at all times insted of one, not good for the processing time.


    The issue you're having here though is that you're not attempting what you "think" you can't do or better yet learn, and that let's you down. Trying would be the first step, remember, researching is important for your knowledge. Using the idea that you cannot learn is no excuse, I know a few people that do this and they piss me off because of it.


    You're all human beings, you all have a brain that absorbs information, use it for research, not excuses.
     
    Last edited by a moderator: Jul 22, 2010
  3. Animemaster

    Animemaster Lets get to work! Member

    Joined:
    Mar 20, 2009
    Messages:
    1,229
    Location:
    UK
    Ah thanks for clearing me up on that one. I understand your views markey and in away you are right, though some people have different ways of learning and some learn from others to improve there knowledge. I like to figure things myself most of time... I very rarely ever want peoples help because I feel that in the end I have achieved something which motivates you to do more. I will look into these ideas and have a good go at this, so thanks much appreciated.
     
  4. OrdosAlpha

    OrdosAlpha RIGHT! Naebody move! Root Admin

    Joined:
    Aug 5, 2007
    Messages:
    1,793
    Location:
    Glasgow, Scotland
    Never played Sonic 1, then?
     
  5. Hanoch

    Hanoch Well-Known Member Member

    Joined:
    Aug 3, 2008
    Messages:
    312
    Location:
    Israel
    You can also use one object for the ship, and a sub object for the eggman. Each object can "communicate" with each other (you just load one object's address into the SST of the sub object and vice versa) and just check when a flag is set, or a bunch of hits are taken away (if that's what you are trying to do) to activate a routine that moves the sub object.


    In theory it sounds easy, but you cant know untill you try. And I think markeyjester is right, you dont learn untill you do your research. I would never make this boss without doing some research. None of the necessary routines of the boss object were documented properly, let alone the other level bosses.
     
Thread Status:
Not open for further replies.