Learn True/False Variables: Toggle Your Way to Better Game Design

  Рет қаралды 8,279

GameMaker

GameMaker

Күн бұрын

Пікірлер: 17
@naelpontes8444
@naelpontes8444 Жыл бұрын
On the topic, here’s a quick tip. if runKeyPressed { running = !running } is shorter version of writing it as: if runKeyPressed { running = true; } else { running = false; } It’s the exact same thing, just shorter. This helped me understand the toggle thing faster c:
@CJEXP
@CJEXP Жыл бұрын
Thanks for the tutorials! I recently started using gamemaker and am currently getting familiar with everything before making my first small game so I cant wait to apply this to it!
@GameMakerEngine
@GameMakerEngine Жыл бұрын
This is so great, we're looking forward to seeing it all come together!
@shadabhossain
@shadabhossain Жыл бұрын
@@GameMakerEngine Will it work properly if I give my own game code?.Is it possible to create hi-graphics quality games in GameMaker?.Can I make high graphics quality cricket in Gamemaker?.
@ronbriscoe888
@ronbriscoe888 Жыл бұрын
you can also change the lines 15-20 that are an if to set the moveSpd based on the running variable can be set using just one line: moveSpd = running ? runSpd : walkSpd ;
@gnysek
@gnysek Жыл бұрын
in a same way run can be done only when button is held `running = keyboard_check(vk_space);` - then "runKeyPressed" can be then removed at all Every feature can be done in many different ways, all depends on what we want.
@DanilaCramping
@DanilaCramping Жыл бұрын
can I ask a off-topic question? was Pizza tower made on your engine?
@GameMakerEngine
@GameMakerEngine Жыл бұрын
It was 😎🍕🍕🍕
@shadabhossain
@shadabhossain Жыл бұрын
@@GameMakerEngine Will it work properly if I give my own game code?. Is it possible to create hi-graphics quality games in GameMaker?.Can I make high graphics quality cricket in Gamemaker?.
@shadabhossain
@shadabhossain Жыл бұрын
@@GameMakerEngine can I ask an off-topic question? was cricket made on your engine?
@mh1593
@mh1593 Жыл бұрын
Slightly off-topic; but the code x += xspd ; that concept makes sense but: Does the GM code automatically recognise variable "x" as being the "x" position of that object? If so; where is there a list of these pre-set variables? Cheers
@M00000oooo00000
@M00000oooo00000 Жыл бұрын
every instance will handle x and y as instance variable that are inbuilt. a list of these Instance Variables can be found in the manual if you search the term "Instance Variables gamemaker"
@nathanreyc
@nathanreyc Жыл бұрын
I basically just up my movespd if the player is pressing shift, and set it back when they let go. Is there a problem ooth this? I dont understand why the code in here has to be this long.
@shadabhossain
@shadabhossain Жыл бұрын
Will it work properly if I give my own game code?.Is it possible to create hi-graphics quality games in GameMaker?.Can I make high graphics quality cricket in Gamemaker?.
@caradaly1661
@caradaly1661 Жыл бұрын
How could I amend this code that if the player holds the direction key (left or right) for longer than 1 second, then running becomes true? Thank you.
@Low_qualityKel
@Low_qualityKel Жыл бұрын
ik im late, but you could set it to happen after a certain number of frames, so if your game is 90fps you could set it to toggle afer 90 frames
@crunchyjam
@crunchyjam 5 ай бұрын
noice
How to Create and Use Room Layers | GameMaker
11:15
GameMaker
Рет қаралды 14 М.
How I Learned to Create GAMES (No School Required)
9:47
Goodgis
Рет қаралды 580 М.
Ful Video ☝🏻☝🏻☝🏻
1:01
Arkeolog
Рет қаралды 14 МЛН
UFC 287 : Перейра VS Адесанья 2
6:02
Setanta Sports UFC
Рет қаралды 486 М.
Who is More Stupid? #tiktok #sigmagirl #funny
0:27
CRAZY GREAPA
Рет қаралды 10 МЛН
GameMaker Studio 2.3: FUNCTIONS! (+ Method Scope & Static Variables)
10:10
GameMakerStation - Matharoo
Рет қаралды 15 М.
How to Code an Inventory System
23:16
GameMaker
Рет қаралды 18 М.
The Most Impressive Scratch Projects
11:00
DenshiVideo
Рет қаралды 5 МЛН
How Do Game Devs NOT Overscope??
9:04
Green Light Dev
Рет қаралды 12 М.
Dear Game Developers, Stop Messing This Up!
22:19
Jonas Tyroller
Рет қаралды 780 М.
Object States | Game Maker Studio 2
22:21
FriendlyCosmonaut
Рет қаралды 139 М.
Tierlisting the BEST (and worst) GAME ENGINES
33:51
BiteMe Games
Рет қаралды 249 М.
Passing Vars Between GameMaker Objects (3 Strategies)
17:20
Variable Basics [GameMaker Studio 2]
6:13
SamSpadeGameDev
Рет қаралды 16 М.
I Scraped the Entire Steam Catalog, Here’s the Data
11:29
Newbie Indie Game Dev
Рет қаралды 791 М.
Ful Video ☝🏻☝🏻☝🏻
1:01
Arkeolog
Рет қаралды 14 МЛН