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

Pages: 1
1
Ask a Question / Re: What's Max Value of Number atribute?
« on: May 12, 2014, 12:49:23 pm »
Maybe you can split score to 2 (or more) number attributes, so say you have scoreLow to store the decimals  and digits up to 999999999.99 (something in the allowed range, and scoreHi to get highest  values. You can check overflow when increasing score,  and have scoreLow += remainder(  scoreLow / 1000000000) and overflow units added to scoreHi, the  può togheter the two in a text like scoreTxt = toText(scoreHi)+toText(scoreLow).
Sould be feasible with stencyl blocks.

2
Ask a Question / Re: StencylForge usage question
« on: May 05, 2014, 01:04:59 am »
I also think StencylForge deserve a little of love, it's not in pair with the coolness of other tools.

3
Ask a Question / Re: Stencyl won't import images (workaround found)
« on: April 22, 2014, 02:32:39 pm »
I think i have the same problem.
http://community.stencyl.com/index.php/topic,30170.msg175146.html
I also use clipboard, even drag and drop, to workaround issue, but it's very frustrating.
I hope someone can help us to solve this one, it's making my whole Stencyl experience a nightmare.
It's so hurting when you are 'in the zone' and forget the issue, and Stencyl crashes, maybe with unsaved works.

4
Ask a Question / Re: What to use for temporary variables?
« on: April 03, 2014, 08:48:11 am »
I've comed to this also some times ago, and made a custom block that was storing temporary values into a single game attribute (of type list); this way i use [set register 1 to anything], and then [get register 1] for get value back; better would be have 'named'  registers, this will require a 2d list or something.
Is this what you're looking for?

5
Ask a Question / Re: Gravity & Zones
« on: April 01, 2014, 01:13:50 pm »
Or you can use out-of-the-box Stencyl gravity and change it during game, checking player x and setting it to left, right with proper block.

6
Ask a Question / Re: One Actor, 2 Levels
« on: March 28, 2014, 01:45:14 pm »
Terrains?

7
Shared Resources / Change actor frame duration (custom block)
« on: March 25, 2014, 02:50:37 pm »
For my game i needed to change an actor's animation frame-duration.
I searched this forum and find a code-based solution, so i arranged a custom block.
Here are the screenshot for block-creation dialog and block implementation, and the full code for the code block is:
Code: [Select]
__Actor.currAnimationAsAnim.setFrameDurations(__Duration);

9
I am trying to understand how Rotate around point behaviour work, because i see some graphic glitches while using it, and i see it uses a gray block called [step size], but i cannot find it in palette. I googled and found that link http://static.stencyl.com/pedia2/blocks/flow/flow_advanced/Constants.html
but it seems old informations, and i don't have it under  Flow > Advanced in 3.0.
Is this block deprecated?   

10
Solved!
I used an actor as BG for a number of reason, and this was colliding all the whay with other actors causing my problems.
Should get some more sleep ...
[for moderators, feel free to delete this shameful post  :D]

11
Resolved Questions / Gravity messed up ... [SOLVED]
« on: July 04, 2013, 02:32:55 pm »
Hi guys, a newbie here.
I am finalizing my first game (a classic memory trivia, with matching cards), and i'm almost done.
Tiles are shown in a grid, and disappears when matched.
I want to add some spices, and decided to implement gravity (e.g. cards are block instead and fall one above the other). So i reenabled box2d physics (i used simple physics until now), add a floor actor, and try the scene.
Everything is broken now, tiles goes everywhere on the screen (some to the left, some to the right, some up!). I checked banal settings (gravity is 85.0, actors mode is normal, i tried all standard materials, but settings are too much and i don't really know where to look). Tiles are generated dynamically in a loop, so i believe they keep original actor type settings on creation.
Sorry i can't post whole game (too big), and it will be difficult to recreate the problem on a new game, because here default settings will work as expected.
Is there something like 'reset all game gravity settings to default' option?
Any hint on where to look to fix problem?
i use Stencyl 3.0

Pages: 1