Jump to content


Photo

const library


  • Please log in to reply
No replies to this topic

#1 lnn8v6

lnn8v6

    GMC Member

  • GMC Member
  • 51 posts

Posted 21 April 2012 - 02:37 PM

So I figured I'd share with you all my custom action library that I've been using to make my really basic airplane game. There's only a handful of actions and checks, but some of them have been really useful for me so far and prolly will be useful to you too (assuming you still use dragon drop)


Download const library
- I use GM8 (PC), but pretty sure it's compatible with GM7
- everything is compatible with lite edition

Anyway, here's a list of what you can expect if you get this:

Actions
- fade sprite
- scale sprite
- stop all sound
- fade sound
- go to first room (pretty useless lol)
- move towards one of two points
- move towards one of two objects
- move to the nearest object
- create x instances randomly (this is made specifically for my game, you prolly shouldn't use it)
- perform user defined events


Questions
- test if direction is free (it's from the example lib)
- test distance to another object
- test if in view
- test if one of two instances exist
- test a variable between two numbers
- test direction from one point to another
- test collision with a specific object thru a line


Anyway, if you want to say something about how gml coding is better than dragon drop, then I have to wonder why you are in this section of the forum (libraries). Just kidding I don't really care lol
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users