+ 1

How to exchange a red ball for a cartoon image

I just completed the Game Development course along with the final code repo project. The final project had me create a red ball that jumps everytime you either tap the screen on your touch screen mobile device or tap a key on your PC. The ball has gravity and starts to fall when you stop tapping and gets higher and higher as you tap. I am wanting change out the red ball for an actual character. In the lesson on adding imagestheyshow how to do this. In the example link below, the lesson imported the Sololearn logo to the page. I was able to successfully change out the logo for a cartoon character of a penguin I found online: https://code.sololearn.com/WobkPJfKoXJ6/?ref=app This is the link to an altered version of my final code repo project for the course where I was able to tweek some things to be more interesting, but I was unable to successfully change out the ball for the cartoon penguin I found online: https://code.sololearn.com/WsfbI0r2p12D/?ref=app Does anyone know how to do this?

24th Feb 2022, 1:52 AM
Robert Haugland
Robert Haugland - avatar
4 Respuestas
0
Raul Ramirez, Thanks. That worked. I also do digital art in both Gimp (free photshop type app) and in Blender (3d modeling and animation app). Is there a way for me to create my own character either through gimp or blender and use that image in my game, as well?
24th Feb 2022, 4:57 AM
Robert Haugland
Robert Haugland - avatar
0
Im guessing your asking so it could work on here. If so heres one way 1. Upload your file to google drive ex : https://drive.google.com/file/d/1uC_b3q8ddY_Y__eEW7iL-8wJGSjqArDC/view?usp=drivesdk 2. Copy the id ( text between d/ and /view? ) This case its : 1uC_b3q8ddY_Y__eEW7iL-8wJGSjqArDC 3. Attach id at end of this https://drive.google.com/uc?id= So we get https://drive.google.com/uc?id=1uC_b3q8ddY_Y__eEW7iL-8wJGSjqArDC 4. Use that new link for the url
24th Feb 2022, 5:46 AM
Raul Ramirez
Raul Ramirez - avatar
24th Feb 2022, 5:51 AM
Raul Ramirez
Raul Ramirez - avatar
0
Raul Ramirez, Awesome! Thanks!
24th Feb 2022, 9:19 AM
Robert Haugland
Robert Haugland - avatar