Skip to content
← Back to Community
Rooftop Rodent
Profile icon
PythonHTML5

This is the game I entered in for Kajam! It’s simple and fun, and it took me a while to make. If there are any problems with it, please let me know. Hope you enjoy!

Voters
Profile icon
HEDGIECODER
Profile icon
amyborne13
Profile icon
PythonHTML5
Profile icon
WILLIAMBAEWER
Profile icon
sojs
Profile icon
CyberDaDev
Profile icon
Yoplayer1py
Profile icon
ruiwenge2
Profile icon
Coder100
Profile icon
cookingthesauce
Comments
hotnewtop
Profile icon
Yoplayer1py

Laggy

Profile icon
PythonHTML5

@Yoplayer1py It may be your computer or Wi-Fi. Mine was lagging also, but when i switched to a different computer, it was much smoother.

Profile icon
Yoplayer1py

@PythonHTML5 60 mbps n fast pc wht's wrong ?

Profile icon
PythonHTML5

@Yoplayer1py What kind of computer are you using? Chances are, though, it’s the game. However, I did everything I could to speed it up(like .convert() and killing the sprites if they aren’t on the screen)

Profile icon
Yoplayer1py

@PythonHTML5 wht kind of computer? Win 10 ? 4 cores 8gb ram x64 1 gpu?

Profile icon
PythonHTML5

@Yoplayer1py The game is slow for some people and fine for others. I can’t seem to find out the problem

Profile icon
Yoplayer1py

@PythonHTML5 ok sir...

Profile icon
PythonHTML5

@Yoplayer1py I think I’ve reduced the lag. Try it out if you want and let me know how it goes :)

Profile icon
Yoplayer1py

@PythonHTML5 K will do sire.

Profile icon
Yoplayer1py

K it's good n faster BUT controls lag... Like I press space at the very last moment but I fall.. Tested it on the first roof jump lagged. FIX IT!!! @PythonHTML5

Profile icon
PythonHTML5

@Yoplayer1py Look in the code and see which building is causing the problem. They’re labeled Building1 Building2 etc.

Profile icon
Yoplayer1py

@PythonHTML5 Buildings 7, 4, 1 and the staring building?

Profile icon
PythonHTML5

@Yoplayer1py ok thank you. I will take care of it shortly.

Profile icon
Yoplayer1py

@PythonHTML5 ok sire np

Profile icon
PythonHTML5

@Yoplayer1py I adjusted the code. If you have any more questions just let me know.

Profile icon
Yoplayer1py
Profile icon
Yoplayer1py

@Yoplayer1py still the same. Like I always last min jump. but as soon as I press space when I reach the edge of the building but I fall down then jump ? Tht's definitely a bug right?

Profile icon
PythonHTML5

@Yoplayer1py So you mean when you jump at the last second off of a building, you fall, and then you jump while you’re falling? Or is it just you jump at the last second, but it doesn’t work?

Profile icon
PythonHTML5

@Yoplayer1py Also, when you jump make sure that more than the area of just the squirrel’s tail is on the building. I made it to where you need to be mostly on the building to jump to make it more realistic and challenging. Part of the squirrel(Like the front or head) can be off the building, but more than the tail has to be on the building in order to jump.

Profile icon
Yoplayer1py

@PythonHTML5 Jump up while falling ? like I fall then jump up (skipped 1 building last time.)

Profile icon
Yoplayer1py

@PythonHTML5 more than the tail was there ? like the legs

Profile icon
PythonHTML5

@Yoplayer1py I can’t seem to replicate the issue. Before I published the game, I made sure that a jump from every building to another building was possible so it gave you the chance and didn’t make it impossible. I also made sure that it let you jump even when you’re on the very edge of the building. I think you are jumping too late. You can jump before that and still make it. Thats the whole meaning of the game, you can’t jump too late or too early. Every jump from one building to the next is perfectly fine for me

Profile icon
Yoplayer1py

@PythonHTML5 I like to last min jump , But I didn't jump too late almost 7 times?

Profile icon
PythonHTML5

@Yoplayer1py Every jump from one building to the next without having to jump too late is possible. The only questionable one is the jump from building 1 to another building 1, which is possible, it’s just harder than the others.

Profile icon
Yoplayer1py

@PythonHTML5 ok no late jumps..

Profile icon
Yoplayer1py

@Yoplayer1py also now I got 1 game with all the buildings joined and I didn't jump so I kinda glitched in the roof of building 6 n fell (walking frm building 5 to 6) I tried to take ss but the game restarted as soon as I clicked the alt key?

Profile icon
PythonHTML5

@Yoplayer1py I don’t know… It’s not doing it for me?

Profile icon
Minh-SonSon3

its fun

Profile icon
PythonHTML5

@Minh-SonSon3 Thank you for your feedback!

Profile icon
Coder100

Wow! This is so cool!

Profile icon
PythonHTML5

@Coder100 Thank you!

Profile icon
CyberDaDev

Awesome game, If I were you I'd speed it up a little bit to make it a tiny bit harder. @PythonHTML5

Profile icon
PythonHTML5

@CyberHacker101 I will add that as soon as possible. Thanks!

Profile icon
CyberDaDev
Profile icon
sojs

Ah yes. the good old pygame. Takes forever to boot.
love the following of replits general art theme, very nice.

Profile icon
PythonHTML5

@sojs thank you! :)

Profile icon
MrVoo

Art is nice, but it's way too slow

Profile icon
PythonHTML5

@MrVoo Yeah I tried to fix that. I did .convert() on everything, which helped a lot. It was slow for me, but I think it was just the computer I was using

Profile icon
DeclanC1

@MrVoo agree

Profile icon
CoderGautamYT

Nice!

Profile icon
PythonHTML5

@CoderGautamYT Thanks :)