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