Page 1 of 1

What the heck is wrong with GM8?

Posted: Thu Feb 03, 2011 1:27 am
by boywhoflies
Ok, I'm trying to start a new platformer. I'm using the same engine I've used for all my (not 3D) platformers, but it's glitching up.

Any ideas? I realy want to kick this off.

Posted: Thu Feb 03, 2011 1:43 am
by DEEMAN223344
I don't know. What is happening?
Are you blocking MAV?
somebody wrote:It can't access the memory that "doesn't exist" AFAIK but it can try to access memory that it shouldn't access.
Imagine that a wrong object, instead of MAVing out makes it reach out of the array and in... memory occupied by Notepad. Just for an example. Can you GUESS what happens to poor Notepad and what glitches may ensue?! It's unpredictable.

That's not the worst possibility either. Sometimes, a program (probably not in this case) can contain a pointer that points to some specific variable or something, but of course, it actually points directly to memory. When whatever it was in that memory block is deleted, the pointer now points to memory only and should be immediately NULLed, but if the program attempts to do stuff with that pointer instead, unpredictable behaviour may result, as that memory can by now be filled by literally anything. It's far harder to catch (i.e. simple "Access Violation" detector cannot catch it) so it's more vicious to the programmers.
That post + Lavender Town = SCARY

Posted: Thu Feb 03, 2011 1:59 am
by boywhoflies
When the player in on the floor, it won't walk as if there is something blocking it even when there isen't. :|

Posted: Thu Feb 03, 2011 2:38 am
by MyNameIsKooky
Is your floor solid?

Posted: Thu Feb 03, 2011 3:04 am
by ~xpr'd~
MyNameIsKooky wrote:Is your floor solid?
This post made my day. Seriously.

Posted: Thu Feb 03, 2011 9:22 pm
by DEEMAN223344
Then otherwise you would fall through the floor.
Are floors placed inside eachother? If so, STOP IT.

Posted: Thu Feb 03, 2011 10:11 pm
by Serlan
Hey boywhoflies, I know your problem.

I had the same problem when making platformer games, you created a floor that is solid, then test and the player falls trough the floor, then you make:
Player collision with Floorl: Stop moving, then the player is freeze at the floor
player cannot move, by the player collision with floor, the player don't move by the player is pushed by the gravity to the floor so it freeze. Idk about this, bye

-Serlan

Posted: Thu Feb 03, 2011 10:38 pm
by boywhoflies
Thanks serlan! That was what I had, but I double checked what you said. Turns out I just frogot to hit relitave at one point, I failed.Go ahead, say -_-. :lol:

BTW serlan, that's what took me about a year to figgure out, I usted to be pretty darn bad. How long have you been using game maker?

Posted: Thu Feb 03, 2011 10:41 pm
by Serlan
Like at 6,7 years old.

Posted: Thu Feb 03, 2011 10:46 pm
by Serlan
Serlan wrote:Like at 6,7 years old.
My first game was like a
Puzzle-Mario Bros game, I lost the game at 8 years and the recovery tool too.
That was bad, so I maked it again in GM8 and was slow and glitchy, you know,
so I never maked it again,

Posted: Thu Feb 03, 2011 10:59 pm
by boywhoflies
6-7? :shock: :D

Wait, how old are you now?

Posted: Fri Feb 04, 2011 12:24 pm
by Serlan
Ten years old boywhoflies

Posted: Fri Feb 04, 2011 9:26 pm
by boywhoflies
So you've been using game maker for 3-4 years? :shock:
That's twice the amount of time I have. :shock:

Posted: Sat Feb 05, 2011 12:57 am
by DEEMAN223344
same here...I think...
actually...
I technically started understanding GM on May 25, 2009.

Posted: Sat Feb 05, 2011 1:35 am
by boywhoflies
4 days before my b-day. :P

Posted: Sat Feb 05, 2011 2:21 am
by DEEMAN223344
also on my 3-year old sister's birthday....

Posted: Sat Feb 05, 2011 2:23 am
by MyNameIsKooky
I started using Game Maker in 2007, back when there was only Game Maker 6. I suppose that makes me four years and counting.

Posted: Sat Feb 05, 2011 12:35 pm
by Serlan
Hey MNIK I also started using GM6, 4 years like i been using Game Maker