The Daily Click ::. Forums ::. Klik Coding Help ::. Why is MMF Upsidedown.
 

Post Reply  Post Oekaki 
 

Posted By Message

Ricky

loves Left For Dead 2

Registered
  28/12/2006
Points
  4175

Has Donated, Thank You!Game of the Week WinnerVIP MemberWii OwnerHero of TimeGOTM Winner! - November 2009I am an April Fool
5th October, 2009 at 08:22:25 -

Up is negative, down is positive. Have to remember to multiply by -1 when using trig functions for Y but not for X.

 
-

X_Sheep

I had a custom rating before it was cool

Registered
  01/03/2004
Points
  1313

VIP MemberPicture Me This -Round 23- Winner!Dos Rules!
5th October, 2009 at 09:16:44 -

MMF is not a graph. The majority of computer programs do this.

 
a/n

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
5th October, 2009 at 10:15:23 -

0 1 2 3 4 5 6 7 8 9
1
2
3
4
5
6
7
8
9

 
n/a

MrMcFlurry



Registered
  03/08/2009
Points
  89

360 Owner
5th October, 2009 at 12:16:54 -

Indeed, mmf uses the standard layout for pixel positioning. Only thing related to graphics i know that does it differently is OpenGL code, and people normally invert the view using that to avoid having to deal with it.

Basically, origin is the top left corner, the frame grows out of that point,

 
n/a

Codemonkey

Always Serious

Registered
  06/11/2007
Points
  164

Code MonkeyKlikCast StarVIP MemberAttention GetterWii Owner360 OwnerThe Cake is a LieCardboard BoxHero of TimeI'm a Storm Trooper
I'm on a BoatIt's-a me, Mario!PS3 OwnerSonic SpeedGOTM - SEPTEMBER 2009 - WINNER!Evil klikerPokemon Ball!I am an April Fool
5th October, 2009 at 22:15:11 -

It bothers me too Ricky.

 
You can log off any time you like, but you can't ever leave.

Sumo148

Super amazing fantastic user

Registered
  26/01/2009
Points
  530

360 OwnerThe Cake is a LieVIP MemberPokemon Ball!I am an April FoolI donated an open source projectSanta Hat
5th October, 2009 at 22:18:09 -

yeah I always forget this too when I'm coding custom engines. I always have to go back to my code because he moved in the exact opposite way

 
n/a

MrMcFlurry



Registered
  03/08/2009
Points
  89

360 Owner
6th October, 2009 at 00:10:00 -

Yo get used to it this is the way around basically all computer graphics work, even the screen is drawn to the monitor from top left to bottom right.

 
n/a

Codemonkey

Always Serious

Registered
  06/11/2007
Points
  164

Code MonkeyKlikCast StarVIP MemberAttention GetterWii Owner360 OwnerThe Cake is a LieCardboard BoxHero of TimeI'm a Storm Trooper
I'm on a BoatIt's-a me, Mario!PS3 OwnerSonic SpeedGOTM - SEPTEMBER 2009 - WINNER!Evil klikerPokemon Ball!I am an April Fool
6th October, 2009 at 00:10:58 -

I don't need this kind of verbal abuse.

 
You can log off any time you like, but you can't ever leave.

MrMcFlurry



Registered
  03/08/2009
Points
  89

360 Owner
6th October, 2009 at 00:13:45 -


Originally Posted by Codemonkey
I don't need this kind of verbal abuse.



i...umm...you.....what? D:

 
n/a

UrbanMonk

BRING BACK MITCH

Registered
  07/07/2008
Points
  49610

Has Donated, Thank You!Little Pirate!ARGH SignKliktober Special Award TagPicture Me This Round 33 Winner!The Outlaw!VIP MemberHasslevania 2!I am an April FoolKitty
Picture Me This Round 32 Winner!Picture Me This Round 42 Winner!Picture Me This Round 44 Winner!Picture Me This Round 53 Winner!
6th October, 2009 at 00:19:35 -

I feel abused as well. What's your problem Flurry!

 
n/a

Codemonkey

Always Serious

Registered
  06/11/2007
Points
  164

Code MonkeyKlikCast StarVIP MemberAttention GetterWii Owner360 OwnerThe Cake is a LieCardboard BoxHero of TimeI'm a Storm Trooper
I'm on a BoatIt's-a me, Mario!PS3 OwnerSonic SpeedGOTM - SEPTEMBER 2009 - WINNER!Evil klikerPokemon Ball!I am an April Fool
6th October, 2009 at 00:21:00 -

You know I think he should be banned for acting like that. This isn't a joke like you kiddies like to think.

 
You can log off any time you like, but you can't ever leave.

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
6th October, 2009 at 00:26:37 -

The point of origin (0,0) is at the top left corner. If you want to think of it in terms of a graph, think of the whole screen being the forth quadrant.
Image

 
http://www.facebook.com/truediamondgame

Codemonkey

Always Serious

Registered
  06/11/2007
Points
  164

Code MonkeyKlikCast StarVIP MemberAttention GetterWii Owner360 OwnerThe Cake is a LieCardboard BoxHero of TimeI'm a Storm Trooper
I'm on a BoatIt's-a me, Mario!PS3 OwnerSonic SpeedGOTM - SEPTEMBER 2009 - WINNER!Evil klikerPokemon Ball!I am an April Fool
6th October, 2009 at 00:37:22 -

Awesome now you're in on it too.

 
You can log off any time you like, but you can't ever leave.

UrbanMonk

BRING BACK MITCH

Registered
  07/07/2008
Points
  49610

Has Donated, Thank You!Little Pirate!ARGH SignKliktober Special Award TagPicture Me This Round 33 Winner!The Outlaw!VIP MemberHasslevania 2!I am an April FoolKitty
Picture Me This Round 32 Winner!Picture Me This Round 42 Winner!Picture Me This Round 44 Winner!Picture Me This Round 53 Winner!
6th October, 2009 at 00:37:57 -

I found this!!!

http://bit.ly/1Msexj

Ban them!!!!

 
n/a

MrMcFlurry



Registered
  03/08/2009
Points
  89

360 Owner
6th October, 2009 at 00:55:46 -

Lol, that was ironically a typo, was meant to be 'you' wasn't quoting some meme :< not one i've ever hear of, lol

but yeah, i think it's about time for a /thread

 
n/a

OMC

What a goofball

Registered
  21/05/2007
Points
  3539

KlikCast Musician! Guy with a HatSomewhat CrazyARGH SignLikes TDCHas Donated, Thank You!Retired Admin
6th October, 2009 at 01:03:09 -

UrbanMonk linked to a page on his website, they're just joking around.

 

  		
  		

nim



Registered
  17/05/2002
Points
  7232
6th October, 2009 at 02:54:26 -

Have you tried reinstalling???

 
//

Muz



Registered
  14/02/2002
Points
  6499

VIP MemberI'm on a BoatI am an April FoolHonored Admin Alumnus
6th October, 2009 at 03:27:43 -

It's how monitors work. Monitors show pixels from the top left corner, go left all the way, then go down one line. Since it's going down line-by-line, higher Y is lower.

If you ever get into electrical engineering, you'll find that there are a LOT of terms screwed up. Electrical engineering was invented by a mixture of American physicists and rogue scientists. Heck, "conventional current" is reversed to the electron flow of current.

 
Disclaimer: Any sarcasm in my posts will not be mentioned as that would ruin the purpose. It is assumed that the reader is intelligent enough to tell the difference between what is sarcasm and what is not.

Image

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
6th October, 2009 at 04:45:37 -

Don't bother. No ones taking this topic seriously anymore.

 
http://www.facebook.com/truediamondgame

aphant



Registered
  18/05/2008
Points
  1242
6th October, 2009 at 05:17:48 -

You know what Clickteam should add for either the next MMF 2 patch or next version? Put the origin in the center of the frame.

 

Cecilectomy

noPE

Registered
  19/03/2005
Points
  305

Has Donated, Thank You!VIP MemberWeekly Picture Me This Winner!Cardboard BoxGhostbuster!Pokemon Ball!ComputerBox RedSanta HatSnowman
I am an April Fool
6th October, 2009 at 05:27:20 -

thats a really bad idea.

 
n/a

Pixelthief

Dedicated klik scientist

Registered
  02/01/2002
Points
  3419

Game of the Week WinnerWeekly Picture Me This Winner!You've Been Circy'd!VIP MemberI like Aliens!Evil klikerThe SpinsterI donated an open source project
6th October, 2009 at 07:54:39 -


Originally Posted by Muz
It's how monitors work. Monitors show pixels from the top left corner, go left all the way, then go down one line. Since it's going down line-by-line, higher Y is lower.

If you ever get into electrical engineering, you'll find that there are a LOT of terms screwed up. Electrical engineering was invented by a mixture of American physicists and rogue scientists. Heck, "conventional current" is reversed to the electron flow of current.



Yep this is it, its been a convention in software for a very long time.
Applies to many other things, not just click.

 
Gridquest V2.00 is out!!
http://www.create-games.com/download.asp?id=7456

Sketchy

Cornwall UK

Registered
  06/11/2004
Points
  1968

VIP MemberWeekly Picture Me This Round 43 Winner!Weekly Picture Me This Round 47 WinnerPicture Me This Round 49 Winner!
6th October, 2009 at 15:19:43 -

I don't think it's that much of a problem really.
Normally there's a much easier way around it than multiplying by -1.

Like when you use ATan2 to find the angle from A to B, you just put the Y components the other way aroud from the X components:
ATan2( Y_ObjectA - Y_ObjectB, X_ObjectB - X_ObjectA )

You don't have to say:
ATan2( Y_ObjectB - Y_ObjectA * -1, X_ObjectB - X_ObjectA )


Or when you make 360 degree movement:
Add "Cos(Angle) * Speed" to X Position
Subtract "Sin(Angle) * Speed" from Y Position

 
n/a

Silveraura

God's God

Registered
  08/08/2002
Points
  6747

Game of the Week WinnerKlikCast StarAlien In Training!VIP Member360 OwnerWii OwnerSonic SpeedThe Cake is a LieComputerChristmas Tree!
I am an April Fool
6th October, 2009 at 16:46:42 -


Originally Posted by Adam Phant
You know what Clickteam should add for either the next MMF 2 patch or next version? Put the origin in the center of the frame.



I wouldn't say it's a horrible idea, just an incredibly half-baked idea.

If anything, they should allow us to move the point of origin around at run-time or at least in frame properties. However I don't think anyone including myself, would die without this feature. It's one of those mild features that might be pushed back till MMF3. Looking at other programing languages, I can't say it would be too hard to accomplish in MMF2. I don't know the ins and outs of the program and how it functions or interacts with the events to display graphics though. Nothing will be held against Clickteam if they decide they either can't do it or it wouldn't be at all worth their time.

Edited by Silveraura

 
http://www.facebook.com/truediamondgame

bigredron



Registered
  07/04/2007
Points
  299
7th October, 2009 at 12:19:37 -

Why would they make it so you can modify the point of origin, when all you have to do is create an offset and use that?
Its not rocket science...

 
n/a

UrbanMonk

BRING BACK MITCH

Registered
  07/07/2008
Points
  49610

Has Donated, Thank You!Little Pirate!ARGH SignKliktober Special Award TagPicture Me This Round 33 Winner!The Outlaw!VIP MemberHasslevania 2!I am an April FoolKitty
Picture Me This Round 32 Winner!Picture Me This Round 42 Winner!Picture Me This Round 44 Winner!Picture Me This Round 53 Winner!
7th October, 2009 at 14:53:54 -


Originally Posted by bigredron
Why would they make it so you can modify the point of origin, when all you have to do is create an offset and use that?
Its not rocket science...



I tried doing that once...

Image

 
n/a
   

Post Reply



 



Advertisement

Worth A Click