*Presentation skills are R U S T Y*
Struct(ure)s and Constructors are new to #GMS2 and they allow us to set up object instances with very little overhead. Structs are lightweight objects with less data (like x,y, events, etc) and are completely customizable and forms core knowledge of #OOP
The last section takes us through creating a factory (of sorts) - an OOP method of creating multiple instances.
0:00 Intro
1:20 Basic example
3:12 Struct intro
5:10 Writing a struct
7:49 Functions in structs
10:25 Getters and Setters
11:20 Constructor Intro
11:50 Writing a Constructor
12:50 Using "new"
14:26 Filling in Constructor Information
15:29 Structs vs constructors
16:56 Creating an Initialize function
19:20 A Simple Factory pattern
21:33 Tutorial End
22:26 Turn-based Combat Series Update
Thumbnail image sources:
Mario (Credit to C.Pariah): [ Ссылка ]
Coin Ship (Credit to Arima): [ Ссылка ]
#gamemakerstudio2.3 #tutorial
---!Show The Love!---
Support our channel - a Like and Subscribe is plenty enough, but if you want to give a little more, then check out our links:
Personalized Game Dev mentoring:
[ Ссылка ]
Get personalized video messages from your favorite celebrities through CelebVM:
[ Ссылка ]
Crypto-currency donations:
Bitcoin
35YLgGnyk1dQ5ZCosx3qz4hQxZ16WbDyX8
Ethereum
0x890d0c6de724bb4589557f6b7078908d1e9ce5f0
Etherium Cash
0x890d0c6de724bb4589557f6b7078908d1e9ce5f0
LiteCoin
LMxzT92rbtPA54AEJ5AM5kMc7MaPsfvB5a
Bitcoin Cash
35YLgGnyk1dQ5ZCosx3qz4hQxZ16WbDyX8
Ещё видео!