I finnaly got TGF. And am very glad to be making games again. And I know the basics of the custom side scroller platform movement exept one little detail. My left and right movement works flawlessly, but my jump is something I have not been able to figure out for the life of me. I have no fastloop or advanced math objects unfortunatly, so when my characature jumps... actually he cant even jump. But when he walks off a ledge he falls at a constant slow rate until he hits the ground, he cant jump. and this way I've avoided going through the ground but have a horrible engine, some one end my misery.
I'm also having a hard time finding a good grid movement RPG type movement without having to use more than one object. If anybody's got any tips.
Sorry to critisize your efforts, but I'm having no problem with jumping, trajectory, or gravity, only landing on the ground without going through the ground.
As my characature gains speed when falling, he goes from moving 1 pixel at a time to 2 pixels to 3 and so on with a maximun velocity of 3-5 pixels (Ypos) + 3. And when landing the bottom detector it triggered and he is back to normal, but he ends up a couple pixels below ground level, which results in side detector malfunction some times and over all a very unprofetional or none smooth look to the howl thing. Further I am at a road block where I cannot produce the multiple exelent platformers I have in mind with this minor problem in my way.
Still searching for the perfect game.
Peblo Custom ratings must be 50 characters or less
Registered 05/07/2002
Points 185
11th November, 2006 at 05:40:20 -
"I cannot produce the multiple exelent platformers I have in mind with this minor problem in my way. "
Yes, I can tell they'll be excellent.
'Push' the object up out of the ground.
-Bottom detector overlaps background
+Y pos player -1
If you don't want to use fastloops, then you can repeat the code. Like:
-Bottom detector overlaps background
+Y pos player -1
-Bottom detector overlaps background
+Y pos player -1
-Bottom detector overlaps background
+Y pos player -1
-Bottom detector overlaps background
+Y pos player -1
-Bottom detector overlaps background
+Y pos player -1
-Bottom detector overlaps background
+Y pos player -1
-Bottom detector overlaps background
+Y pos player -1
All in a row. Shame, fastlooping makes things less messy and is faster.
Edited by the Author.
Edited by the Author.
"Isn't it always amazing how we characterize a person's intelligence by how closely their thinking matches ours?"
~Belgarath
Yes Peblo, those were some exelent suggestions. But there is still room for further improvement, like not going through the floor at all. Though this new code may make it so, once I try it. Also I havent checked the Click Team website, but is there extensions/tools you can download for TGF, perhaps including the fastloop tool? I think its a tool anyway? If so I'm there.
Why are you using TGF when you've got MMF? You do realize that TGF is an outdated version of MMF, and that MMF in turn is an outdated version of MMF2?
My point is that you could easily do this in MMF, with some nice fastloops and stuff. Besides, TGF has an awful lot of bugs and limitations that are fixed in MMF. I'd convert the .gam to .cca, and continue in MMF if I were you.
Don't listen to the haters man, TGF is just fine. It's not about the tool, it's about how you USE the tool.
Yes, TGF is limited, the most annoying of which is the 256 object limit. But pretty much any other problem can be worked around with a bit of thinking. I used TGF exclusively for the last 6 years (recently got MMF2 though), and yes, things are harder to do in it (Parallax scrolling for example) but it's completely possible.
If you want, you can download the TGF fastloops extension over at the extension archive (there's a link on CT's page somewhere).
Can we please not turn this into another mindless TGF vs MMF flamewar? I expressed my opinion on the matter, and now I'm an emo nerd and a TGF hater? Gee, thanks
I really have nothing against TGF. I still use it for simple things, but whenever I want to make something more advanced, such as a CPM, I use MMF. Personally, I think that if you have a problem making a playable CPM because of TGF limitations, then you should move on to MMF. I'm not saying that TGF can't do it, but that it's easier in MMF.
Or maybe I'm just saying that because I don't have extension support for my TGF
Yeah, but they aren't perfect. In CPM4, sometimes when you hit the ground, you wouldn't be pushed out of the ground directly, but it was delayed for a frame or two.
Okay, that's hardly noticeable, but it could easily be fixed with a fastloop or two. I was gonna check the code, but I got a read error when opening it with TGF
n/a
Peblo Custom ratings must be 50 characters or less
Registered 05/07/2002
Points 185
13th November, 2006 at 01:38:53 -
Yeah or you know the replacement for fastloops, copy pasting events over and over. Not that it's in any way efficient.
"Isn't it always amazing how we characterize a person's intelligence by how closely their thinking matches ours?"
~Belgarath