- Game Maker Community
- → Viewing Profile: Posts: Kantatzu
Kantatzu
Member Since 02 Dec 2006Offline Last Active Oct 07 2012 10:31 PM
Community Stats
- Group New Member
- Active Posts 287
- Profile Views 1578
- Member Title The Man In A Sugar Coma
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Not Telling
-
Location
AHH! STALKER!
-
Interests
What is this, a dating program?
0
none
Friends
Kantatzu hasn't added any friends yet.
Latest Visitors
Posts I've Made
In Topic: ds_grid_create
14 September 2012 - 05:43 AM
Thanks, guys. I figured out a good way to do this. With my arrays, I was initializing and setting them with the wrong object, so the array was stored locally on the wrong object, and I was trying to call the array from a different object. Now that I switched the array to the object I want, everything's working smoothly. Thanks again, guys.
In Topic: ds_grid_create
14 September 2012 - 02:52 AM
Sorry for the double-post, but I've also tried arrays, and still no dice.
This is what I have in the script:
This is what I have in the script:
idle_array[1,1]=11 idle_array[1,2]=47 idle_array[1,3]=0 idle_array[2,1]=12 idle_array[2,2]=46 idle_array[2,3]=0 idle_array[3,1]=12 idle_array[3,2]=48 idle_array[3,3]=0 idle_array[4,1]=12 idle_array[4,2]=45 idle_array[4,3]=0 show_message(idle_array[1,1])But then the show_message returns a blank message. Any ideas? Am I just doing something wrong with data structures?
In Topic: Walking along wall smoothly
22 July 2011 - 03:33 AM
Yeah, the "self" was there for clarification.
So I made a variable, myspeed, and for each step, changed myspeed to the object's speed. I replaced the "4" in your code (the assumed speed) with myspeed, and I tried it out. What happened, was that whenever the character collided with the wall, the character would just stop moving, period, regardless of the angle of collision. However, I could tell that the character still had some sort of speed assigned to it, because I have a sprite that goes faster/slower according to the character's speed, and the sprite was still in motion. Hmm.
So I made a variable, myspeed, and for each step, changed myspeed to the object's speed. I replaced the "4" in your code (the assumed speed) with myspeed, and I tried it out. What happened, was that whenever the character collided with the wall, the character would just stop moving, period, regardless of the angle of collision. However, I could tell that the character still had some sort of speed assigned to it, because I have a sprite that goes faster/slower according to the character's speed, and the sprite was still in motion. Hmm.
In Topic: Walking along wall smoothly
20 July 2011 - 12:42 AM
Thank you. Can I replace the move-toward-mouse speed from 4 to a changing variable, such as self.speed?
In Topic: Walking along wall smoothly
19 July 2011 - 04:44 AM
Thanks a bunch for the advice and help, BeanInc. Nothing seems to be working, though. The link you posted had a code specifically designed for wall sliding, but even using it, the character still bounced and stuck. I'm at a loss of sorts here.
- Game Maker Community
- → Viewing Profile: Posts: Kantatzu
- Privacy Policy
- GMC Rules and Forum Rules ·



Find content