mad.array Posted October 23, 2008 Report Share Posted October 23, 2008 Hi guys (and gals if applicable). I've recently started using the Worlds Engine and have been playing around with various things to try and figure out how to get a fangame going. I've got the Crabmeat to fire projectiles using a little bit of maths, have added a ring deduction to the super sonic state and implemented life ups for people who get to 100, 200 and 500 rings. There are a couple of things I was hoping someone would be able to help me with though. 1) I've been trying to implement a motobug badnik that travels up and down slopes as subtle as the minor dips and hills in GHZ. I've seen a decent working motobug in Blazes GHZ SAGE demo but I haven't been able to figure out how it's done. The sensor system confuddles me so I haven't attempted that yet. I did attempt to try and govern Y movement by checking if the motobug is colliding with a backdrop or platform object. The problem is this only covers travelling uphill as you can't negate the collision filter. Either way the uphill movement looks jerky when the badnik moves. 2) I've added all of the grass into the level_detail group, this works in making sonic run smoothly over it rather than bobbing and rotating over the terrain. I've also moved it to layer 5 as I liked seeing sonics trainers (sorry, sneakers) behind the rough grass. The problem with this is that when he jumps up to a platform, the grass remains in front of him and that obviously looks a little odd. If anybody could help me out with either of these issues it would be much appreciated. Thanks. (P.S. Sorry Appo, it looks like there are going to be two of us vying for the domination of the thread:tgrin: ) Link to comment Share on other sites More sharing options...
Appo Posted October 23, 2008 Report Share Posted October 23, 2008 Blast, my plan is ruined well maybe this way we can work together and get answers it's been a while scince i used MMF and it was MMF 1.5 back in the day, so i thought i'd ease back in to the spirit of things by reverse engineering the worlds engine (not as easy as i thought) but anyways good luck in your game , oh and btw if you check a few of my help threads you might find something useful, in the fangaming assistance Nitemare made a nice magnatized ring movement for me. Link to comment Share on other sites More sharing options...
mad.array Posted October 23, 2008 Author Report Share Posted October 23, 2008 Oh thanks for that. At the moment I'm just looking at theory, trying to implement some basics and then I'll have a go at something proper. Magnetised rings is something that every Sonic game with a lighning shield needs though, so cheers for that. Link to comment Share on other sites More sharing options...
Appo Posted October 27, 2008 Report Share Posted October 27, 2008 I think i may be able to help you with your second problem, however the grass tufts are active objects for them to be able to change layer, although you can robably use an active background object i don't know if that'll save on memory but anyways this is what i came up with i hope this helps in some way Link to comment Share on other sites More sharing options...
DimensionWarped Posted October 27, 2008 Report Share Posted October 27, 2008 I haven't quite layed my finger on it yet, but there is something wrong with you two. Link to comment Share on other sites More sharing options...
Appo Posted October 27, 2008 Report Share Posted October 27, 2008 How so? I'm just asking alot of questions because i haven't used MMF for a few years because i was at uni and have started to get some motivation to start using it again (plus i'm not a harcore programmer, i did Games Art at uni) as for mad.array i'd just thought i'd try and help him :S Link to comment Share on other sites More sharing options...
Zenor Posted October 27, 2008 Report Share Posted October 27, 2008 instead of the grass being an active and move it through layers, you can just move Sonic instead. Link to comment Share on other sites More sharing options...
Rael0505 Posted October 28, 2008 Report Share Posted October 28, 2008 Getting a motobug to follow slopes is as easy as these two simple events: _____Condition: Motobug is overlapping a backdrop __________Action: Set Y position to Y (motobug) - 1 _____Condition: Motobug is overlapping a backdrop (negated) __________Action: Set Y position to Y (motobug) + 1 Then program the rest of the AI to your liking. It will follow slopes perfectly now. Keep in mind that for efficiency, of course, the motobug should always be deactivated if the player isn't near it. Link to comment Share on other sites More sharing options...
True_Sonic Posted October 28, 2008 Report Share Posted October 28, 2008 Zenor: Good point there . DW: I for some reason think they are the same person but I guess a admin can figure that out. Link to comment Share on other sites More sharing options...
Rael0505 Posted October 28, 2008 Report Share Posted October 28, 2008 I already searched their IP addresses and none of them match up with another account here. Chillax, peeps. Link to comment Share on other sites More sharing options...
Appo Posted October 28, 2008 Report Share Posted October 28, 2008 Thanks Rael, my intentions are benign when i ask for help, i'm not here to start conspiracies or annoy people, and i greatly appreciate the help that i have have recived, why would i make 2 accounts?, anyways i won't say anymore as i don't want to fill up mad.array's thread with this Link to comment Share on other sites More sharing options...
Rael0505 Posted October 28, 2008 Report Share Posted October 28, 2008 Don't worry about it, man. You've done nothing wrong. I know you're not in the loop with everything, but we've had more than one situation in the past where someone would register multiple accounts and actually talk to himself. So we're all a little paranoid. Hope you understand. You're more than welcome to make your own help threads when you need to. People, I've said this before - If you're suspicious of someone, come to an admin about it (like me or Slingerland) via PM or instant messenger so we can verify it for ourselves. Accusing people of things will only cause trouble. I should make this an official rule. Now everybody get back on topic please. Link to comment Share on other sites More sharing options...
DimensionWarped Posted October 28, 2008 Report Share Posted October 28, 2008 That was not what I was talking about. I just meant that they sounded overly cheesy and that they were peculiar. Besides, I can check IPs too you know. Link to comment Share on other sites More sharing options...
mad.array Posted October 28, 2008 Author Report Share Posted October 28, 2008 Thanks for the help and sensible amounts of skepticism everyone. =). @Appo: The theory is good. I may just change the yspeed condition to check whether ground = 1 as I do have the same grass effect on slopes, which would mean that y speed <> 0. Thanks for the idea ^^. And don't worry, I've had threads filled with much worse. @zenor: Would I be right in saying that because the sensors don't change layer then there won't be any of the clichéd 'falling thorugh the floor' issues? That's something I'd never thought of before. I may go with Appos idea due to the (apparent) ease of coding. thanks for the suggestion though, I'll keep it in mind. @Rael: Ah, that makes sense. I'd been looking at collisions instead of overlapping. Because you can't negate the collision condition I was having problems. I'll give that a shot as soon as I can. @DimensionWarped: Well, peculiar I take as a compliment. I guess I'll just have to live with the cheesy part which is a shame, because I hate cheese (the foodstuff, not the chao) Link to comment Share on other sites More sharing options...
Recommended Posts