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

Pages: 1 2 3 4
1
Ask a Question / Re: Large numbers for money
« on: January 11, 2015, 07:38:59 am »
So you want a code that basically converts a number automatically to something like 1.5M instead of having something like 1.547.284?
Yep. Very handy when you get redicolous large numbers in some games.

2
Ask a Question / Large numbers for money
« on: January 11, 2015, 05:00:54 am »
Hi, how would one go about to make like games on kongregate that you collect vast money in the game and instead of having a number that is 100km long.. they short it down to billions, quad etc etc?

3
Ask a Question / Re: How to get a REAL function-function?
« on: April 13, 2014, 06:42:55 am »
i wanted to see what you want to achieve

the custom block you created is not ment to be a function. a custom block is to create something like calculating the distance between 2 actors.

if you want to trigger a new Funcion that is outside the behaviour in which you trigger it, you simply use the "trigger event for all behaviours in this scene"block ( in stencyl an event is the same as a function ).

so in your case you need to do the following...

in your actors behaviour:
When the mouse is pressed on self,
~switch animations and set GAME attributes~
trigger event EarnStuffEvent in all behaviours for this scene
save game and then()

in your scene behaviour:
when EarnStuffEvent happens,
set Exp to ((Exp)+((1)x(ExpPerClick)))

Thank you, now it work, i previously used trigger event [text], or tried to.

4
Ask a Question / Re: How to get a REAL function-function?
« on: April 13, 2014, 06:26:16 am »
Doesnt help to show all, since they dont do anything usefull

5
Ask a Question / Re: How to get a REAL function-function?
« on: April 13, 2014, 06:21:34 am »


And the custom even is 2 lines down from the custom block.

6
Ask a Question / Re: How to get a REAL function-function?
« on: April 13, 2014, 06:17:09 am »
try using an event instead of a global block. unless you wanted to do something real fancy with it, you can easy use a custom event for whatever you wanted to achive with that code (asuming you simple want to increase your EXP. also try using an game attribute, it saves you allof of headache when tranfering your EXP from one scene to another)

the red paint problem is something that was new since 3.0. but for now simply drag the block out of the earnstuf block, and replace them. that will do it for now

i tried event from an actor(button) cant "call" it when its in the "game" events list.. thats why i ended up with global blocks..

what exactly do you mean? have you ever worked with custom events before?

I got the same error window popping up when i tried to use a custom event.

7
Ask a Question / Re: How to get a REAL function-function?
« on: April 13, 2014, 06:14:07 am »
try using an event instead of a global block. unless you wanted to do something real fancy with it, you can easy use a custom event for whatever you wanted to achive with that code (asuming you simple want to increase your EXP. also try using an game attribute, it saves you allof of headache when tranfering your EXP from one scene to another)

the red paint problem is something that was new since 3.0. but for now simply drag the block out of the earnstuf block, and replace them. that will do it for now

i tried event from an actor(button) cant "call" it when its in the "game" events list.. thats why i ended up with global blocks..

8
Ask a Question / How to get a REAL function-function?
« on: April 13, 2014, 06:07:21 am »
Im trying to write ONE code to do stuff like experience etc.

So i got so far i made a global custom block and can call that from an actor(button),
However.. I cannot access any game Attributes, so i cant do anything, so i read somewhere that GLOBAL customblocks cant access game attributes, so i made a custom block, cant "run" it from the global custom, cant be found.

Must i copy all the functions to n^n places just to make various stuff affecting the same attributes?


Oh and how to get rid of that red painted all over when i fixed an error? now i need to re-open windows/tabs to get rid of it.

9
Ask a Question / Re: Input textbox + keypress
« on: April 09, 2014, 07:49:29 am »
ah ok, you need an extension for that, but as far as i know it was quite complicated with stencyl (this was asked not that long ago). that was the reason i made that package for others

Yesterday i found another game making tool like stencyl, it have an textbox built in one could just add to the scene and there it is. However in that one, to compare text like i want to do in stencyl, theres no "keypress" event.


I wish stencyl had some basic stuff to use, like textbox, droplist etc. that one could use. "It shouldnt be so hard to implement that".

10
Ask a Question / Re: Input textbox + keypress
« on: April 08, 2014, 01:47:59 pm »
mm there's a event under mobile->keyboard-->when submitted.. there you can put all the comparisons etc to do with the text when the user presses enter.. that's for mobile, for desktop you can use the keyboard event

Ok, ill check that tomorrow.

https://www.youtube.com/watch?v=bV8-251LdT0

here i show you how you can use and customize my keyboard behaviour for a use in a highscore top ten.
the keyboard is a seperate behavior, zo perhaps you can use it for your own good.

if it was usefull to you, the only thing i would love in return are credits in your end product =)

if you need more specific help for your program, let me know
I want to be able to type in the text, not click the icons/actors of texts.

11
Ask a Question / Input textbox + keypress
« on: April 08, 2014, 12:57:51 pm »
Hi, how can i make an textbox for the user to input text, that after the user presses enter in that box, comparing to several other strings to do stuff?

12
Resolved Questions / Re: Behaviour config
« on: August 06, 2012, 07:18:06 am »
No, its listed in the order they're added I think. You can only reorder by removing all and adding back behaviours.

Ok, thanks, not that it matters really much, just had be nice tho :D

But thanks to you, im now further off with my behaviour.
If i get this to work like i want, i might even submit it to the forge :P

13
Resolved Questions / Re: Behaviour config
« on: August 06, 2012, 07:14:11 am »
While we're at the behaviour config subject..

Can i somehow force in what order stuff are listed there?

14
Resolved Questions / Re: Behaviour config
« on: August 06, 2012, 07:13:12 am »
Doh.

After my last post i checked thru the menues and used "Refresh" (ctrl+r) the window re-opened (actor window) and NOW its there! wee.!

15
Resolved Questions / Re: Behaviour config
« on: August 06, 2012, 07:11:31 am »
Have you refreshed the actor or the scene if you're editing unhidden attributes in the profiler?

I edited the behaviour it self, went to my actor and removed the behaviour and re-added it.

I also added another animation attribute while the behaviour was removed from the actor.
Yet they dont show at all.



Is there a way to force a "refresh" if the behaviour config screen without remove and re-add the
behaviour?

Pages: 1 2 3 4