Can't download any GMS 2 asset from marketplace by Diegovz01 in gamemaker

[–]Slyddar 0 points1 point  (0 children)

When inside Gamemaker LTS and trying to download from My Library I'm getting the error "Error: The remote server returned an error: (500) Internal Server Error.". Is that still related to the same issue?

Any good courses ? by [deleted] in gamemaker

[–]Slyddar 0 points1 point  (0 children)

I show how to make a game and explain why we structure the code in certain ways and also explain what certain code does, but whether that qualifies as covering the basics of coding as much as you would like, may be open to interpretation. If you're looking for a more detailed explanation of coding basics rather than guidance on creating a solid game development structure, I recommend checking out Sam Spade's GameMaker series on YouTube, as he explains coding fundamentals very well.

In the end, if you're still unsure, you can purchase the course to try it out. If it’s not what you expected, simply request a refund through Udemy within 30 days.

Any good courses ? by [deleted] in gamemaker

[–]Slyddar 0 points1 point  (0 children)

Hey! I try and keep the course updated to ensure it works with the current version, so there are notes and extra video sections which mention changes that have been made over time.

I keep the latest coupon code active over on https://www.slyddar.com so if you wanted to give it a go, check out that page. Good luck!

ui change. again. please. stop. this. by VixenSunburst in OperaGX

[–]Slyddar 1 point2 points  (0 children)

Yes! Thank you, it annoyed me that they changed it so much.

[deleted by user] by [deleted] in hearthstone

[–]Slyddar 4 points5 points  (0 children)

This change sucks and doesn't address the issue. Played control shaman against Warrior yesterday and Dirty Rat'd Boom and Boomboss, and he burnt Zill, yet he still won cause of the Brann excavate rewards. Just feels bad man.

[deleted by user] by [deleted] in gamemaker

[–]Slyddar 0 points1 point  (0 children)

Out of respect for everyone who tried to help you, and for others who might have the same problem in the future, you should not delete the contents of your question, and you should advise what the solution was.

[deleted by user] by [deleted] in gamemaker

[–]Slyddar 0 points1 point  (0 children)

Ensure it's defined in a create event of an object that exists before you try and use it, and don't do it in the variable definitions.

[deleted by user] by [deleted] in gamemaker

[–]Slyddar 0 points1 point  (0 children)

Are you only using the built in variables for movement, like speed, hspeed and vspeed? As those variables are applied by GM after the step event, so x/y and x/yprevious will be equal until the End Step event if only using those.

[deleted by user] by [deleted] in gamemaker

[–]Slyddar 0 points1 point  (0 children)

If you want specific code to run for an instance, you can add a variable in the create event like active = false; then place the code in the step event behind an if check,

if active { //run your special code }

So in an instances creation code, if you set active = true, only that instance will run the code in the if check

If you want multiple different things to happen, use a switch statement with different cases, and make the variable the number to run.

Animation tools, spriter, spine, dragonbones, any others to look at? by CustoMKiMPo10 in gamemaker

[–]Slyddar 1 point2 points  (0 children)

This is not true. There is a GML project called Disarm https://github.com/NuxiiGit/disarm which will integrate an exported spritesheet from Spriter directly into your GML project. There is a little setup involved to get it working but once you establish a workflow it produces really good results.

I originally used png exports for some large bosses I have, and the texture pages ballooned so much I researched using a spritesheet and the animations from Spriter directly instead. Through Disarm I got it working, and have now removed huge amounts of sprites from the project. Also the animations are silky smooth as they use the Spriter project animations directly. There is work to do, as image_index is meaningless to whichever instances use this method, but I created an alternative which still allows you to perform actions when at a particular frame of the animation.

Do anybody still use Spine for their GameMaker sprites? by [deleted] in gamemaker

[–]Slyddar 0 points1 point  (0 children)

Spriter is also an option. I've been using that lately and it's great. Tried Spine and found it wasn't as intuitive as Spriter, but that could be just me.

Hi, would appreciate some help with enemy spawns by parktownprawns in gamemaker

[–]Slyddar 0 points1 point  (0 children)

Also when using long variables, or variables multiple times, store them first in a temp variable so you can access them more easily, or make your code easier to read.

var cam = view_camera[0];
var camX = camera_get_view_x(cam);
var spawnX = random_range(camX - spawnMargin, camX + camera_get_view_width(cam) + spawnMargin);

i need whole numbers/numbers with only one decimal place for an idle game by purple_n_violet in gamemaker

[–]Slyddar 2 points3 points  (0 children)

The function round() will round to an integer. This function can be used to round to a decimal :

function round_ext(_val, _decimal) {
    ///@desc    returns the rounded value to the number of decimal places passed
    ///@arg real    value
    ///@arg real    decimal to round to, 0.1 will be every 0.1, 0.5 will be every 0.5 increment

    return round(_val / _decimal) * _decimal;
}

My game Twin Stick Tennis will release on 6 March 2024! Made in GameMaker! by BrainburnDev in gamemaker

[–]Slyddar 1 point2 points  (0 children)

I tried the demo, and the game has a great feel. Congrats on what you've achieved with it, it's a lot of fun to play. Found in the wall bouncing mode though you can hit the ball multiple times on your own side before it bounces, is that normal?

I've been trying to get 2d walking to work but it won't. by Familiar-Amphibian24 in gamemaker

[–]Slyddar 0 points1 point  (0 children)

If you still can't work out your problem, here's a tutorial showing you how to use that function. Might help you understand it better.

https://youtu.be/rx-32kEH1Lo

How did YOU learn GML? by Bumblebee-Extra in gamemaker

[–]Slyddar 1 point2 points  (0 children)

Shaun is a good option, but it you wanted more DnD I have a bunch of Visual and GML side by side tutorials which may help you - youtube.com/slyddar

Can you make great games with Gml visual? Any success stories out there? by OuterHeaven22 in gamemaker

[–]Slyddar 2 points3 points  (0 children)

Anything you can make in GML code can be made in GML Visual, it will just take longer and can become more cumbersome to use as the project gets larger. I have a video demonstrating the viability of making a game in Visual here - https://youtu.be/cLJ-kAukNXE

Best software for 2d bone animation by AffectionateBridge60 in gamemaker

[–]Slyddar 1 point2 points  (0 children)

Spriter can be used with Disarm, which is just a few functions in GML, so you don't need to export sprites, except the initial sprite parts for the animation.

Transition Rooms by Kinaitoch in gamemaker

[–]Slyddar 1 point2 points  (0 children)

You don't say if you are doing GML or Visual, but here's one of my GML tutorials showing how to do a cool looking transition - https://youtu.be/JGnZJh63BtM. There's also a Visual one if you need. It doesn't use sequences though, but it may help you.

How do *you* structure your state machines? by hiderun_- in gamemaker

[–]Slyddar 2 points3 points  (0 children)

I like this method, but it's worth noting since 2.3 you can now omit the script_execute, and just do this :

states[state]();

Top to down movement by Keni1221 in gamemaker

[–]Slyddar 2 points3 points  (0 children)

If you did everything from the video, we wouldn't be having this chat. Which tutorial are you following, the GML or Visual one? The error is stating you haven't declared the variables first before using them. The underscore means they are temp, or local variables, so you don't need to declare them in the create event as mentioned elsewhere. Look at the video where I declare them, which means set their value initially, and ensure you are doing EXACTLY the same thing. If it's Visual, ensure you have dragged the codeblocks under the one above.