Fangames > Programming Questions

help with traps

<< < (3/4) > >>

lawatson:
gg, best triggers so far

Raganoxer:


 :atkHappy: progress so far, still confused with traps but with the help of you guys ill try to figure it out

patrickgh3:
I made a simple example in Game Maker with how I like to do triggers, and a few example triggered effects. It's attached to this post. Having a working example should help. The code should be easy to understand; go line by line and figure out why it works, and read the comments. I prefer to keep the logic of the triggered effects in their own objects, as opposed to Stinky's way of keeping the effect logic in multiple trigger objects, but both ways work fine.

Also, your screenshot looks pretty neat. :o

Raganoxer:

--- Quote from: patrickgh on January 18, 2015, 04:14:38 AM ---I made a simple example in Game Maker with how I like to do triggers, and a few example triggered effects. It's attached to this post. Having a working example should help. The code should be easy to understand; go line by line and figure out why it works, and read the comments. I prefer to keep the logic of the triggered effects in their own objects, as opposed to Stinky's way of keeping the effect logic in multiple trigger objects, but both ways work fine.

Also, your screenshot looks pretty neat. :o

--- End quote ---

Well.. i dont have game maker 8.1, i only have 8. and also i have been trying to figure it out for almost 7 hours of total time. I am a complete lost cause on this. from what i have gathered i make a path in paths, i name it, for the spike i have pth = whatever path it is, and trg = number. it doesnt work and i have made no progress, however i learned how to make snow

lawatson:
Nice progress on your game! That aside, you don't have to use lemon triggers. You could also use stinkycheeseone890's triggers, those also look pretty cool. You'll have to do some of your own code, but if you can manage snow then I'm sure it'll be all good. I used his method and it's definitely really cool!

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version