[SOLVED] How to draw bullets as sprites and more

Discussion and feedback on Construct 2

Post » Tue Jan 08, 2013 10:49 pm

Hi, Im brand new to C2 and I want to draw bullets as sprites at the bottom of the screen and it vary according to a variable called arrows. What is the correct way (fast way) to accomplish it ? Im afraid to use "Every Tick" event...

Second problem:
Im trying to build a game to my XPeriaPlay so I used mobile template but the screen not fit correctly. Whats the best resolution to fit to target more devices ? (simple way please)

Thanks in advance!
Vinians2013-01-09 14:42:19
Be nice with others and with yourself!
My musics: https://soundcloud.com/vinians
My C2 Forum:
http://nmbr.forumeiros.com/
My Site:
http://www.dicasebytes.com.br
B
21
S
5
G
6
Posts: 166
Reputation: 4,885

Post » Wed Jan 09, 2013 12:55 am

Hello Vinians. What are you looking for with these bullets? Do they spawn on a trigger, condition, or at certain time intervals? Is it just a counter for how much ammo? I can think of a few ways to do it, but I don't wanna suggest something way off from what you're working on!

Take care bro!
B
16
S
6
G
2
Posts: 152
Reputation: 3,764

Post » Wed Jan 09, 2013 1:36 am

Is it just a counter for how much ammo..
Be nice with others and with yourself!
My musics: https://soundcloud.com/vinians
My C2 Forum:
http://nmbr.forumeiros.com/
My Site:
http://www.dicasebytes.com.br
B
21
S
5
G
6
Posts: 166
Reputation: 4,885

Post » Wed Jan 09, 2013 2:31 pm

Example capx.

Please stick to one thread, don't multiply the same questions over the forums.

As you can see, it's not an "easy" one, you need to keep the UIDs of the sprites in some array or dictionary, helping this way to pick the correct sprite when removing ammo.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791

Post » Wed Jan 09, 2013 2:42 pm

Exactly what I need! Thanks for help!
About multiple post, was because I dont know if I'm allower to "UP" the post to avoid double post!
Be nice with others and with yourself!
My musics: https://soundcloud.com/vinians
My C2 Forum:
http://nmbr.forumeiros.com/
My Site:
http://www.dicasebytes.com.br
B
21
S
5
G
6
Posts: 166
Reputation: 4,885

Post » Wed Jan 09, 2013 7:20 pm

You can bump threads after 24 hours, that's the common netlabel in that case.
It's better to keep it to one thread rather than spreading all over the forums for people who use the search function.
New to Construct ? Where to start

Image Image
Image Image

Please attach a capx to any help request or bug report !
Moderator
B
247
S
85
G
40
Posts: 6,998
Reputation: 57,791


Return to Construct 2 General

Who is online

Users browsing this forum: newt and 8 guests