+ 1

Code suggestions

I want to make an RPG game and this is just practice. So please tell me if there are any improvements I could make or any suggestions on this code before i expand on it🙏🙏 https://sololearn.com/compiler-playground/WogHTALAIR57/?ref=app

24th Oct 2025, 12:15 PM
Artwell Mutanhau🇿🇼
Artwell Mutanhau🇿🇼 - avatar
5 ответов
+ 4
The character is cute! A next step could be to limit where the character can move, e.g. they should not walk through walls or up the wall or outside of the "play-area".
24th Oct 2025, 12:29 PM
Lisa
Lisa - avatar
+ 4
Lisa's comment is a good one. set boundaries for your game. great work hardcoding the parts. but using a spritesheet is the usual route to take with these type of characters. it's less of a burden to process and it also makes creating various characters a lot easier.
24th Oct 2025, 12:58 PM
Bob_Li
Bob_Li - avatar
+ 3
It looks correct to me (testing on smartphone).
24th Oct 2025, 1:04 PM
Lisa
Lisa - avatar
+ 2
Ok.Got it. Thank you😁. May i ask if it desplays well on your device? i have trouble making things responsive.
24th Oct 2025, 12:34 PM
Artwell Mutanhau🇿🇼
Artwell Mutanhau🇿🇼 - avatar
+ 1
Yup it was alot of work and a big headache making everything work😩😩😩 I just wanted to put my skills to the test😅😅
24th Oct 2025, 1:04 PM
Artwell Mutanhau🇿🇼
Artwell Mutanhau🇿🇼 - avatar