Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - thegoodperry

Pages: 1 ... 157 158 159 160 161 [162] 163 164 165 166 167 ... 217
2416
Suggestions & Requests / Re: Fighter UI
« on: April 28, 2018, 03:52:25 PM »
Making a UI at all would require scripting anyways. I didn't actually realize this was the suggestions and request board i thought it was mod discussion lol MB

anyways ill leave that stuff above for anyone who wants to make this

2417
Suggestions & Requests / Re: Fighter UI
« on: April 28, 2018, 03:50:51 PM »
This isn't the first time I've done something like this, I've never had any issue at all. Not sure where you got the idea that this being made in blockland would require so much to properly handle. I've done many gamemodes that use the same system im putting together here, not once has anybody has any issues. Nor have I experienced anything, like I said the game is handled entirely with events. The only thing I'd like to add that is cosmetic here is the hud itself. Also just to clarify there isn't any combos or anything like that in this, its just a simple weapon I got called action_melee that is set for the melee attacks, the only thing that makes each character unique is their abilities.
ok its your choice in the end. you should still shoot for playability above all else, as long as you have that there's no issue

Also regarding your point about using bottom text for the HUD info I wouldn't mind doing that, I would just need to know how you'd set it up like that.
say you have two player references: player1 and player2

Code: [Select]
function convertPlayerHealthToHealthBar(player)
     dividedHealth = roundUp(player.maxhealth/10)            //dividing it into 10 bars so its easy to fit
     currHealth = roundUp(player.health/10)                       //current player health out of 10
     lostHealth = dividedHealth-currHealth                          //player health thats been lost out of 10
     barString1 = "<color:FF0000>"                                   //part of health bar that shows amount of health
     barString2 = "<color:888888>"                                  //part of health bar that shows lost health
     for (i until currHealth, i++)
           barString1 += "| "
     for (j until lostHealth, j++)
           barString2 += "| "

     return barString1 @ barString2                                  //combines the two bars
end function

the above is pseudo code on in general how it should work. this will display the health bar |||||||||||||| like this. if the player has half health it would be ||||||||||||||||

The above function you want to run on the first player in the fight and the second player of the fight. you need a reference to them somewhere. So maybe if they begin a match, create an object that contains a reference to the two players in the match

Then for each of the players in that match object, bottomPrintClient(player.client,'',convertPlayerHealthToBar(player1) SPC $matchtimeleft SPC convertPlayerHealthToBar(player1));

or something like that

2418
Creativity / Re: The new and improved 3D model topic!
« on: April 28, 2018, 03:37:30 PM »
forget you ill never model in blender

2419
General Discussion / Re: Looking for beta testers for my medieval RP.
« on: April 28, 2018, 03:33:15 PM »
how do you test out an RP? isnt it like primary just made up social interaction

2420
Games / Re: anyone hosting modded minecraft?
« on: April 28, 2018, 03:31:16 PM »
remember when modded minecraft was even fun?




me neither

2421
Creativity / Re: The new and improved 3D model topic!
« on: April 28, 2018, 03:28:47 PM »
blender is the best option. milkshape works and 3ds max is good too. shaper and sketchup work but only in conjunction with blender or milkshape

im biased so i'd suggest sketchup because its a good starting tool but everyone here is hardwired to blender so they'll probably shoot me down because their superior program is superior and all else are inferior, etc etc

2422
General Discussion / Re: What the forget did you do Vittoriohp.
« on: April 28, 2018, 03:10:32 PM »
=implying we can discuss impacttext

2423
Suggestions & Requests / Re: Fighter UI
« on: April 28, 2018, 02:57:45 PM »
I know this is kinda off topic but making a fighter in blockland is a pretty bad idea. Blockland's netcode can't handle much properly in realtime and since fighting games require such perfect response between client and server it won't end up working good in any way possible unless done over a LAN or single player. Most fighting games that handle online play use a special kind of rollback / predictive input manager that will try to assume each client's next input which will make it so even if someone's lagging their input will be received in time, and if the input predicted is incorrect it will simply rollback to the previous state and apply the new input.

You may think like 'maybe only players with good ping should play' but even 50-60 ms is enough of a delay to mess up input. And, if you ping suddenly jumps, combo moves will definitely forget up entirely as well as each client's interpretation of it


Not only that but you should usually refrain from designing UI and instead opt for center or bottom print text to display information. If you design a UI you have to redistribute it to every client on the server and that becomes pretty painful to manage, especially when updating code

You could essentially do the same thing as a health bar with something like this

|||||||||||||| 60 ||||||||||||||
           --0           ---

its readable for all clients on their machine, it doesn't mess up when you rescale your screen, and its all handled in the server.cs so updating it is incredibly easy and clients have almost no bearing on the process

2424
Off Topic / Re: POLITICS & DONALD Annoying Orange MEGATHREAD
« on: April 27, 2018, 08:16:05 PM »
Delicious denial
The sanctions were the stalemate breaker. Nuclear war could be fought between both the United States and North korea at any time, but only the United States has the ability to apply sanctions to north korea. Its like trying to invade a castle. Obviously its going to take a long time, but if you block any incoming imports/exports then everyone inside will starve. Eventually they'll have no choice but to yield

The threat of nuclear war was stopping both countries from attacking each other obviously, but the sanctions basically ended hostility. Therefore the sanctions were the primary cause of NK's withdrawal

2425
Off Topic / Re: bill cosby found guilty on all counts
« on: April 27, 2018, 08:07:55 PM »
daily reminder that he admitted to handing out drugs to people and not to raping them
he admitted to handing out drugs to one woman and then having love with her immediately after she consumed that drug. the difference between bill cosby and andrea constand's testimony is that cosby says it was consensual while constand says it wasn't because she was impaired. They determined that the drug he had given her was Methaqualone, through his admittance to purchasing it + receipts that show he purchased it around the time of the crime. If she was given that pill then it'd be true that she was impaired and therefore the love was not consensual.

There is no solid evidence that she ingested the sedative, but both her and cosby say that she did, though cosby says it was benadryl. Considering the fact that cosby had purchased Methaqualone without a history of sleep disorder or trouble, the jury decided that he was guilty.

Cosby indirectly admitted to committing rape. He admitted to handing out an impairing drug and then having consensual love, but the fact that it was an impairing drug means that the love wasn't consensual. Its like saying "I didn't murder that man, i simply showed up to the crime scene at that time with the murder weapon in hand." Its obvious based on all the evidence that you're admitting that you perpetrated the murder

2426
Off Topic / Re: Mah weird chin moveh.
« on: April 27, 2018, 05:44:43 PM »
how will conan ever recover?

2427
This can easily be circumvented by a pseudo lootbox syste. Instead of buying a box with randomized loot they can just earn loot randomly every time they complete a game, and then the devs can add a Loot Pass which basically increases your chances of drops. Because you're investing in a guaranteed outcome (paying for the pass will grant you the pass 100% of the time) you aren't paying for the game of chance, you're just improving your odds in the game's hardcoded random number generator

2428
Did you not see the word nuclear anywhere in that post? I'll admit that I was wrong and didn't think that NK was going to step up to the negotiating table, but I wasn't advocating for nuclear war either.
this is probably my fault because i meant to say 'preemptively strike' not preemptively nuke

2429
I guess you don't know stuff about civil asset forfeiture.
that has literally nothing to do with civil asset forfeiture. contraband aren't assets, they're evidence. all of the assets seized either go to the department of justice or stay at the precinct and are given out to cops or some stuff. None of those assets ever factor into the federal revenue. Unless, like, it gets sold, in which the federal government would get a sales tax and thats it. Even if you sold millions of dollars worth of kingpin assets the federal government would only be getting like $60,000 dollars out of that, and thats provided that all of the assets are sold in the first place

the wall is being paid for by our tax money, not mexico, or drug kingpins.

2430
used their money for the border.
This isn't actually true and once again you're making stuff up for the sake of your argument lol. All contraband acquired by police is held indefinitely until it is no longer deemed useful as evidence and then it is destroyed. All cash seized is given to the department of justice and redistributed as funds for individual precincts. Not a single dime of contraband or seized cash goes towards federal revenue

Pages: 1 ... 157 158 159 160 161 [162] 163 164 165 166 167 ... 217