- Game Maker Community
- → Viewing Profile: Topics: BinaryGuardian
BinaryGuardian
Member Since 24 Feb 2010Offline Last Active Mar 02 2012 06:27 PM
About Me
Programming is more than a hobby for me, I plan to make it my career. I specialize in
artificial Intelligence and although I have not posted anything on YoYo in a while I have a lot of new things coming for the next coming year. if anybody should need help with various AI techniques such as : Swarming behavior, path detection, Racing AI, Combat behavior and more contact me and ill be happy to help you out. I'm always looking for new techniques to pickup in programming so if anybody from NYC is coding id love to meet up and talk shop. I'm always looking to push the NY Indie game community so don't be shy and E-Mail me.
artificial Intelligence and although I have not posted anything on YoYo in a while I have a lot of new things coming for the next coming year. if anybody should need help with various AI techniques such as : Swarming behavior, path detection, Racing AI, Combat behavior and more contact me and ill be happy to help you out. I'm always looking for new techniques to pickup in programming so if anybody from NYC is coding id love to meet up and talk shop. I'm always looking to push the NY Indie game community so don't be shy and E-Mail me.
Community Stats
- Group New Member
- Active Posts 6
- Profile Views 642
- Member Title GMC Member
- Age 23 years old
- Birthday December 30, 1989
-
Gender
Male
-
Location
New York City
-
Interests
Artificial Intelligence, Quantum Mechanics, Game Programming, Philosophy, physics, Neurology, Astronomy, Electronics, Hiking, Rock Climbing, Swimming, and of course NINJAS!!!!
0
none
Friends
BinaryGuardian hasn't added any friends yet.
Latest Visitors
No latest visitors to show
Topics I've Started
Height map for 2D top down platformer
02 March 2012 - 12:49 AM
Okay some i'm working on a top down platform style game and I want to implement a height map system that will alter a z variable. i'm imagining a simple (non visible) gray-scale system below the level that will set the z value allowing me to scale sprites accordingly. Iv'e never really worked seriously on a 3d game but i'm no stranger to programming so rather than reinvent the wheel here I figured id ask for help. There has to be a way right
?
Cant access variables from a list of objects
04 June 2011 - 11:43 PM
okay so im trying to make an inventory system and below is the code for adding a new item, im to check the inventory list to see if the object with the set "Name" variable exist already, and if it does just increment the value of the object stored there, and if not add a new instance of the object to the list, but when it comes to comparing the variables of the instances stored there, i get an error saying no such variable exist
the list stores instances of object obj_Item
im so lost and its not letting me access any of the variables that should be stored there, what am i missing
//arg0 = char item name
//arg1 = value
var ListChk, tempVal, newObj, tempObj;
ListChk=false;
if(ds_list_size(global.Inventory)>0){
for (i=0; i<=ds_list_size(global.Inventory); i+=1){
tempObj=ds_list_find_value(global.Inventory,i)
if(tempObj.Name==argument0){
tempObj.Val+=argument1;
ListChk=true;
break;
}
}
}
if(ListChk==false){
newObj=ds_list_add(global.Inventory,obj_Item);
newObj.Name = argument0;
newObj.Val = argument1;
}
the list stores instances of object obj_Item
im so lost and its not letting me access any of the variables that should be stored there, what am i missing
- Game Maker Community
- → Viewing Profile: Topics: BinaryGuardian
- Privacy Policy
- GMC Rules and Forum Rules ·



Find content