HorizMov,VertiMov,ColSwap,Trans=0;

Non-platform specific questions.

HorizMov,VertiMov,ColSwap,Trans=0;

Postby Hblade » Wed Feb 22, 2012 7:22 pm

Can this be done like this? in other words, can you use commas to make a bunch of variables Equal to 0? Or would you have to do it separately? Thanks.
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

Re: HorizMov,VertiMov,ColSwap,Trans=0;

Postby MrJolteon » Wed Feb 22, 2012 7:35 pm

Yes, you can. I just tested it.
Join us on Discord!
Game Editor 2
These are the best ways to reach me these days


Your local Community Janitor, always lurking in the shadows...
User avatar
MrJolteon
 
Posts: 2326
Joined: Sat Aug 09, 2008 3:25 pm
Location: Stranded under endless sky
Score: 105 Give a positive score

Re: HorizMov,VertiMov,ColSwap,Trans=0;

Postby tintran » Wed Feb 22, 2012 7:45 pm

HorizMov,VertiMov,ColSwap,Trans=0; (this will only set Trans to 0)
HorizMov=VertiMov=ColSwap=Trans=0; (this will set them all to 0)
User avatar
tintran
 
Posts: 157
Joined: Fri Dec 24, 2010 1:34 am
Score: 30 Give a positive score

Re: HorizMov,VertiMov,ColSwap,Trans=0;

Postby Hblade » Wed Feb 22, 2012 7:49 pm

Thank you guys! :)
Subscribe to my YouTube? - Yes| No
User avatar
Hblade
 
Posts: 4455
Joined: Fri Dec 08, 2006 11:14 pm
Score: 181 Give a positive score

Re: HorizMov,VertiMov,ColSwap,Trans=0;

Postby MrJolteon » Wed Feb 22, 2012 7:50 pm

You're welcome
A point would be nice xD
Join us on Discord!
Game Editor 2
These are the best ways to reach me these days


Your local Community Janitor, always lurking in the shadows...
User avatar
MrJolteon
 
Posts: 2326
Joined: Sat Aug 09, 2008 3:25 pm
Location: Stranded under endless sky
Score: 105 Give a positive score

Re: HorizMov,VertiMov,ColSwap,Trans=0;

Postby lcl » Sun Feb 26, 2012 2:10 pm

MrJolteon wrote:You're welcome
A point would be nice xD


tintran wrote:HorizMov,VertiMov,ColSwap,Trans=0; (this will only set Trans to 0)...

So you're asking for a point for wrong answer, Jolt? XD
User avatar
lcl
 
Posts: 2339
Joined: Thu Mar 25, 2010 5:55 pm
Location: Finland
Score: 276 Give a positive score

Re: HorizMov,VertiMov,ColSwap,Trans=0;

Postby MrJolteon » Sun Feb 26, 2012 2:19 pm

lcl wrote:
MrJolteon wrote:You're welcome
A point would be nice xD

So you're asking for a point for wrong answer, Jolt? XD

I just said putting the vars like that worked lol
Join us on Discord!
Game Editor 2
These are the best ways to reach me these days


Your local Community Janitor, always lurking in the shadows...
User avatar
MrJolteon
 
Posts: 2326
Joined: Sat Aug 09, 2008 3:25 pm
Location: Stranded under endless sky
Score: 105 Give a positive score

Re: HorizMov,VertiMov,ColSwap,Trans=0;

Postby SuperSonic » Sun Feb 26, 2012 10:42 pm

MrJolteon wrote:
lcl wrote:
MrJolteon wrote:You're welcome
A point would be nice xD

So you're asking for a point for wrong answer, Jolt? XD

I just said putting the vars like that worked lol

:lol:
A tree never hits an automobile except in self-defence.

Want to use your joystick or controller with Game Editor? Check out my controller engine =D
User avatar
SuperSonic
 
Posts: 1443
Joined: Fri Sep 24, 2010 9:24 pm
Location: Anywhere
Score: 72 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest