Fullerene Graphs?

Get help using Construct 2

Post » Mon Oct 21, 2013 4:52 pm

Is it possible to make a Fullerene Graph(Hexagon Graph) in Construct 2? I've been messing with resizing and/or stretching(openGL Effect)objects. But, clearly this isn't what I should be using to get my desired effect. Does anybody know how to do this? Or know of somewhere for me to start possibly? Any suggestions welcome.
B
8
S
2
Posts: 23
Reputation: 621

Post » Tue Oct 22, 2013 6:57 am

@JimmyTHicks. Ok I had to go and study up the mathematics. Provided more questions than answers. What are you wanting to do with them? Are you wanting to navigate through them? Are you wanting to just have them as a background? Are you needing them to be interactive tile pieces. Elaborate please.
B
13
S
4
Posts: 67
Reputation: 1,270

Post » Tue Oct 22, 2013 10:32 am

http://www.scirra.com/forum/plugin-canvas_topic46006.html
This could be what you are looking for. (ofc you still have to calculate the length of lines and angles)
Visual Novel 'Engine' in 100 Events
if you ever have to choose between buying Construct 2 on scirra.com or on Steam, read this: Review
B
22
S
9
G
1
Posts: 788
Reputation: 3,788

Post » Tue Oct 29, 2013 7:16 pm

@AngelEyes
I'm simply using it for displaying stats(there happens to be six). It doesn't need to be interacted with aside from positioning it on the screen when the player opens their Status Menu(operated by a flag), it does not need to be interacted with.
   I'll elaborate on what I mean by Fullerene(as I may have used the wrong nomenclature).
   There will be a large hexagon, with a smaller, semi-transparent hexagon fixed at its center.
   Each vertex of the larger hexagon will correspond with one of the six player stats(Might, Focus, Dexterity, Fitness, Nerve and Fate), and based on these stats, the corresponding vertex of the smaller hexagon will be stretch toward the outer edge of the larger hexagon.
   This will create a polygon that reflects the players current stats.
Hopefully that wasn't too hard to follow, let me know if further(or clearer) explanation is needed.
B
8
S
2
Posts: 23
Reputation: 621

Post » Tue Oct 29, 2013 9:29 pm

@JimmyTHicks, that seems a little easier, but still not sure if I am getting it 100%. Are you wanting the small hexagon to animate larger?

Put this together to see if it helps
B
13
S
4
Posts: 67
Reputation: 1,270

Post » Tue Oct 29, 2013 9:45 pm

this

result

as I said, canvas plugin
edit: when creating the sprites, paste them onto the canvas and destroy them for better performancemindfaQ2013-10-29 21:52:47
Visual Novel 'Engine' in 100 Events
if you ever have to choose between buying Construct 2 on scirra.com or on Steam, read this: Review
B
22
S
9
G
1
Posts: 788
Reputation: 3,788

Post » Tue Oct 29, 2013 10:30 pm

@AngelEyes
Not exactly, I want the smaller hexagon to resize itself based on the players stats. Its(the smaller hexagons) vertex are stretched from the center point based on their corresponding value. The larger hexagon is mainly for show.

@mindfaQ
That is what I had in mind, yes.

Many thanks, I've always been super fond of these graphs in games for some reason. Something too cool about getting a visual representations of your progress.
B
8
S
2
Posts: 23
Reputation: 621


Return to How do I....?

Who is online

Users browsing this forum: Artcadev, brunopalermo, Euduardo, Jackriduk and 29 guests