A R
@syflexer
0
negitive number issue
ok so when you get far enough into the game at your second rebirth you get a damage buff using division and i know python has a big problem with devision and i end up with huge strings of negitive numbers for the monsters health when you attack it can someone like tell me a library or something to fix this. also i accidentally linked the wrong repl this is the right repl https://replit.com/@syflexer/monster-looter4
3
0
This is another post for a new update on my favorite text based game i made i hope you guys like it as much as i like it.
the scale on weapons doing d
Python
Nanowrimoijk it would help if you added like a neutral attack, cause you automatically lose with no weapons since you can't damage them plus with no items it causes an error2 years ago
k i have been looking at this for about a week now and cant find why the circle wont show up here
Pygame
CosmicBear The circle is off the screen. the screen isn't large enough to show the circle
2 years ago
i get this error msg when i press my login button
login.php:56 Uncaught TypeError: Failed to execute 'appendChild' on 'Node': parameter 1 is not of t
PHP Web Server
Coder100 did you mean
form.innerText += "fulln";
you can only append elements. You can edit HTML.
Anyways, a better solution is to use textnodes
https://www.w3schools.com/jsref/metdocumentcreatetextnode.asp2 years ago
SixBeeps The appendChild() function expects a DOMNode as a parameter, but you're giving it a string. Are you trying to make the elements for the login form?2 years ago
its been a bit sense i have programmed pygame so right now i am having trouble getting a img to appear on the screen for the game i am making so if yo
Pygame
JustScorpion Ah- Sorry but I'm also not very familiar with python / pygame so I sadly can't help ya with this one :c
im more familiar with HTML, CSS
Maybe someone else is more familiar may help, goodluck!2 years ago
so on the login page of my website i cant get the login button to make the form i wrote in javascript to show up
PHP Web Server
Coder100 Form elements override js
So
Have to add preventDefault
button.addEventListener(function(e) {
e.preventDefault();
});2 years ago
51LV3RC0D3R Here is an example that worked for me.
.button {
background-color: #4CAF50; /* Green */
border: none;
color: green;
padding: 16px 32px;
text-align: center;
text-decoration: none;
display: inline-block;
font-size: 16px;
margin: 4px 2px;
transition-duration: 0.4s;
cursor: pointer;
border-radius: 1000px;
}
.button1 {
background-color: white;
color: black;
border: 2px solid #4CAF50;
}
.button1:hover {
background-color: #4CAF50;
color: white;
}
Login
2 years ago
for some reason when i try to load up one of my python programs or try to make a new one it doesnt load and eventually errors out but i can open up ot
This is my new bio page more may be added on a later date but it is good for now also i am not the greatest at web design stuff so ya dont judge i did
PHP Web Server
52
clicky clicksIts a fun clicker basic clicker game that is made in pygame
4.8K
123
52
the new update changes a good bit of the auto miner feature adding scaling to it to make the auto miner a bit more usefull
Pygame
change log:
added colored text
added shotgun does 20 damage
added nuke does 1000 damage
nerfed bomb now does 30 damage
nerfed gun now does 10 damage
n
Python
Hello this is my new game eventually i am gonna make it a visual game with pygame but for now its text based and its now in its first beta version big
Python
so for some reason i dont think the varible is saving itself so the monsters health never goes down even though it should and i have spent a bit tryin
Python
InvisibleOne I see the issue, your monster health is fine, and it isn't going down because you aren't actually using anything out of your inventory. on line 55 you need to change itemuse = input().lower to itemuse = input().lower() since lower() needs to have paranthesis2 years ago
so i have only added lower case letters so far but i plan on changing that in the near future to add symbols numbers and capital lettering but have fu
Python
Hey guys i am going to be leaving repl i don't know when or if i am coming back but i have lost motivation to program anymore so i will be leaving
Python
The reason behind me hating unity is that there really isn't much programming when you use unity its more just dragging and dropping assets you get fr
Python
Codemonkey51 Some professional games are made there (ksp) but I get it now it feels like everyone wants higher quality repls but that's hard without a game engine3 years ago
DynamicSquid You need to know programming to make a good game, even with Unity... right?
Well, all the professional games out their have programming required, well... not anymore
I agree with you. Making games has become easier and easier, and programming in games is becoming easier an easier. Like, I'm not going to pursue game dev in the future, so this doesn't really affect me, but I still think this is bad to all game devs out there who know how to code. Game design needs to be harder to master. Maybe a3 years ago
hey i am looking for 1 person to do a small competition with the rules would be that the program would have to be a text based game that was not in cr
Python
this is a name generator and if you have a idea for a name i will add it also i will add your name if you give me a idea also thanks to @Bookie0 for g
Python
ColePayneSexton Wow, the typing animation caught me off guard..., im assuming this was sys that allowed this?2 years ago