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

Pages: 1 2 3 4 5 ... 23
31
Ask a Question / Re: Fill CURVED Space with color?
« on: September 07, 2015, 02:24:51 am »
Also, is there a way to use a gradient ingame?

32
Ask a Question / Fill up Energy Bar? -HELP
« on: September 07, 2015, 02:22:27 am »
Hey guys, does anyone know how to fill this circle bar just with the drawing event?

Creating 100 Animations for that actor and just switch it according to the filled percent would use up too much memory ;)

Thanks :)

33
Ask a Question / DOWNLOAD Soundfiles? -HELP
« on: September 01, 2015, 11:14:27 am »
Hey guys,

does someone here know how I could download the games OGG files at runtime to use them? My soundbase consumes alot of memory and makes the game pretty big. Any ideas?

Thanks :)

34
Resolved Questions / Re: Effects for Images on mobile? -HELP
« on: September 01, 2015, 04:09:56 am »
Alright thanks @yoplalala @letmethink

This costum behaviour works perfect to quickly change the color of an image:

Code: [Select]
var ct_temp:openfl.geom.ColorTransform;
ct_temp = new openfl.geom.ColorTransform();
ct_temp.color = __Color;
__Image.colorTransform(__Image.rect, ct_temp);
return __Image;

35
You have configure the "Origin Point" of the Actor Type to "Top Left".

36
Resolved Questions / Re: Problem with Lists! -HELP
« on: August 26, 2015, 12:14:56 pm »
Weird...it didn't work until I restarted Stencyl... well it works now, so [SOLVED] :)

37
Resolved Questions / Problem with Lists! [SOLVED]
« on: August 26, 2015, 11:44:34 am »
hey guys,

I know that in order to use it properly, you have to set a list attribute to "create new list" beforehand... but how am I supposed to use the defauls List values of that attribute? How can I use the List without resetting the values assigned to it?

38
Ask a Question / Re: How to change color of an actor?
« on: August 26, 2015, 11:35:11 am »
No it does not really affect the performance, I use tinting heavily on my games without any problems.
But I think changing the brightness of an actor using the effect block too fast (i.E. 30x/s) to give it the effect of "glowing up" or "charging" can reduce your FPS for that amount of time.

39
Assign the last created platform to an actor attribute and create the next platform on the actor attribute instead of the last created actor.
Then assign again and so on.

- create platform
- Set "_platform" to last created actor
- Create next platform on x/y of "_platform"
- Set "_platform" to last created actor
- Create....
- Assign...
- Create....
- Assign....
....and so on

40
Resolved Questions / Re: How to detect gravity? [SOLVED]
« on: August 24, 2015, 11:52:41 am »
Wow thanks alot guys, I am slowly switching from block only to code only and this surely made things easier! :)

41
Resolved Questions / Re: How to detect gravity? [SOLVED]
« on: August 24, 2015, 09:18:30 am »
Do you think I can find pretty much everything I need to know about Stencyl from here:
http://api.stencyl.com/as3/stencyl/api/engine/actor/Actor.html
?

42
Resolved Questions / Re: How to detect gravity? [SOLVED]
« on: August 24, 2015, 09:12:57 am »
Alright, thanks SadiQ :)
Might I ask where you got that information from? I would prefer to learn the answer myself rather than asking in the future since I will otherwise forget this pretty soon...

43
Resolved Questions / How to detect gravity? [SOLVED]
« on: August 24, 2015, 02:49:29 am »
Hey guys,

I just wanted to ask if it is possible to detect if the gravity for an actor is enabled or disabled? I know you can do it with the scenegravity but that's not the goal here :)

Thanks :)

44
These block will bring you to your goal:

The event should look like this:
- Check if the Animation is the desired one.
- Check if the current frame is lower than the max frame and higher than the min frame (in between)
- Switch the Animation to Fight

45
Sure thing since lists can pretty much hold anything.
Just test it like this:

Of course you have to change the "All Animations" to an actual list ;)

Pages: 1 2 3 4 5 ... 23