Search found 4098 matches

by TMC
Sat May 09, 2015 8:43 am
Forum: General Discussion
Topic: Minecraft Thread
Replies: 802
Views: 160174

Oh, I forgot about that; y for height actually makes perfect sense to 3D graphics programmers, because z is forwards into the screen in screen coordinates, so z upwards on the map would be a confusing rotation; I even chose to do it that way myself recently. So these overhangs are just the extreme h...
by TMC
Sat May 09, 2015 7:57 am
Forum: Q&A Discussion
Topic: % Based Poison/Regen Attacks
Replies: 15
Views: 3932

Do you mean icon floating above their head (as opposed to the existing icon next to the HP)?

It's a very highly requested feature
by TMC
Fri May 08, 2015 6:05 pm
Forum: General Discussion
Topic: Minecraft Thread
Replies: 802
Views: 160174

That's crazy, how is that possible? Maybe it was previously generated up to z=127, while those hills are higher than z=127 but everything below that got cut off? That can't be right.
by TMC
Thu May 07, 2015 7:30 pm
Forum: Q&A Discussion
Topic: Arcing Projectiles
Replies: 24
Views: 6580

It's easy to use the parabola equation if the ground isn't level, just replace the for loop with a while loop and add a test for hitting the ground as sheamkennedy said. The easiest way to solve the problem of fast moving projectiles moving through targets is simply to calculate the position and do ...
by TMC
Thu May 07, 2015 10:51 am
Forum: Q&A Discussion
Topic: Arcing Projectiles
Replies: 24
Views: 6580

(Mogri created Gohrillas, I only wrote the sine/cosine script it uses). sheamkennedy describes that slice-parenting-trick as moving in an arc, but it's actually a triangle. For an arc you definitely need to use a for loop rather than a timer, so it only complicates things to use parenting and additi...
by TMC
Tue May 05, 2015 9:52 pm
Forum: Game Discussion
Topic: Macabre
Replies: 255
Views: 67441

What? Oh, you're not joking. This is surely the first time I've ever seen someone claim they need just two more months to finish a game stuck in development purgatory for endless years, and then actually do it in just one week, instead of never. Incredible. I better not commit to anything a whole tw...
by TMC
Mon May 04, 2015 5:53 am
Forum: Q&A Discussion
Topic: Help, I'm having a weird problem in my game
Replies: 9
Views: 2021

In that case the difference between the right way and the other way of fixing it is unfortunately just to think carefully about where you need to add checks rather than adding them everywhere and hoping. It's an easier version of multithreaded programming. Multithreaded programming is too hard for m...
by TMC
Mon May 04, 2015 5:45 am
Forum: Q&A Discussion
Topic: Reward script
Replies: 2
Views: 1353

Use the 'random' command. For example, for a 7% chance of something happening, write: if &#40;random&#40;1,100&#41; <= 7&#41; then &#40;...&#41; If you want to choose exactly one of a series of things each with a certain chance, use a chain of ifs: variable &#40;rand&...
by TMC
Mon May 04, 2015 5:18 am
Forum: Q&A Discussion
Topic: Help, I'm having a weird problem in my game
Replies: 9
Views: 2021

Well, not really. At every wait in one script there's the possibility for another script to run and change something, which have to add a check for. In that case zeroing out variables only helps if you make them global variables, probably not applicable if you have multiple NPCs.
by TMC
Sun May 03, 2015 1:40 pm
Forum: Q&A Discussion
Topic: Help, I'm having a weird problem in my game
Replies: 9
Views: 2021

Sounds like you might have multiple scripts running at the same time, so one starts and then another deletes the NPC? Or it could be another case of storing an NPC or slice reference in a variable and then deleting that NPC/slice without zeroing the variable holding the reference. NPC references and...
by TMC
Thu Apr 30, 2015 1:26 pm
Forum: Q&A Discussion
Topic: Newbie gamemaker/coder question
Replies: 2
Views: 1133

Generating mazes isn't actually that hard. There are lots of way to generate mazes; you can find many webpages about it. Have a look at the thread on Valigarmander's game Downward , which has a maze generator. However randomly generated mazes are generally a lot worse than hand crafted maps -- the r...
by TMC
Thu Apr 30, 2015 12:43 pm
Forum: Game Discussion
Topic: Macabre
Replies: 255
Views: 67441

Wow, it really doesn't seem like it's been anywhere near 9 months since the last update. Good to hear that the finish line is in sight; good luck!
by TMC
Thu Apr 30, 2015 7:10 am
Forum: Q&A Discussion
Topic: How to make bullet originate from enemy (walktall)?
Replies: 6
Views: 1515

Normally projectiles shouldn't be parented to whatever fires them, but I know you want the bullets to match the movements of whoever is firing...
by TMC
Thu Apr 30, 2015 12:55 am
Forum: Game Discussion
Topic: Give Party Experience Issue
Replies: 2
Views: 948

There's nothing wrong with that script. And I just tested "giveexperience (party, *)", it works. Are all the heroes in the party alive? Dead heros only get experience if the general bitset for that is on.
by TMC
Tue Apr 28, 2015 3:06 pm
Forum: Q&A Discussion
Topic: Making a Straight Projectile in Different Directions
Replies: 20
Views: 5289

I actually feel that with pixelated graphics diagonal movement somehow often doesn't appear (feel) faster.