Blog: 2025-02-17

From razwiki
Revision as of 13:37, 17 February 2025 by Razzi (talk | contribs) (Created page with "Here's that gamemaker snippet <pre> if keyboard_check(vk_up) { motion_add(image_angle, 0.05) } if keyboard_check(vk_left) { image_angle += 5 } if keyboard_check(vk_right) { image_angle -= 5 } </pre> Which I got in a very quine way... thumb|alt=gamemaker window where I show_debug_message(@"...") the source code of my step function")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Here's that gamemaker snippet

if keyboard_check(vk_up) {
	motion_add(image_angle, 0.05)
}

if keyboard_check(vk_left) {
	image_angle += 5
}

if keyboard_check(vk_right) {
	image_angle -= 5
}

Which I got in a very quine way...

gamemaker window where I show_debug_message(@"...") the source code of my step function