Comments

Log in with itch.io to leave a comment.

Viewing most recent comments 21 to 60 of 80 · Next page · Previous page · First page · Last page

Hey Shaun! First of all, you just earned a new subscriber because your tutorials are really amazing and helpful. I am currently following your Action RPG tutorial videos and I have one question - is it fine with you that I will use the code which I will learn from your videos and use it for my own game? Even if in the future I would decide to publish such game? Do you not mind if someone is using your code? Thank you for a reply!

(2 edits)

Yes that's fine! =) Have fun!

(+1)

i need help, im on video 28 and when the slime jumps to attack it stays in the air and floats north west forever until i hit it again, thanks for whoever helps

(+1)

goodmorning shaun, 

i really need ur help because i'm stuck video 2 (animation) because of this error:

___________________________________________

############################################################################################

ERROR in

action number 1

of Create Event

for object <undefined>:

Variable <unknown_object>.direction(8, -2147483648) not set before reading it.

 at gml_GlobalScript_Script2 (line 2) - var _cardinalDirection = round(direction/90);

############################################################################################

gml_GlobalScript_Script2 (line 2)


can you maybe help me?

(1 edit)

This is because GameMaker changed the way how scripts work.
You have to put everything inside the "playerAnimateSprite" script into the curly brackets of a function:

function playerAnimateSprite()
{
    // put code here
}

EDIT:
now I see Shaun already adressed this problem in a sticky comment under the yt video, have a look there for more information.

does not work for me

Deleted 1 year ago

Do you know why after I press the activation key next to the pot, the character just freezes?

(+1)

shaun, im on episode 2 and when i run the game it says '

ERROR in

action number 1

of Create Event

for object <undefined>:

Variable <unknown_object>.direction(8, -2147483648) not set before reading it.

 at gml_GlobalScript_PlayerAnimateSprite (line 2) - var _cardinalDirection = round(direction/90);

############################################################################################

gml_GlobalScript_PlayerAnimateSprite (line 2)'

and i dont know what to do.

i did everything right.

If you didn't find the problem in the meantime, see my comment above^^

Hey Shaun, i'm on the final episode but i'm having a little problem, the sTextBoxBG sprites that are supposed to be used for save slots won't appear for some reason, here's the code for oTitleScreen:

create-

titleVisible = 0.0;

keyPressed = false;

slotsVisible = 0.0;

slotSelected = 0;

loadingStarted = false;

for (var _slot = 0; _slot <= 2; _slot++)

{

var _fileName = "save" + string(_slot) + ".sav";

if (file_exists(_fileName))

{

slotData[_slot] = LoadJSONFromFile(_fileName);

}

else slotData[_slot] = -1;

}

step-

if (!keyPressed)

{

titleVisible = min(1, titleVisible + 0.01);

}

else

{

titleVisible = max(0, titleVisible - 0.01);

slotsVisible = min(1, slotsVisible + 0.01);

}

if (keyboard_check_pressed(vk_anykey)) keyPressed = true;

drawGUI-

if (titleVisible > 0) 

{

draw_sprite(sTitle,0,0,-RESOLUTION_H + titleVisible * RESOLUTION_H);

draw_set_alpha(titleVisible * abs(sin(get_timer() * 0.000001 * pi)));

draw_sprite(sTitle,1,0,0);

draw_set_alpha(1.0);

}

if (slotsVisible > 0) 

{

draw_set_alpha(slotsVisible)

for (var _slot = 0; _slot <= 2; _slot++)

{

var _y = 16+_slot*48

var _x = 160;

var _img = 2;

if (slotSelected == _slot)

{

_img = 3;

draw_sprite(sMenuPlayer,0,_x-32,_y+24);

}

NineSliceBoxStretched(sTextBoxBg,_x,_y,312,_y+48,_img);

}

draw_set_alpha(1.0);

}

I wanna thank you for this, I just started this finally but this rules. <3

hi @ShaunJS I have been experiencing some issues with the "

Variable oPlayer.keyRight(100012, -2147483648) not set before reading it.

 at gml_Object_oPlayer_Step_0 (line 11) - InputMagnitude = (keyRight - keyLeft != 0) || (keyDown - keyUp!= 1);" error please help me out I am on episode 1

keyRight was not set before reading it. Meaning you haven't created that variable.

Hello Shaun! First I’d like to say that these tutorials have been amazing, really enjoyable and entertaining. I’m just having an issue after following you're part 14 episode, although I’m not sure if that’s what made the error occur. All my movements are fine, rolling, attacking, and walking, but my player character is unable to move up or left. It moves down and right one, as well as diagonally with those, but it seems like it’s running into a wall at that point. It’s like my character is stuck in a 2x2 box. Any idea of what could cause this? Thanks!

(1 edit) (+1)(-1)

Nevermind, Shaun... I legit forgot to write a line.. lol I didn't write the "x -= x mod TILE_SIZE;" line... >.< That was such an embarrassing move! lol

Hey Shaun, I am a little stuck on the collision side of everything. I've been working with GameMaker since Gm6, but I have decided to look at your tutorial in regards to using GMS2. Since the systems and language has been changed drastically and also allows for more new features, I wanted to learn how to utilize them as much as possible. My problem is after following Episodes 15-18, I have been experiencing a strange bug. My player seems to dash through the tilemap collision in a particular corner, thrusting him out of bounds. I assumed I made a mistake on either the collision script or the entity collision... but they have appear to be no errors with how I typed it up. I don't usually like to copy exact code and I tend to look and study it, but this is one of those instances where I had to backtrack and delete the whole collision code and copy it exact how you wrote, yet the bug persists... not sure on what to do here, I am very confused on what I did wrong. :p

Any help would be much appreciated!

Cheers

(1 edit)

Hey Shaun, first of all thanks for the great tutorials you make. I started using GML last December and this series have been the best intro to GMS2 ever. So much that, based on this code, I created my first game and submitted to a GameJam, here's a link if you wanna check: https://ak1r4.itch.io/the-legend-of-prisma

It's very rough on the edges, and I coded some other functions, but the base code comes from here. 

Lastly, it's not like I want to promote my game, but maybe the last episode of the series could be a showcase of what viewers and patreons have made with the ARPG tutorials, I think it would extremely motivating for viewers that started watching the series recently. Cheers!

(+1)

Hey Shaun, so far loving the tutorials. I would love to see some kind of swimming state. I'm sure it wouldn't be too hard and will probably try it myself. I'm just horrible at making sprites, I'm going to have to pay someone to design mine when I switch them out. So if you get bored or if anyone gets bored I would love a sprite of the character swimming. 

(+1)

I second this ! A swimming state lesson would be nice . 

Swimming state would be awesome!

(1 edit) (+1)

So I actually did make a swimming state. All I did was take the run carry image and cut the legs off it. I then detected the land from the water with tile collision. When the player hits the water it changes the sprite and the player also slows down. I then added a stamina bar to keep the player from swimming too far. Works pretty good so far.

mid posting the assets somewhere?

i am on episode 3 the tiles but my character can go through some walls and there are certain walls that work and some they dont. pls help!!!

(-5)

HoW dO wE uPlOaD a GaMe!

TuToRiAl!

PlS

(-3)

How do we just download assets

In the description of any of the videos, but for ease of use I have added a link here as well just beneath the demo download.

Thank you

Hi Shaun. I am experimenting a bug on my version of my game that i made with your tutorial and it also happens on your version of the game that I download from this site. The hurt sprite does not work properly. there are 2 frames that wont appear when you get hurt and when you bonk on a wall. But there is 2 directions that works just fine.

I think it might be due to an update on game maker studio platform. Does anybody else have the same issue ? 

If I download episode 42, it does the same thing and I did not change anything. Help ?

Thanks!

(+1)

Hi sorry I'm late. Weird version bug. Change the line in the bonk state from 

"image_index = CARDINAL_DIR-2"

to

"image_index = CARDINAL_DIR+2;"

instead. For some reason they've stopped image_index wrapping properly when negative.

Hey bro i realy want a tutorial of how to upload a game.

THX

hello! If I make the purchase for the code, do I get access to all the code as it releases or just the code up to the point that i bought it? thanks!

Deleted 2 years ago
Deleted 3 years ago
(+1)

Yes you can use the code that's the idea, I'd rather you didn't use the art assets (for your own benefit largely)

Deleted 2 years ago

hola,no se porque pero cuando estoy en el juego esta en una pantalla pequeña y no lo puedo jugar

Deleted 3 years ago
(+1)

Same here :-( 
I can download the yyz files, but the environment sprites you show you in your first tutorial isn't there.
@ShaunJs could you help us out?

Deleted 3 years ago
(+1)

The link should work and works on my end. It is a direct link to the file so it will start downloading automatically. (Hence the open and close tab effect you're describing.) Check your downloads!

Hello I think I wrote well the commands but in my game at the end of moving it returns to left (chapter 2)

I would like someone to help me pls 

double check ur code, i did all episodes and everything works fine

(+1)

Will this cover swimming? I haven't seen an action rpg tutorial series that covers transitioning from walking/jumping to swimming. 

(+1)

Sadly not, the demo showcases everything we're going to cover!

(+1)

you can make a transition when you step close to the water just like you do to enter rooms and change the sprite to swiming

(+1)

Sorry if you've already answered this, But how many episodes do you plan to do in total?

(+1)

my current estimate is somewhere around 50, give or take an episode or two.

(+1)

ok cool, only asking because I’m really good with gm8.1 but was never able to make the transition to gms 2. Your series is really helping me a lot.

cant download the sprites :(

(+1)

Chrome was automatically closing the tab when I tried to download the assets from the youtube description in the tutorials.  Instead I copied the link and pasted it into Edge, youtube came up with a page 'Are you sure you want to leave YouTube?'.  I clicked on 'GO TO SITE' and it downloaded the zip file.

tks

Does anyone know if this series/scripts will work with 2d platform projects?

This one certainly will: https://shaunjs.itch.io/shauns-complete-platformer-tutorial-series

I have a problem, when i put global.iUI = instance_create_layer(0,0,layer,oUI); the game doesnt run, and if i take it off there is no UI on screen... please help ;-;

There's a lot of things you might have done, but this points to something going wrong inside the oUI object so check the code in there first to see what might be happening.

Hi bro, do you have this course of tutorials in Unity? :3

I would also be interested in a Unity version

sorry to tell you he only does gamemaker. Check udemy courses there are some great ones there

Afraid not, I have very little experience with Unity!

Hello. I'm using your dialogue system but for the life of me. I cannot make it so that after they have finished their lines in the switch, they wont repeat the dialgue until the game ends and would only say, "We have talked before" Any help would be appreciated or a better way to reach you.  

Watch the episodes on dialogue again and make sure you understand it thoroughly. Doing this kind of thing is fairly straightforward once you understand how the whole system works :)

(1 edit)

Hi been following long just the beginning of the series on episode 2 (part 2: Animation) of this series. The scripted is causing an error code.

############################################################################################
ERROR in
action number 1
of Create Event
for object <undefined>:

Variable <unknown_object>.direction(8, -2147483648) not set before reading it.
 at gml_GlobalScript_PlayerAnimateSprite (line 2) - var _cardinalDirection = round(direction/90);
############################################################################################
gml_GlobalScript_PlayerAnimateSprite (line 2)

I have written the code twice to make sure if the mistake was on my end, and every word matches the video. If anyone can point me in the right direction or give me some understanding what going on. Anything would be helpful

Deleted 3 years ago
(+1)

Thanks, I had the same problem and this solved it.

TL;DR  wrap the script code for PlayerAnimationSprite in a function called: function PlayerAnimationSprite( ) { .... }

Can you explain further. This will help a lot

How?

For other people struggling with this, scripts changed in 2.3 and have to work differently. The source code will work as GameMaker will convert the scripts to the new style.

I have made a video explaining this issue:

Hello.
Just a question. By purchasing this you have access only to the code of the episodes or to the entire code of the final game?
Thank you. 

Just the episodes as they release.

Please help

 IDK WHAT IM DOING WRONG


my npc isnt turning

(1 edit)

make sure you origin is were its so-post to be for you npc because if its not at the center it wont turn 

hi

Se pegar esse pack, em com todos os códigos para eu poder usar a vontade no meu projeto, apenas mudar os personagens?? E crair minhas fases? E meus comandos?

(1 edit) (+1)

Yes, just please avoid using the artwork if you can.

Do you offer the sale of game scripts only?

Hi, I'm mozquito, and I'm really enjoying your series of videos. As much as it is a little difficult because I don't know much about English, I can understand 90% of everything. Your tutorial is giving me strength to continue on my projects. Keep doing these wonderful tutorials, and you can be sure that when my game comes out, I’ll give you all the credit. Thank you! <3

I was already forgetting, I'm Brazilian. =)

Viewing most recent comments 21 to 60 of 80 · Next page · Previous page · First page · Last page