Jump to content


Sam_Man_5000

Member Since 08 Jul 2009
Offline Last Active Jun 27 2014 08:25 AM

Posts I've Made

In Topic: Nearest divisible number

09 June 2014 - 09:27 AM

Hmmm I will give teleportation a shot, thank you for the help!

 

I will credit you.

 

 

Just out of curiosity, is there any way to work out the nearest possible number to Speed that's still divisible by 96?


In Topic: Nearest divisible number

09 June 2014 - 09:16 AM

You are 100% correct, I apologize for doubting you in the first place.

 

I completely mistook the % sign as an & sign.

 

 

I am, however, having a bit of trouble working out how to fit this into my code.

 

I need the player's 96x96 sized square to move 96 pixels to the right at a certain speed.

 

Let's say 5, for example.

 

How would I apply your code in order to make sure that the player moved at a speed of 5 until that is no longer applicable, at which point the speed is lowered to the fastest possible speed?

 

 

Thank you in advance! I will credit you, if you wish.


In Topic: Nearest divisible number

09 June 2014 - 09:02 AM

Sadly, that won't have the desired effect.

 

That's the same as using:

 

if x!=locationx

{

x+=speed

}

 

 

I've worked out all of what needs to be done, I just need a method for rounding to the nearest number that's divisible by 96.


In Topic: Concept Artist/Ilustrator Available [Paid Work]

09 June 2014 - 07:10 AM

Giby your work is truly astonishingly beautiful! I feel as if it's almost 100x better than any graphics a GM:S Game could handle, though. If I were you I'd start taking work on http://www.freelancer.com.

 

There are a lot of people out there who need artwork at level that you can produce. People are willing to pay upwards of $200 of these kinds of things. I wish you luck! Keep up the good work.


In Topic: Deleting Key'S In Ini Files

21 January 2014 - 09:40 PM

Never mind! Solved the issue! +1'd your posts, thanks for the help, bro!