|
|
 |
|
 |
|
Views: 236,627,700 Time: 2013-05-24 10:31:08 PM | 26 users online: Adam, Carka Jack, Damned, Dan Maku, Doopy Buckride, DPhoenix29, EvilGuy0613, Flame8765, HyperMario, inmanaaron03, Koopers, KY2010, LuigiTime, ManuMaster654, MaxodeX, MetalYoshi94, OVOXO, Pinci, Randomiser, RonaldCoLtd, Scrydan, Sokobansolver, SomeGuy712x, Sonikku, StinNoO, theluigimaster1000 - Guests: 27 - Bots: 13 | Users: 22,884 (1,278 active) Latest: BeetleBonanza |
|
|
 |
|
 |
|
| Tip: Try making new backgrounds using SMW's existing graphics. For example, if you have a hilly BG, rearrange it to make it look more unique. |
|
|
|
 |
|
 |
|
|
|
|
|
 |
|
 |
|
| Reversing controls in Game Maker |
|
Forum Index - Hobbies - Game Creation - Reversing controls in Game Maker |
|
Pages: 1  |
|
|
|
| Posted on 2011-12-04 02:24:08 PM |
Link | Quote |
|
Hey, I'm in the middle of a project for college using Game Maker Lite 8.1.
It's a platforming game and I was wondering if anyone kknew how to make it so that if the player was hit by a certain projectile, their controls would be reversed for a time?
Credit will be given unless otherwise requested.
-Hitokiri Aoshi
|
|
| Posted on 2011-12-05 06:28:28 AM |
Link | Quote |
|
It would be something like...
Code
if key pressed = *whatever*
{
go -x spaces
}
I'm not sure, something like that.
|
|
| Posted on 2011-12-05 11:44:13 AM |
Link | Quote |
|
|
Make another object that has reversed controls? I don't know, I haven't done anything like that before.
|
|
| Posted on 2011-12-05 09:07:39 PM |
Link | Quote |
|
It's actually quite simple. You add any moving block you wish under a Key Press event and make the left button move right with a positive x number, and the right button move left with a negative x number. Now for up and down, Game Maker reads the y-axis invertedly, so when you go up, you're actually going to the negative y values. So when you press up, you will move down with a positive y number, and the down button will make you move up with a negative y number.
Hope that helped.
|
|
|
Pages: 1  |
|
|
|
|
Forum Index - Hobbies - Game Creation - Reversing controls in Game Maker |
|
|
 |
|
 |
The purpose of this site is not to distribute copyrighted material, but to honor one of our favourite games.
Copyright © 2005 - 2013 - SMW Central Legal Information - Link To UsTotal queries: 27
|
|
|
|