31
Extensions / Re: Extra Utils Extension [2.0.1]
« on: July 05, 2018, 09:25:37 am »
Was linked here for the save block. Very Useful! Thank you.
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.
Controller support is possible. LD41 is Ludum Dare 41 (https://ldjam.com/). The theme this time was 'mix two incompatible genres'. The only RPG/Pinball game I can think of is the NES Pinball Quest.
Could you make the third key ctrl, alt, or shift? Even on a 2-key-rollover keyboard those keys should be on some separate "circuit" (probably the wrong word) so that key combinations like ctrl-alt-del would work.
Edit: "Pinball with Arcade and RPG elements" sounds awesome. Could've been a fit for the LD41 theme, too
Could it possibly be the particular combination of keys you're using? Certain combinations of simultaneous key presses may not register on some keyboards, though 3 seems a very low number.
Can you please post your code?
http://community.stencyl.com/index.php/topic,50086.msg277066.html#msg277066
Scroll down to libarados post. He has a health bar i use. You can easily add to it or modify it as well
Just to add another trick I've used: If you want to create an elaborate bar instead of a solid rectangle, draw the bar in its full state and use a shrinking rectangle to reveal more of it as it fills up.
Use simple right-angle triangle trigonometry to find the angle. I attached a screenshot of something I have in my game to get the angle between two actors.
I have the "as degrees" block because it converts from radians to degrees just to make things easier on myself but it's not necessary for getting the math right.