Date post: | 06-Nov-2015 |
Category: | Documents |
View: | 229 times |
Download: | 4 times |
GameMaker Studio Book Tips & Tricks
Ben Tyers
Copyright 2014 Ben Tyers GamePublishing.net
ISBN-13: 978-1495947384
ISBN-10: 1495947386
DEDICATION
Many thanks to Mark Overmars, creator of the original GameMaker
CONTENTS
Contents
Advert System ..................................................................................................................................................... 1
Basic AI ................................................................................................................................................................ 2
Blood Effect ......................................................................................................................................................... 4
Blood Effect 2 ...................................................................................................................................................... 6
Change Size.......................................................................................................................................................... 8
Cheat System ....................................................................................................................................................... 9
Check Point System ............................................................................................................................................ 13
Car Drift ............................................................................................................................................................. 14
Circular Health 2 ................................................................................................................................................ 16
Circular Text ....................................................................................................................................................... 17
Clickable Text ..................................................................................................................................................... 19
Countdown Bar .................................................................................................................................................. 20
Countdown Clock ............................................................................................................................................... 22
Day Night Engine................................................................................................................................................ 24
Disappearing Platform ....................................................................................................................................... 27
Do-until ............................................................................................................................................................. 28
Dragging Object ................................................................................................................................................. 29
Draw Array Contents in Boxes ............................................................................................................................ 30
Dual View .......................................................................................................................................................... 31
Ellipse Movement .............................................................................................................................................. 33
Fire Effect .......................................................................................................................................................... 34
Flashing Sprite ................................................................................................................................................... 36
For ..................................................................................................................................................................... 39
Glowing Sprite ................................................................................................................................................... 40
Grid Slowly Move ............................................................................................................................................... 42
GameMaker Studio Book
vi
Health As Bars ................................................................................................................................................... 44
Heat Seeking Missile / Bullet Example ............................................................................................................... 45
Jet Pack ............................................................................................................................................................. 46
Keep Object In Room ......................................................................................................................................... 47
Key and Door ..................................................................................................................................................... 48
Keyboard On Screen .......................................................................................................................................... 49
Keyboard Simple Movement Code Multi-Directional ...................................................................................... 56
Laser Effect........................................................................................................................................................ 57
Line of Sight....................................................................................................................................................... 58
Load / Save System ............................................................................................................................................ 60
Local Time - Real Time Clock Example ................................................................................................................ 62
Marquee Effect ................................................................................................................................................. 63
Map .................................................................................................................................................................. 64
Mist Effect ......................................................................................................................................................... 65
Motion Trail ...................................................................................................................................................... 66
Mouse Over Button Effect ................................................................................................................................. 67
Mouse Over Button Effect 2 .............................................................................................................................. 68
Mouse Pointer Point Direction .......................................................................................................................... 69
Moving Background ........................................................................................................................................... 70
Moving Cloud Effect .......................................................................................................................................... 71
Moving Platform 2 ............................................................................................................................................. 72
Multi Key Press .................................................................................................................................................. 73
Move and Rotate ............................................................................................................................................... 75
Moving Platform ............................................................................................................................................... 76
Multiple Collision .............................................................................................................................................. 77
Multiple Press (Devices) .................................................................................................................................... 78
Nested if-else .................................................................................................................................................... 79
GameMaker Studio Book
vii
Path Finding ....................................................................................................................................................... 80
Platform & Change Direction ............................................................................................................................. 82
Platform Jumping ............................................................................................................................................... 83
Player Lock .......................................................................................................................................