# Xziron

Member Since 04 Dec 2005
Offline Last Active Jan 13 2011 06:30 PM

### In Topic: A Simple Room Editor

16 October 2008 - 11:27 AM

Ahh yes, this was for my own personal usage. So I don't expect people to use it.

Well if you don't mind I might try variations of this and implement them myself, I appreciate the great explanation on this I like the program BTW, interesting how you access the .GMK to overwrite the Room itself, i found that pretty cool.

### In Topic: A Simple Room Editor

16 October 2008 - 04:13 AM

Xfixium, i'm curious as to how your in room collision masks work, and when they are imported into GM how they are determined for collision?

15 October 2008 - 01:33 AM

A quick method of a Loading bar would be to have a Variable that caps at 100 and have it be increased by a percentage after each action is preformed

EX

file_open(...)
file_close(...)
file_open(...)
file_close(...)

etc...

### In Topic: Gm Functions Vs. Mathematical Formulae

15 October 2008 - 01:23 AM

Thanks Icuurd12b42 For the tests and proof And yes piedude04 If your using variables and such, a shift would be quicker to get a number to its 2nd power

-Xziron

### In Topic: Gm Functions Vs. Mathematical Formulae

12 October 2008 - 09:59 AM

I just want to point this out, not sure if anyone else knew, but if you use a bitwise shift << 1 then thats the same as saying to the power of 2.

Ex

2 << 1 = 4 OR 2^2
2 << 2 = 8 OR 2^3
2 << 3 = 16 OR 2^4
2 << 4 = 32 OR 2^5
...

Just puttin it out there. Since Bitwise operations were brought up

EDIT: On the note of speed, Using bitwise operations is quicker and less CPU consumption. So 2<<1 is quicker than saying power(2,2)

-Xziron