Spread Values

For questions about using Classic.

Post » Fri Feb 03, 2012 7:20 pm

not sure what you mean:
30+30+30+6+1+1+1+1=100

I think you mean you don't want it to show more than 6 across
in which case, is it just supposed to stack them up? or are there ones that mean more than 30? I've never played the game.

either way, I'd need more information to make it do something else, I was just giving an example of how to represent the numbers in that puyo form
Spriter Dev
B
88
S
21
G
12
Posts: 3,240
Reputation: 16,486

Post » Fri Feb 03, 2012 8:46 pm

There aren't suppose more than six. That what the other shapes are for (the star, moon, crown, and comet shaped puyos).
If you still have the mmf2 example, try setting the value to like 1000 or so.
If you played Dr Robotnik's Meanbeam Machine, its the same deal. It's engine use from Puyo's engine.

I can post a video or a screenshot.
VideoAzu2012-02-03 21:17:23
B
11
S
3
G
8
Posts: 473
Reputation: 4,569

Post » Fri Feb 03, 2012 11:15 pm

I'm not sure if you're asking for more help, but
any additional icons that represent higher numbers would use the same technique, just replacing the images, and the numbers with the higher numbers they represent
Spriter Dev
B
88
S
21
G
12
Posts: 3,240
Reputation: 16,486

Post » Sat Feb 04, 2012 12:03 am

I'll try that.
With more Icons, I could able to keep it from showing more than six?Azu2012-02-04 04:01:46
B
11
S
3
G
8
Posts: 473
Reputation: 4,569

Post » Sat Feb 04, 2012 3:54 pm

well as long as you have enough icons to reach the numbers you need
if you don't have em, and you still want to limit to 6, you can either put all of the icons in a family, let's say Red

then before each of the spawning actions, insert a condition like
System - Compare - Red.count < 6
----do all the spawning conditions and actions

and you can also clamp the values to keep them from reaching a high enough number that it spawns too many:

global('nuisancelevel')=clamp(global('nuisancelevel'),0,global('maxamount'))

also, if there's a pattern the numbers like there's 6 then 30, there would probably be a way to put all of the icon pictures as frames on the same sprite, and use one event, with correct conditions and expressions do do everything. this would require you to be fairly comfortable with math, and also that there be a useful pattern to the amounts each picture represents.lucid2012-02-04 15:58:29
Spriter Dev
B
88
S
21
G
12
Posts: 3,240
Reputation: 16,486

Post » Sun Feb 05, 2012 11:56 pm

So, I was playing with my first attempt and I managed to get them th spawn in sequence and I managed to get them to show based on the value, but there is still a issue.

http://dl.dropbox.com/u/32409323/nuisancePuyo.cap

= Red Puyo
* = Small Puyo


30 should = , but instead I get *****.

B
11
S
3
G
8
Posts: 473
Reputation: 4,569

Previous

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 6 guests