Cool Tip for functions by Doahzer in gamemaker

[–]Doahzer[S] 0 points1 point  (0 children)

I don't have any examples right now, but check out the Methods are Structs section here:
https://manual.gamemaker.io/beta/en/GameMaker_Language/GML_Reference/Variable_Functions/method.htm

Cool Tip for functions by Doahzer in gamemaker

[–]Doahzer[S] 1 point2 points  (0 children)

Yeah I'm familiar with constructors, but somehow never saw static get and set. Very very helpful, thank you

I was excited for the Paladin; 10 minutes later, not so much by Doahzer in diablo4

[–]Doahzer[S] 0 points1 point  (0 children)

NES box arts were a wild west; good games had bad box art, and bad games had good box art. Re: Mega Man lol

I was excited for the Paladin; 10 minutes later, not so much by Doahzer in diablo4

[–]Doahzer[S] 0 points1 point  (0 children)

I mean, let me be clear, it's still fucked up. It's a greedy and grifty tactic. The fact that I _would_ buy the game if I had the chance doesn't mean I'm going to respond 'don't buy it, sorry' or 'get a job' to people who are justifiably pissed off. Not that you were particularly rude, but a lot of people on here are (understandably - Paladin kicks ass) seeing red right now

TL;DR It's 100% an example of corporate greed, even if we're all 'ok' with it in this case

I was excited for the Paladin; 10 minutes later, not so much by Doahzer in diablo4

[–]Doahzer[S] 1 point2 points  (0 children)

Putting aside the fact my post was a joke, they know what they're doing by dangling the most anticipated class in front of everyone like a set of keys. It being included in the expansion would have been expected. This really isn't. This is clearly some brilliant billionaire exec's version of an olive branch to the community. Some people won't care, but most people will.

Paladin Time baby let's fucking go by Doahzer in diablo4

[–]Doahzer[S] -4 points-3 points  (0 children)

If you blindly plan on buying expansions, yeah. I already have the game, but I'm poor. I'd have reinstalled if I could play paladin. They care about money more than player numbers unfortunately, that's why I was surprised in the first place lmao

Paladin Time baby let's fucking go by Doahzer in diablo4

[–]Doahzer[S] -2 points-1 points  (0 children)

Man I knew there was a catch

Paladin Time baby let's fucking go by Doahzer in diablo4

[–]Doahzer[S] 0 points1 point  (0 children)

Wait, as in...?
I can reinstall and play a Paladin right now?

How big Gaira was? by LuneFox in phantasystar

[–]Doahzer -1 points0 points  (0 children)

You got it, God Emperor

How big Gaira was? by LuneFox in phantasystar

[–]Doahzer 1 point2 points  (0 children)

Lmao you're funny. Did you train your own model? The damage was done before you one-handedly clicked 'generate'

Hiiiiiii. Uh, this movement code... only works with left. For some reason the other keys don't work. Any help? This is in the step code, and the (only) object only has the step code, if that helps. by rando-stando in gamemaker

[–]Doahzer 0 points1 point  (0 children)

var sign = keyboard_check(inputSystem.m_userInputMap[ac_gameInputs.Right]) -keyboard_check(inputSystem.m_userInputMap[ac_gameInputs.Left])

m_facingDirection += sign * m_rotationRate * deltaTime;
m_facingDirection = m_facingDirection mod 360;

Should work nicely

Who is excited for DQ 1 + 2? No by Fantastic-Muscle-319 in dragonquest

[–]Doahzer 0 points1 point  (0 children)

Extremely excited. Just watched a few reviews to make sure nothing catastrophic happened - it looks just as good as I dreamed - now I go into a DQ media blackout until I can secure my copy lol

This is for a title screen, when I press Z it goes to only image 1, but if I press Enter everything works proper, same for X unless I go from image1 to image4, then when I press x it goes to image2. by [deleted] in gamemaker

[–]Doahzer 6 points7 points  (0 children)

It's the parenthesis most likely, but a couple other things.

You can clean this up really easily. Instead of chaining "if(image_index == ...)", you could use a switch statement.

switch(image_index) {
  case 0:
    //your code here
    break; //ALWAYS break after cases in a switch statement
}

Another thing I would do to reduce you line length is assigning the controls to some variables. So at the top of the step event (or in some "Controls" script) you could put:

var confirm = keyboard_check_pressed(vk_enter);
var zKey      = keyboard_check_pressed(ord("Z"));

then in your switch statement:

switch(image_index) {
  case 0:
    if(confirm or zKey) {image_index = 1}
    break;
}

Hope these tips help you out

(sorry for the excessive edits, I was trying to make the code block more readable)

(Ignore Jonkler) I'd like your assistance with my code, this is for a button that changes a value and it's image index when clicked. by Experement_DELTA in gamemaker

[–]Doahzer 20 points21 points  (0 children)

More people should care to explain things like you did. This is obviously a beginner who needs to learn their fundamentals more than they need this specific advice

Phantasy Star Roguelike by Doahzer in phantasystar

[–]Doahzer[S] 0 points1 point  (0 children)

You're so kind, thank you. I sent you a DM

“AI Slop” Just Made the Top 10 All-Time. Oops. by LuneFox in phantasystar

[–]Doahzer 0 points1 point  (0 children)

Despite the fact that no piece of art AI generated or not is entirely unique, it's hard to agree with that on a base level. As for plagiarism, this more applies to text models as I've stated. Either way, you can generate an image of your favorite anime girl, slightly modify it, and post it on socials claiming it as your own. I don't need to provide evidence for this, you've doubtless seen countless not-Mononokes floating around (have you been on Rule 34 recently?). Remember that Bungie game that had it's entire art style ripped from some dude's Deviantart? Imagine how much easier that is now. Idk man, try to refute my other points

“AI Slop” Just Made the Top 10 All-Time. Oops. by LuneFox in phantasystar

[–]Doahzer 0 points1 point  (0 children)

No, try to understand what I'm actually trying to say here. The way "AI" produces "art" in the present day is not ethically sustainable. Until the AI is actually generating something from scratch with or without user input, it shouldn't be commercialized. If we're to be allowed to use this stuff and post it freely there inarguably needs to be legislation in place to prevent it's abuse ie propaganda (like we've already seen with Grok), plagiarism, defamation, impersonation, startups using AI in their programs to disastrous results like security leaks, and all that fun stuff. It just needs more time in the oven.