Thanks for the hustle, I figured so.
I also spelled parent wrong.
- Game Maker Community
- → Viewing Profile: Posts: Cjboy
Cjboy
Member Since 11 Jul 2012Offline Last Active Jan 25 2013 11:20 PM
Community Stats
- Group GMC Member
- Active Posts 10
- Profile Views 736
- Member Title GMC Member
- Age Age Unknown
- Birthday Birthday Unknown
-
Gender
Not Telling
-
Version
GM8
Posts I've Made
In Topic: Check Expression help
08 November 2012 - 11:30 PM
In Topic: Move to position from starting position
24 July 2012 - 03:25 AM
travelX = 0; // destination X if enemy is not found
travelY = 0; // destination Y if enemy is not found
moveSpeed = 1; // speed at which to move with
target = instance_nearest( x, y, obj_enemy );
if( instance_exists( target ) ){ // if one exists
inRange = ( point_distance( x, y, target.x, target.y ) < shootingRange );
canSee = !collision_line( x, y, target.x, target.y, obj_wall, true, true );
if( inRange && canSee ){
speed = 0;
direction = point_direction( x, y, target.x, target.y );
// shoot enemy
}else{
mp_potential_step_object( travelX, travelY, moveSpeed, obj_wall );
}
}else{
mp_potential_step_object( travelX, travelY, moveSpeed, obj_wall );
}Looks well, however, it's not only one object, it's several, i decided to use avoid collisions with solid objects.
Also, I'm using a system where it works cleanly on the grid placement system, i don't know how to use the script variables to move the units to snap grids.
In Topic: Certain MP3 piece needed
12 July 2012 - 02:31 PM
I might give this a try. So basically, the only restriction is that it has to be orchestral and war-like? Those are very loose requirements, so you may not like the result. Oh well, I'll see what I can do.
EDIT: Here: WarSong
sounds great, however, this won't really fit that specific environment, it does complete the other track i do need. I'll message you something I kinda need for the piece.
In Topic: Instance Out Of Position, Will Not Destroy Itself
12 July 2012 - 01:24 AM
Drag and drop commands could help you out here more than you think.
firstly, MAKE SURE THE EXPLOSION SPRITE IS ON CENTER (common mistake if this is the problem) The simplest way for the bomb to create the explosion is using the create object explosion (relative to) bomb's location, the next case is that the bomb does not stop traveling and does not create the explosion in the right position, make it destroy itself on collision w/ the enemy. I'm assuming you made the DnD happen, make sure these happen.
The explosion destroying itself should be done more simply
Within the Other Tab in the Event menu, there is the term, Animation end (also assuming that the explosion should only happen once. select that then select Destroy instance and DnD, that simple, no need for alarms.
Make sure all instances apply to selves and the bombs should work. I don't know much, I'm only going to help with what I learned from DnD Trial and Error.
firstly, MAKE SURE THE EXPLOSION SPRITE IS ON CENTER (common mistake if this is the problem) The simplest way for the bomb to create the explosion is using the create object explosion (relative to) bomb's location, the next case is that the bomb does not stop traveling and does not create the explosion in the right position, make it destroy itself on collision w/ the enemy. I'm assuming you made the DnD happen, make sure these happen.
The explosion destroying itself should be done more simply
Within the Other Tab in the Event menu, there is the term, Animation end (also assuming that the explosion should only happen once. select that then select Destroy instance and DnD, that simple, no need for alarms.
Make sure all instances apply to selves and the bombs should work. I don't know much, I'm only going to help with what I learned from DnD Trial and Error.
In Topic: Certain MP3 piece needed
12 July 2012 - 01:11 AM
Description of the sound (Instrumental Music)
In case of music, the style (Patriotic, Militaristic ?)
Length of the sound effect or music (Don't care, Go nuts)
The file size limit (if any) (As much as you need)
In case of wave files, quality (11 Khz, 22 Khz, 44 Khz, mono / stereo) (See Requirement #3)
File format (WAV, MP3, Midi, MOD, et cetera) (MP3)
If available, a link to your game (WIP, no link yet, the game isn't even playable as of now)
Stuff has changed since the last time i was here.
In case of music, the style (Patriotic, Militaristic ?)
Length of the sound effect or music (Don't care, Go nuts)
The file size limit (if any) (As much as you need)
In case of wave files, quality (11 Khz, 22 Khz, 44 Khz, mono / stereo) (See Requirement #3)
File format (WAV, MP3, Midi, MOD, et cetera) (MP3)
If available, a link to your game (WIP, no link yet, the game isn't even playable as of now)
Stuff has changed since the last time i was here.
- Game Maker Community
- → Viewing Profile: Posts: Cjboy
- Privacy Policy
- GMC Rules and Forum Rules ·



Find content