Energy/limiting number of objects

For questions about using Classic.

Post » Sun Sep 27, 2009 11:10 am

Hello everyone, I'm working on this game: http://www.youtube.com/watch?v=9FozGla_Brw - in the video you can see that by left clicking anywhere you spawn objects but I'm having real difficulty learning how to limit the number of objects you can spwan.

Does anyone know a way of allowing me to have an energy bar which gradually depletes as you add objects to the screen but when it is empty, it stops you being able to spawn the objects. Then, it gradually re-fills.

This is the only thing stopping me from cracking on with this game which I think is quite a cool idea.

Any help would be massivly appreciated!

Much love,
Mik
B
2
G
3
Posts: 28
Reputation: 906

Post » Sun Sep 27, 2009 11:47 am

u were able to do ALL OF THAT,, and u cant make an object variable? that was outrageously awesome, i cant help. hell of a game
B
2
G
3
Posts: 33
Reputation: 916

Post » Sun Sep 27, 2009 12:25 pm

Lol yeah my knowlage is weird and patchy, most of my training in construct is through just experimenting, just spent the last few months playing arround with it, and this is my first attempt at a project.

Thanks for the kudos, I can't figure out for the life of me how to do this though, was thining Time Delta but..wtf is time delta lol
B
2
G
3
Posts: 28
Reputation: 906

Post » Sun Sep 27, 2009 4:31 pm

[url:3rcme4e6]http://dl.getdropbox.com/u/1013446/objectmeter.cap[/url:3rcme4e6]
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Sun Sep 27, 2009 4:51 pm

[quote="lucid":1inrv1gb][url:1inrv1gb]http://dl.getdropbox.com/u/1013446/objectmeter.cap[/url:1inrv1gb][/quote:1inrv1gb]

You are awesome.
B
2
G
3
Posts: 28
Reputation: 906

Post » Sun Sep 27, 2009 6:15 pm

thank you
btw, someone was asking about another type of progress bar in chat,
and although this isn't exactly what they asked for, it's still kinda fun:
enjoy:
[url:1jt33418]http://dl.getdropbox.com/u/1013446/weirdbar.cap[/url:1jt33418]
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Sun Sep 27, 2009 7:13 pm

another weird type of bar from same chat question.

http://dl.getdropbox.com/u/1010927/life%20bar.cap
B
52
S
7
G
6
Posts: 1,945
Reputation: 7,610

Post » Sun Sep 27, 2009 8:50 pm

Don't forget about masks.
[url:39yiozaa]http://dl.getdropbox.com/u/666516/mask.cap[/url:39yiozaa]
Image Image
B
161
S
48
G
90
Posts: 7,356
Reputation: 66,767

Post » Sun Sep 27, 2009 9:03 pm

we should have compos for stuff like this
like, make the most outrageously elaborate and badass progress bar

points for style, technical achievement

it's already interesting with our basic quick examples

I'm curious to see how far it could go

or maybe just most badass UI

menu, or something

nevermind

forget I said anything
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Post » Sun Sep 27, 2009 9:58 pm

new version of energy bar at same link above

exe for older folks:
[url:19jpyxwi]http://dl.getdropbox.com/u/1013446/energybar.exe[/url:19jpyxwi]
Spriter Dev
B
87
S
21
G
12
Posts: 3,240
Reputation: 16,461

Next

Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 0 guests