View Single Post
 
Old 04-09-2015, 07:37 PM
zacacp zacacp is offline
Newcomer
 
Join Date: Jan 2015
Posts: 6
Default explaining

You can code "triggers" in one or two levels, but when you are dealing with so many forms(levels) that work turns to nightmare.
example=FORM1
I usually handle with all trigers in this form. Those "triggers" are pictureboxes, so i say that when the main character changes its location and intersects those "triggers" something will happen.
This is easy but you have to consider naming all the pictureboxes(triggers) in orden not to get confused while coding them. Finally you are happy because everything works Fine! but...then...you continue to the second form(level2) and do that same job over and over again.

i think in making a new picturebox class(template trigger) to solve this problem(stress) so i could add this controls and only code Once.

the picture ilustrates the concept i am trying to express in my limited English.
Attached Images
File Type: jpg passel.jpg (135.7 KB, 7 views)
Reply With Quote