Search found 1110 matches

by sheamkennedy
Sun Mar 08, 2015 12:20 am
Forum: Q&A Discussion
Topic: How to make slice appear below hero
Replies: 6
Views: 1525

Sounds good. I'll attempt that later and let you know if there's any further issue.
by sheamkennedy
Sat Mar 07, 2015 8:27 pm
Forum: Game Discussion
Topic: Is it unwise to use calculus?
Replies: 9
Views: 1871

Sorry I'm a bit confused, could you define the problem more? What I understand is the code is for a left wall (a wall to the left of the hero) and you are saying that it works (meaning it blocks you from moving left) so is there a problem with how this is working? Or are you just saying now that you...
by sheamkennedy
Sat Mar 07, 2015 7:22 pm
Forum: Q&A Discussion
Topic: How to make slice appear below hero
Replies: 6
Views: 1525

How to make slice appear below hero

I have my boomerang slice which is parented to the hero. I would like to make said slice appear under the hero rather than over top of the hero. How do I do this? I tried: set parent(Boomerang, get hero slice (0)) move slice below (Boomerang, get hero slice &a...
by sheamkennedy
Sat Mar 07, 2015 6:04 pm
Forum: Q&A Discussion
Topic: Stuff is going missing in the Plotscripting Dictionary
Replies: 5
Views: 1498

Apparently the XML dictionary is having problems or something, so I've just been going to the HTML version . Thanks! EDIT: Hey I actually just was looking for some stuff in the html dictionary. Turns out it's missing there too. It's in the appendix but when you click on it, it's not located in the ...
by sheamkennedy
Sat Mar 07, 2015 2:45 pm
Forum: Q&A Discussion
Topic: Stuff is going missing in the Plotscripting Dictionary
Replies: 5
Views: 1498

Stuff is going missing in the Plotscripting Dictionary

I use the Plotscripting Dictionary fairly frequently and have noticed that lately some of the features that are normally in it have gone missing. I'm particularly talking about the Slice section which has hardly any documentation as of now. I'm used to that section being really long. It's like it ju...
by sheamkennedy
Sat Mar 07, 2015 5:43 am
Forum: Game Discussion
Topic: Show off your graphics!
Replies: 1625
Views: 335855

I still need to create some collision detection code for it but I got this Zelda style boomerang working for the most part:

https://www.youtube.com/watch?v=QpWtO9G ... hH6wejO_Rr
by sheamkennedy
Sat Mar 07, 2015 5:42 am
Forum: Q&A Discussion
Topic: How to make slice act like a boomerang?
Replies: 11
Views: 2230

Here's a video showing how it turned out:
https://www.youtube.com/watch?v=QpWtO9G ... hH6wejO_Rr
by sheamkennedy
Sat Mar 07, 2015 5:35 am
Forum: Q&A Discussion
Topic: How to make slice act like a boomerang?
Replies: 11
Views: 2230

The code you posted in your first post is correct. No need to use 'sign'. The way you're using sign in that last script is quite wrong. Also, you wrote "get slice velocity x" instead of "get slice velocity y" Yeah I got it all working now. I did notice that x that had to be repl...
by sheamkennedy
Sat Mar 07, 2015 5:33 am
Forum: Q&A Discussion
Topic: Out of curiosity: Checking byte
Replies: 6
Views: 1705

I imagine it would be quite a bit more difficult without said type of feature.
by sheamkennedy
Sat Mar 07, 2015 4:09 am
Forum: Q&A Discussion
Topic: How to make slice act like a boomerang?
Replies: 11
Views: 2230

I figured it out! So basically my timer script was set to reverse the direction of the boomerang after 11 ticks had passed, but my "set velocity function" was set to last only 10 ticks. Thus the boomerang actually was at a velocity of zero during it's climax, so the mathematical function w...
by sheamkennedy
Sat Mar 07, 2015 2:52 am
Forum: Q&A Discussion
Topic: How to make slice act like a boomerang?
Replies: 11
Views: 2230

Gizmog wrote:Beats the hell out of me!
Haha. Well if worse comes to worse then I have that other code with all the variables. I'll play around with this some more.
by sheamkennedy
Sat Mar 07, 2015 2:32 am
Forum: Q&A Discussion
Topic: How to make slice act like a boomerang?
Replies: 11
Views: 2230

Sorry I should show all the code, it may be a bit convoluted and hard to understand some of the other stuff going on but here it is: script, Boomerang Timer, begin #If the boomerang was just shot, a timer which changes phase of the boomerang begins, once the time #is up this script will retrigger ca...
by sheamkennedy
Sat Mar 07, 2015 2:29 am
Forum: Q&A Discussion
Topic: How to make slice act like a boomerang?
Replies: 11
Views: 2230

Ahh, I may have discovered the problem. I added: show value (get slice velocity x(Boomerang)) And it displayed zero on my screen. Thus the slice is perhaps coming to the end of its journey and stopping somehow right as the reversal expression is called... Not sure how...
by sheamkennedy
Sat Mar 07, 2015 2:17 am
Forum: Q&A Discussion
Topic: How to make slice act like a boomerang?
Replies: 11
Views: 2230

No, I still can't get it to work that way. In game it shows my boomerang fly away from the player at it's original velocity, then it stops and the slice is freed. There is no return velocity for some reason. I just attempted this since I figured it was a better mathematical expression than my origin...
by sheamkennedy
Sat Mar 07, 2015 1:04 am
Forum: Q&A Discussion
Topic: How to make slice act like a boomerang?
Replies: 11
Views: 2230

How to make slice act like a boomerang?

I've dealt with making projectiles but now want to make a boomerang. The projectile must first have a velocity going away from the player, then a return velocity coming back. Is there an easy way for me to code something that checks what the current slice velocity is, then reverse it's velocity? My ...