Game Maker Studio: (Part 1) How to Create Virtual Keys for Android?

Channel:
Subscribers:
268
Published on ● Video Link: https://www.youtube.com/watch?v=1gWS_hR0veM



Duration: 12:20
728 views
0


Visit my Search Arena site: https://searcharena.wordpress.com

Paypal Donate: http://bit.do/fkPAb

GMS File: https://bit.ly/2uex5S3

Another way of understanding the Virtual Keys, Nathan Auckett:
https://bit.ly/3bqnAji

obj_right, Origin Centered x and y, Depth -50

Events:

Create

Actions:

key = virtual_key_add(256,256,100,100, vk_right);

display_set_gui_size(room_width,room_height);

Then be sure to add the keyboard key press and release move events in with player.


obj_left, Origin Centered x and y , Depth -50

Events:

Create

Actions:

key = virtual_key_add(64,224,100,100, vk_left);

display_set_gui_size(room_width,room_height);

Then be sure to add the keyboard key press and release move events in with player.


obj_up, Origin Centered x and y, Depth -50

Events:

Create

Actions:

key = virtual_key_add(160,96,100,100, vk_up);

display_set_gui_size(room_width,room_height);

Then be sure to add the keyboard key press and release move events in with player.


obj_down Origin Centered x and y, Depth -50

Events:

Create

Actions:

key = virtual_key_add(160,352,100,100, vk_down);

display_set_gui_size(room_width,room_height);

Then be sure to add the keyboard key press and release move events in with player.


obj_power, Origin Centered x and y, Depth -50

Events:

Create

Actions:

key = virtual_key_add(512,224,100,100, vk_enter);

display_set_gui_size(room_width,room_height);

Then be sure to add the keyboard key press and release move events in with player.




Other Videos By MC Designs


2020-04-11Game Maker 8.1: How to Create Pause Screen for Both Rooms.
2020-04-04Game Maker Studio: (Part 3) How to Create Virtual Keys for Android?
2020-03-28Game Maker 8.1: Understanding Hit Points, & Create Bubble Head with Sound Effects.
2020-03-21Game Maker 8.1: How to Create Hitpoints for Monsters & Barrels.
2020-03-14Game Maker 8.1: How to Create Fade In, & a Flashing Dead Screen.
2020-03-07Game Maker 8.1: How to Create Rollover Buttons, & Animate Weapons In.
2020-02-29Game Maker 8.1: How to Create Custom Pause for 8.1 & Timer.
2020-02-22Game Maker 8.1: How to Fix Cursor Glitch, Hide & Reveal Inventory Glitch, & Pause Game.
2020-02-15Game Maker 8.1: How to Create a Cursor, Hide & Reveal Inventory, & Fix Load Glitch.
2020-02-09Game Maker Studio: (Part 2) How to Create Virtual Keys for Android?
2020-02-01Game Maker Studio: (Part 1) How to Create Virtual Keys for Android?
2020-01-26Game Maker 8.1: How to Create a Save, Load, & Ice.
2020-01-18Game Maker 8.1: How to Create Columns & Slicers.
2020-01-11Game Maker 8.1: How to Press ENTER Once, without using all of you're Crystals.
2020-01-05Game Maker 8.1: How to Collect & Store you're Crystals.
2019-12-29Game Maker 8.1: (Part2) Fixing Glitches & Create Poison Gas.
2019-12-29Game Maker 8.1: (Part1) Fixing Glitches & Create Poison Gas.
2019-12-21Game Maker 8.1: How to Create Angle Walls, & fix Items Pickup Issues.
2019-12-14Game Maker 8.1: How to Draw 3D Models, using Code.
2019-12-07Game Maker 8.1: How to Create a Outside Sky with Rain.
2019-12-01Game Maker 8.1: How to Create Animated Torches on the Walls & Adding Monsters.



Tags:
how
learn
teach
find
player
code
create
object
sprite
game
maker
width
length
instance
room
if
place
set
global
distance
get
draw
check
visible
key
virtual
android
move
keyboard
board
studio
gui
size
add
display
coordinate
vk
release
press
pressed
center
left
right
up
down
power
button
buttons
two
device
tablet
scale
position
static