The Daily Click ::. Forums ::. Klik Coding Help ::. 2 bugs need squashed, anyone have a shoe handy?
 

Post Reply  Post Oekaki 
 

Posted By Message

MBK



Registered
  07/06/2007
Points
  1578

VIP Member
6th February, 2009 at 01:19:44 -

Hello, I have a few problems I'm stuck on with the project I'm working on. Check out the last update on my Project page, the opensource file is there. Here's the link to my project:

http://www.create-games.com/project.asp?view=main&id=1444


 
Click Me! http://www.create-games.com/project.asp?view=main&id=1444

http://www.mediafire.com/download.php?aoo1dnnlq5i

Blood of the Ancient One, Seen only as Shadow, Faster than Lightning, Fierce as the Greatest Dragon, Nearly Invisible, Floating in a Dream, Entered through the Demon Door, Destroyer of Evil in a Realm with a Red Sky Scarred, Who could I be ?

MBK



Registered
  07/06/2007
Points
  1578

VIP Member
6th February, 2009 at 03:41:34 -

Here's a direct link to the source that I'm referring to: http://www.mediafire.com/download.php?4hl15540qkm

How do I get the platforms to show correctly? Also, how can I make the square line up correctly on the platform?

Does anyone see what I mean?


I'm probably gonna have to re-code it again, but using a more reliable x,y,z, value system.


 
Click Me! http://www.create-games.com/project.asp?view=main&id=1444

http://www.mediafire.com/download.php?aoo1dnnlq5i

Blood of the Ancient One, Seen only as Shadow, Faster than Lightning, Fierce as the Greatest Dragon, Nearly Invisible, Floating in a Dream, Entered through the Demon Door, Destroyer of Evil in a Realm with a Red Sky Scarred, Who could I be ?

Sketchy

Cornwall UK

Registered
  06/11/2004
Points
  1970

VIP MemberWeekly Picture Me This Round 43 Winner!Weekly Picture Me This Round 47 WinnerPicture Me This Round 49 Winner!
6th February, 2009 at 14:44:48 -

I downloaded the file, but as I have no idea what's supposed to happen, it's pretty much impossible to figure out why it doesn't. None of the events or anything are commented either, which doesn't help.

Edited by Sketchy

 
n/a

Deleted User
6th February, 2009 at 23:12:01 -

Most likely you will need to redo the xyz system. Pretend X is X, Z is Y and the Y can be determined by the height of the player. Then determining where the platforms are is another story. I liked the idea of using the shadows as the determining factor, stick with it. But of course you have that problem of the player being on the same area of the platform, you kind of have it just be land able based on if he's on the shadow or not, which sticks him to the top of the platform. Maybe if you set up the Z right, stop the player from falling if he's in the z minus where the shadow is on the platforms shadow, or something like that. The next thing is the layering, that's gonna be a big problem. If you are able to use the Layers object, go for it, but if you're using TGF I don't think you can, so erg. I donno. Those are my two cents.

 

MBK



Registered
  07/06/2007
Points
  1578

VIP Member
7th February, 2009 at 03:47:07 -

Did have a huge message I was typing but when I highlighted something and hit the "backspace" key, it acted as if I had clicked on the "Back" arrow and went to the previous page, in effect deleting my post, so if anything sounds wrong that's why.

I should have commented, but was only concerned with it working. Sketchy, you should have at least seen the 2 glitches at runtime, easy to spot.
Maybe you are an awesome coder and can help me out with something from scratch?

jneumann1, was hoping to salvage the code though as the foundation is all there except the 2 glitches in the way. Rather not use layers for this even if using MMF2.

Could someone smart make an example from scratch on how to use x,y,z method correctly? (cause I'm not 100% sure how to do it yet)

Thank You all for taking the time to try helping.


 
Click Me! http://www.create-games.com/project.asp?view=main&id=1444

http://www.mediafire.com/download.php?aoo1dnnlq5i

Blood of the Ancient One, Seen only as Shadow, Faster than Lightning, Fierce as the Greatest Dragon, Nearly Invisible, Floating in a Dream, Entered through the Demon Door, Destroyer of Evil in a Realm with a Red Sky Scarred, Who could I be ?

Peblo

Custom ratings must be 50 characters or less

Registered
  05/07/2002
Points
  185

Game of the Week WinnerVIP MemberI'm on a Boat360 OwnerAttention GetterThe Cake is a LieCardboard BoxHero of TimePS3 OwnerIt's-a me, Mario!
I'm a Storm TrooperSonic SpeedStrawberryI like Aliens!Wii OwnerMushroomGhostbuster!
7th February, 2009 at 04:18:48 -

Huh. The code isn't commented and I can't really spend the time figuring out what it does. You're rather brave trying to do this without the layers object though.

If I ever get a break from homework or projects I will make you something.

Edited by Peblo

 
"Isn't it always amazing how we characterize a person's intelligence by how closely their thinking matches ours?"
~Belgarath

MBK



Registered
  07/06/2007
Points
  1578

VIP Member
10th February, 2009 at 03:58:44 -

Still can't figure this out. Anyone out there who can do this sort of coding and has the time?

I hope you get some free time soon Peblo. You may be my only hope.


Edited by MBK

 
Click Me! http://www.create-games.com/project.asp?view=main&id=1444

http://www.mediafire.com/download.php?aoo1dnnlq5i

Blood of the Ancient One, Seen only as Shadow, Faster than Lightning, Fierce as the Greatest Dragon, Nearly Invisible, Floating in a Dream, Entered through the Demon Door, Destroyer of Evil in a Realm with a Red Sky Scarred, Who could I be ?

MBK



Registered
  07/06/2007
Points
  1578

VIP Member
17th February, 2009 at 04:36:55 -

I guess Peblo forgot about me, or is really busy. I'm gonna take a break from my project and build a platformer with polished graphics if I can, to hone my skills a bit.


 
Click Me! http://www.create-games.com/project.asp?view=main&id=1444

http://www.mediafire.com/download.php?aoo1dnnlq5i

Blood of the Ancient One, Seen only as Shadow, Faster than Lightning, Fierce as the Greatest Dragon, Nearly Invisible, Floating in a Dream, Entered through the Demon Door, Destroyer of Evil in a Realm with a Red Sky Scarred, Who could I be ?

Peblo

Custom ratings must be 50 characters or less

Registered
  05/07/2002
Points
  185

Game of the Week WinnerVIP MemberI'm on a Boat360 OwnerAttention GetterThe Cake is a LieCardboard BoxHero of TimePS3 OwnerIt's-a me, Mario!
I'm a Storm TrooperSonic SpeedStrawberryI like Aliens!Wii OwnerMushroomGhostbuster!
17th February, 2009 at 04:50:29 -

Really busy actually.


 
"Isn't it always amazing how we characterize a person's intelligence by how closely their thinking matches ours?"
~Belgarath

MBK



Registered
  07/06/2007
Points
  1578

VIP Member
28th February, 2009 at 22:43:17 -

Update: Solved ONE of these bugs BUT in a seperate code, so as to whether I can figure out how to incorporate it into the code that is there remains to be seen.

The bug I speak of is the one where the character square does not line up correctly with the shadow square in relation to the platform shadow ... I have a solution BUT have not tried to incorporate it into the main coding yet.

And the other bug I now have a vague idea on a possible solution, but it is very foggy and just over the horizon line .. heh.

So, I'm slowly progressing (VERY SLOWLY) .. but it seems quite likely that this can be accomplished in TGF1 and may even promote good coding habits by doing so.

Oh, btw Peblo, thanks for the encouragement and the advice, as it set me back on the right train of thought regarding this.


Edited by MBK

 
Click Me! http://www.create-games.com/project.asp?view=main&id=1444

http://www.mediafire.com/download.php?aoo1dnnlq5i

Blood of the Ancient One, Seen only as Shadow, Faster than Lightning, Fierce as the Greatest Dragon, Nearly Invisible, Floating in a Dream, Entered through the Demon Door, Destroyer of Evil in a Realm with a Red Sky Scarred, Who could I be ?
   

Post Reply



 



Advertisement

Worth A Click