Hello,
Version: 8.0 pro
Skill: Intermediate user
I know most of us know how to detect collision in any direction but it's a problem when it comes to a specific direction, the same thing happened to me.
Suppose, I have an object and I want some pieces of code to be triggered as soon as another object hits left side of my object. Is it possible to achieve this without using special objects for detecting the collision as large number of objects can slow the program down?
Thanks in advance,
Nahiyan
- Game Maker Community
- → Viewing Profile: Topics: Nahiyan123
Nahiyan123
Member Since 05 Dec 2009Offline Last Active Aug 21 2011 05:56 AM
Community Stats
- Group New Member
- Active Posts 139
- Profile Views 2444
- Member Title GMC Member
- Age 16 years old
- Birthday September 1, 1996
-
Gender
Male
-
Location
Bangladesh
-
Interests
Computer programming.
Contact Information
-
MSN
alnahiyan_97@hotmail.com
-
Website URL
http://www.funhousehome.co.cc
-
Yahoo
nahiyan.fahad@yahoo.com
-
Skype
al.nahiyan
1
none
Latest Visitors
Topics I've Started
Collision detection in specific direction
21 August 2011 - 05:56 AM
Arrays in INI file...
08 April 2011 - 03:05 PM
Hello GMC,
I am facing a very irritating problem when trying to read/write arrays in INI file.
Here is my object's information:
Can anyone give me a solution?
I am facing a very irritating problem when trying to read/write arrays in INI file.
Here is my object's information:
Sprite: <no sprite>
Solid: false
Visible: true
Depth: 0
Persistent: false
Parent: <no parent>
Mask: <same as sprite>
Create Event:
execute code:
ini_open("database.ini");
if ini_key_exists("Settings",'posts_number'){
ini_read_string("Settings",'posts_number',"Null");
ini_read_string("Messages",'message[posts_number]',"Null");
}else{
ini_write_string("Settings",'posts_number',"0");
ini_write_string("Messages",'message[posts_number]',"Hello");
}
execute code:
posts_number=0;
message[]="";
Step Event:
execute code:
posts_number = ini_read_string("Settings","posts_number","Null");
message[posts_number] = ini_read_string("Settings",'message[posts_number]',"Null");
Draw Event:
execute code:
draw_text(x,y,posts_number);
draw_text(x,y+20,message[posts_number]);Can anyone give me a solution?
Stopping movable objects from touching each other
21 February 2011 - 08:29 AM
Hello,
Problem
The title says it all, I have one solid object named "obj_spear_a" which moves toward another solid object named "obj_spear_b" if it exists. The problem I am facing is that I do not want "obj_spear_a" to touch each other if they are close enough.
Game maker version : Game Maker 8.0 Pro
Any help is appreciated and ask me if you have any question.
Thanks,
Nahiyan
Problem
The title says it all, I have one solid object named "obj_spear_a" which moves toward another solid object named "obj_spear_b" if it exists. The problem I am facing is that I do not want "obj_spear_a" to touch each other if they are close enough.
Game maker version : Game Maker 8.0 Pro
Any help is appreciated and ask me if you have any question.
Thanks,
Nahiyan
Top down low detail sprites needed
16 February 2011 - 11:41 AM
Hello,
I need some sprites which has medium quality and has low details and of course it needs to be top-down.
It should be around 50x50.
Here is an example : http://tribalwars.ne...creenshot-1.jpg
As it is top-down view of a whole town, I don't need something like this but I want separate buildings like the ones inside the towns which must be around 50x50.
Thanks,
Nahiyan
I need some sprites which has medium quality and has low details and of course it needs to be top-down.
It should be around 50x50.
Here is an example : http://tribalwars.ne...creenshot-1.jpg
As it is top-down view of a whole town, I don't need something like this but I want separate buildings like the ones inside the towns which must be around 50x50.
Thanks,
Nahiyan
Making input box...
26 December 2010 - 05:57 AM
Hello,
I've no idea how to make input box which won't pop up but will be just like forms in HTML pretty much like this one
I know that there is no built-in function to make such input box but I guess that it's possible to make one so I am requesting code, credits will be given if you want.
Thanks,
Nahiyan
I've no idea how to make input box which won't pop up but will be just like forms in HTML pretty much like this one
I know that there is no built-in function to make such input box but I guess that it's possible to make one so I am requesting code, credits will be given if you want.
Thanks,
Nahiyan
- Game Maker Community
- → Viewing Profile: Topics: Nahiyan123
- Privacy Policy
- GMC Rules and Forum Rules ·



Find content