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 - LoneTree_tv

Pages: [1] 2 3
1
Engines / Re: I Wanna Be the Engine KS Edition (For GMStudio)
« on: August 04, 2015, 10:41:41 PM »
I think so. I'll try reinstalling just in case.

2
Engines / Re: I Wanna Be the Engine KS Edition (For GMStudio)
« on: August 04, 2015, 11:46:03 AM »
I don't know if this has already been addressed, but...
I found something wrong with saving.
If you save on the floor, you get stuck in it and can't move left or right until you jump.

3
Programming Questions / Re: Invincibility Frames
« on: August 03, 2015, 04:12:29 PM »
alright then. Thanks  :atkHappy:

4
Programming Questions / Re: Invincibility Frames
« on: August 03, 2015, 04:01:22 PM »
That looks incredibly complicated.
Also, you didn't use the move_towards_point thing, telling me there's probably a different method? I'd like to know just in case. Thanks :atkHappy:

5
Programming Questions / Re: Invincibility Frames
« on: August 03, 2015, 03:24:51 PM »
Math is ezpz, and I don't know how to use paths :P

But how would that work in code?

with deliciousFruit {
move_towards_point(boss.x,boss.y,90) }

?

6
Programming Questions / Re: Invincibility Frames
« on: August 03, 2015, 03:19:25 PM »
Thanks  :atkHappy:

I also wanted to know how to make cherries rotate around the boss, but I scratched the idea as a whole. It'd still be nice to know how, if you know.

7
Programming Questions / Re: Invincibility Frames
« on: August 03, 2015, 12:52:16 PM »
Alright, I tried using the draw event, which I've never used before, and ran into some problems

I only wrote this:

draw_sprite(HPBar,0,10,10)

and neither the sprite nor the boss appears.

also, just now, i tried

hpbar=draw_sprite(HPBar,0,10,10);
hpbar.image_xscale=500/20*hp

the boss and hp bar did not show, and the players sprite got stretched instead.

EDIT: Oops, didn't see your edit. Tried it, and it still didn't work. what should I put for the image scaling if the max hp is 20 and I want the length to be 500? I think the fact that I put "500/20*hp" is what screwed everything up.

EDIT2: Wow, I'm incredibly stupid. I replaced spr_healthbar with my sprite name, and that fixed it. But the boss still doesn't seem to want to exist. By that I mean it's invisible. It's still shootable if you can guess where he is.

EDIT3: Once again, I'm terrible. I just put in draw_self(); before the other line and everything worked perfectly.

8
Programming Questions / Re: Invincibility Frames
« on: August 03, 2015, 12:40:17 PM »
How do you change the length of the sprite?

9
Programming Questions / Re: Invincibility Frames
« on: August 02, 2015, 11:40:25 PM »
One more thing, hopefully the last,
How do you make a health bar appear?

10
Engines / Re: I Wanna Be the Engine KS Edition (For GMStudio)
« on: July 31, 2015, 12:20:27 PM »
Yes, i did. I don't think I moved it to quite the right place, can you show or tell how your files look like?

11
Engines / Re: I Wanna Be the Engine KS Edition (For GMStudio)
« on: July 30, 2015, 10:15:20 AM »
Actually, there's still another problem  :atkCry:
EVERYTHING is undefined. I get this error on startup for every single sprite, stage, background, sound, etc.

Error loading:
C:\Users\User\AppData\Local\Tem...\maskBlock.sprite.gmx.
File not present

12
Engines / Re: I Wanna Be the Engine KS Edition (For GMStudio)
« on: July 30, 2015, 10:10:15 AM »
I didn't even have GM:S installed in the first place. Once I did install it, everything worked fine.
Oh well ¯\_(ツ)_/¯

13
Engines / Re: I Wanna Be the Engine KS Edition (For GMStudio)
« on: July 30, 2015, 01:31:32 AM »
I can't open the GMX file  :atkCry:

14
Programming Questions / Re: Invincibility Frames
« on: July 29, 2015, 04:41:00 PM »
So interval isn't a constant or any thing, it'd just the number of frames that it takes before toggling?
Oops.
I thought it was some sort of built in function to gm.
Also, if I wanted the boss to stay visible twice as long as it stays invisible, I could put something like
mod 8 < 3
right?
finally, to clear up some confusion, MY idea wag up at the top of the thread that I said worked was in a form of an alarm. It didn't flash at every frame. I put alarm [11]=20 at the end of it.
sorry if my grammar or something sucks, I wrote this all on my phone :P

15
Programming Questions / Re: Invincibility Frames
« on: July 28, 2015, 08:23:26 PM »
Alright, thanks. I understood most of it, except for the interval and interval X2 stuff.
No need to explain. But if someone does know how to explain it to an absolute beginner like me, please do.

In the case that I do use the interval code, and just copy paste it,
what do I need to change to make the interval longer or shorter, and how many frames longer will it make it?

Pages: [1] 2 3