Hello Guest, please login or register.
Did you miss your activation email?
Login with username, password and session length.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - J_dog

Pages: 1 [2] 3
21
Coding / Hey, guys, I need your help here!
« on: February 11, 2008, 08:29:58 pm »
I need a piece of code to check if objHero is next to objBlock. idk, it seems so easy, but if distance_to_object doesnt work, cuz that means over and under as well.

22
Coding / Re: [request]Mega Man X wall Jumping
« on: January 03, 2008, 10:01:13 pm »
Never Mind all, solved it! Mods, please lock

23
Coding / Re: [request]Mega Man X wall Jumping
« on: January 03, 2008, 09:27:45 pm »
oops, im using GM6

24
Coding / [request]Mega Man X wall Jumping
« on: January 03, 2008, 09:12:38 pm »
Good day chaps,

I was wondering if any of you could make a simple Mega Man X esque wall jumping example. A simple jumps into wall, sticks to wall, slowly slides down wall, jumps of wall at a 135 degree angle. Thanks in advance, I've been working on this for months and can't figure it out. Mods, if this turns into a thread where every one is telling me "Hey, did you even try it? Go do it yourself!" or "Like someones gonna drop what there doing just to help you out" or even "OMG u f-1ng stup1d loooser! GTFO! lol! u suxxors!" feel free to close this topic.

25
Coding / Re: REQUEST!! URGENT!!!
« on: December 20, 2007, 08:23:54 pm »
wow, tanks a lot mit! Well, i cant use a usb mouse because my craptop has only one  USB port! and I need that one. Well, mice on a laptop are a little unconventional for what i want to use them for. But glove pie will defanitly help, thanx!

26
Coding / REQUEST!! URGENT!!!
« on: December 20, 2007, 02:04:03 am »
Hi all! I have an old c]raptop computer, and its trackpoint ball thingy doesn't work any more... at all! I have no way to use it, so I was wondering if anyone could make a little program that I could run at startup that makes the arrow keys (NOT THE NUMERIC KEYBOARD![This is like 789uiojkl on my craptop!]) anyway, I need this as quickly as possible, please and thank you!

27
Coding / GM6 Help Shock Defence like shooting
« on: November 19, 2007, 12:29:33 am »
Hi all! OK  i have a game(it's just like shock defence, if you've played it you'll know what i mean if not, google search it.) you have a arrow tower and it has a radius of 50 pixels lets say you have a path like this

                          END
|                    •     |
|   arrow tower here |
|         ___________|
|        |
|_____|

Now I want the arow tower to automatically shoot at the object tht's closest to the end in its 50 pixel radius, see what I mean? can Goodnight or some other smarty teach me?

28
Coding / Re: Help me with TRW text engine
« on: November 15, 2007, 09:04:58 pm »
well, it has three scripts, "ask()" using both so I will post all three.


To Mit "it didn't work, it jus wouldn't load the game..."
any way.

Code: [Select]
// argument0 = the text
// argument1 = whether or not to draw the box at the end
// argument2 = whether or not to initiate the text
// argument3 = whether or not to draw the text box
// argument4 = the picture to use
// ` = white text
// ^ = red text
// { = blue text
// } = green text
// ‡ = yellow text (Alt + 0135)
global.drawingtext = true;
if (argument2 = true) {
 position = 1;
 done = false;
}
global.text = argument0;
global.more = argument1;
global.font = sprLettersWhite;
if (keyboard_check(vk_space) = true) {
 done = true;
 position = string_length(global.text);
 curstring = global.text;
 keyboard_clear(vk_space);
}
if (done = false) {
 curstring = string_copy(global.text, 1, position);
 if string_length(curstring) = string_length(global.text) {
   done = true;
   position = 1;
 }
}
if (done = false) {
  position += 1
}
if (argument4 != 0) {
 draw_sprite(sprPhotoBox, 0, view_xport[0] + 0, view_yport[0] + 116);
 draw_sprite(argument4, 0, view_xport[0] + 6, view_yport[0] + 122-16
 );
}
if (argument3 = true) {
 draw_sprite_ext(sprTextBox, 0, view_xport[0] + 0, view_yport[0] + 160,1,1,0,c_white,0.5);
screen_refresh();
}
pointx = 22-16;
pointy = 166;
for(i = 1; i < string_length(curstring) + 1; i += 1) {
 lettertemp = string_copy(curstring, i, 1);
 if (pointx >= 290) {
  pointx = 22-16;
  pointy += 16;
 }
 if (lettertemp != " " && lettertemp != "~" && lettertemp != "|") {
  if (lettertemp != "`" && lettertemp != "^" && lettertemp != "{" && lettertemp != "}" and lettertemp != "¬" and lettertemp != "‡") {
   draw_text_sprite(view_xport[0] + pointx, view_yport[0] + pointy, lettertemp, -1, 320, global.font, '!', 1);
   pointx += 8;
  }
  else {
   if (lettertemp = "`") {
    global.font = sprLettersWhite;
   }
   if (lettertemp = "^") {
    global.font = sprLettersRed;
   }
   if (lettertemp = "{") {
    global.font = sprLettersBlue;
   }
   if (lettertemp = "}") {
    global.font = sprLettersGreen;
   }
   if (lettertemp = "‡") {
    global.font = sprLettersYellow;
   }
  }
 }
 if (lettertemp = " ") {
  pointx += 8;
 }
 if (lettertemp = "~") {
  pointy += 16;
  pointx = 22-16;
 }
}
if (lettertemp = "|") {
 sleep(100);
}
screen_refresh();
if (done = true && global.more = true) {
 draw_sprite(sprTextMore, 0, view_xport[0] + 123, view_yport[0] + 216);
}
if (done = true && argument5 != 0) {
 if (argument5 > 2) {
  argument5 = 2;
 }
 if (argument5 == 1) {
  draw_sprite(sprTextArrow, 0, view_xview[0] + 22-16, view_yview[0] + 182);
 }
 if (argument5 == 2) {
  draw_sprite(sprTextArrow, 0, view_xview[0] + 22-16, view_yview[0] + 198);
 }
}
if (done = false) {
 sleep(30);
 Say(argument0, argument1, false, argument3, argument4, argument5);
}
else {
 screen_refresh();
 keyboard_wait();
 if (argument5 == 0) {
  sleep(30);
 }
 else {
  if (keyboard_lastkey = vk_right || keyboard_lastkey = vk_left || keyboard_lastkey = vk_up || keyboard_lastkey = vk_down) {
   if (argument5 == 1) {
    argument5 = 2;
   }
   else {
    argument5 = 1;
   }
  }
  if (keyboard_lastkey = vk_space) {
   keyboard_clear(vk_space);
   return(argument5);
  }
  else {
   Say(argument0, argument1, false, argument3, argument4, argument5);
  }
 }   
}
screen_redraw()
^^^^Say()

Code: [Select]
//the dialog box w/ a question
//argument0 = The Question
//argument1 = The First Choice
//argument2 = The Second Choice
//argument3 = The Face to use
//argument4 = The choice (optional)
tempstring = string(argument0) + "~  {" + string(argument1) + "~  " + string(argument2);
if (argument4 == 0) {
 argument4 = 1;
}
answer = Say(tempstring, false, true, true, argument3, argument4);
return(answer);
^^^^^^^^Ask()


Code: [Select]
// Sprite Text Draw script 1.3 Final made by Da-Huntha for GM6 (GM5.X has this function
// implented on the same name.
// ©Lostmoment 2004
// ----------------
// THIS ONE WORKS WITH THE UNREGISTERED VERSION OF GAME MAKER 6
// ----------------
// Argument0 = x location of text
// Argument1 = y location of text
// Argument2 = text to draw
// Argument3 = Space between characters
// Argument4 = The width of the text in pixels, when limit is reached the
//             rest will be drawn at a new line.
// Argument5 = sprite to use (Use as in GM5 sprites with subimages
//             which are correctly alligned with the ASCII order, to
//             check this goto Start>Run and type charmap)
// Argument6 = At what character the sprite begins with. (For example
//             if the first character on the font sprite is an A (capital)
//             then you should set "A" to this. The rest of the characters
//             need to keep on the correct ASCII order.
//
DTtext = string(argument2);
DTcurrentchar = 1;
DTdrawchar = 0;
DTcurrentx = argument0;
DTcurrenty = argument1;
DTtotalchar = string_length(DTtext);
if (is_string(argument6)) { DTstarting = ord(argument6); } else { DTstarting = argument6 };
while (DTcurrentchar != DTtotalchar+1) {
if (argument4 > 0) { DTdrawchar += sprite_get_width(argument5)+argument3; }
DTchar = string_char_at(DTtext,DTcurrentchar);
if (DTdrawchar>=argument4&&argument4 > 0) {
DTcurrentchar += 1
if (ord(DTchar) = 32) {
DTcurrentx += (sprite_get_width(argument5)+argument3);
} else {
DTsubstring = (ord(DTchar)-DTstarting);
draw_sprite(argument5,DTsubstring,DTcurrentx,DTcurrenty);
DTcurrentx += (sprite_get_width(argument5)+argument3);
}
DTcurrentx = argument0;
DTcurrenty += sprite_get_height(argument5);
DTdrawchar = 0;
} else {
if (DTchar = "#") {
DTcurrentchar += 1;
DTcurrentx = argument0;
DTcurrenty += sprite_get_height(argument5);
DTdrawchar = 0;
} else {
if (ord(DTchar) = 32) {
DTcurrentx += (sprite_get_width(argument5)+argument3);
} else {
DTsubstring = (ord(DTchar)-DTstarting);
draw_sprite(argument5,DTsubstring,DTcurrentx,DTcurrenty);
DTcurrentx += (sprite_get_width(argument5)+argument3);
}
DTcurrentchar += 1;
}
}
}
^draw_text_sprite() 

tanx!

29
Coding / Help me with TRW text engine
« on: November 14, 2007, 09:13:14 pm »
hi all! I have a small problem with TRW text engine, I got the ask script to work(turns out it's just a small GM5 script when it should be GM6) anyway how do I make it "if answer1 do this, if answer is 2 do this."

30
Coding / Re: MM Wall Jumping
« on: October 27, 2007, 07:20:46 pm »
Any one evr done something like this before?

31
Coding / Re: MM Wall Jumping
« on: October 18, 2007, 01:04:37 am »
well i did but i erased it cause it was poo. look at the sliding though, while pressing the left key on the left wall press right... the keep doing that you'll see.

32
Coding / MM Wall Jumping
« on: October 13, 2007, 01:47:28 pm »
MegaManX.gm6 I can't find it! it keeps on giving me random glitches! can any 1 help me solve this wall jumping error!?

33
Coding / Re: Need some serious help! Wierd glitch-GM6
« on: October 08, 2007, 09:49:56 pm »
thanx everyone!

34
Coding / Need some serious help! Wierd glitch-GM6
« on: October 08, 2007, 09:14:08 pm »
I am making a Mega Man X game and I was working with charging the X buster. When I jump, the charging animation freezes, but when I jump and shoot, it cycles normally. WTF is going on!!!!!!!!!!!!!!!!  :P hm.. well here is the .gm6. PLEASE DO NOT STEAL!!!!!!!!!!!!!!!!!! Mega Man X.gm6

35
Coding / Re: I need you!
« on: July 23, 2007, 05:10:54 pm »
yeah.. it is more 2.75D lol

36
Coding / Re: I need you!
« on: July 23, 2007, 01:20:09 am »
Dude! thanx! phat lol!

37
Coding / Re: I need you!
« on: July 22, 2007, 11:56:16 pm »
this one, but a link that works... http://www.zfgc.com/index.php?topic=4987.0

38
Coding / Re: Urgent help!
« on: July 03, 2007, 02:07:15 am »
Cmon!!!! 4 days 25 views and no replies?  :( :( :( :( :(

39
Coding / I need you!
« on: June 29, 2007, 11:22:37 pm »
Hello! I was wondering if someone could provide a link to the open source 3D zelda game for game maker. The one with the slightly glitched up beginning about the old dude giving link his clothes. Does any1 have it?

40
Graphics Requests/Archive / Re: I need EXTREME Help.
« on: April 25, 2007, 01:25:45 am »
You guys are really mean :_( I shouldn't of asked.... Sorry to ruin everyone's day...

Pages: 1 [2] 3

Contact Us | Legal | Advertise Here
2013 © ZFGC, All Rights Reserved



Page created in 0.395 seconds with 35 queries.