Jump to content


moneyboy

Member Since 06 Jul 2011
Offline Last Active Oct 16 2011 06:13 AM

Posts I've Made

In Topic: where to start on minecraft

15 October 2011 - 10:21 PM

Ok I guess i'll put off minecraft for now.  But later I will.... uhh.... I don't know what I will do but I will do something!

In Topic: Code for Running

15 October 2011 - 05:14 PM

if keyboard_check(vk_left) && place_free(x-5,y) x-=5;//you can change it aroud a little bit because this only makes if move left.

In Topic: Just a "random" question :D

04 October 2011 - 11:34 PM

Ok first of all I KNOW THAT a bunch of random() functions will result in a small number.  that is why i didn't put for the last random "100" or something like that.  I put "100000000000000000000".  And I KNOW that the value of "random_a" won't change if I change the value of "random_b" later on.
What I am foucusing on is how random these scripts are and how i can make them more random.  so i don't really care about the little things unless they result in errors(cuz nobody likes errors :D)  I just want to know how random these scripts are.  period.

In Topic: Just a "random" question :D

04 October 2011 - 01:09 AM

The first one would work because I declaired the variables before calling the script.
The second one's problem is also fixed because the number for the random function is somthing like 1000000000000000000000000.

In Topic: question about moving

29 September 2011 - 10:08 PM

here is a script that will do the job(i know u don't use gml but let's use it anyways :D)

if keyboard_check(vk_left) && place_free(x-5,y) x-=5;

if keyboard_check(vk_right) && place_free(x+5,y) x+=5;

if keyboard_check(vk_up) && place_free(x,y-5) y-=5;

if keyboard_check(vk_down) && place_free(x,y+5) y+=5;
it should do the moving diagonal job.