Your C2 tests

Show us your completed creations made in Construct 2

Post » Wed Apr 13, 2011 12:48 pm

Works fine but everything moves agonisingly slowly. Was that intended?

Tested on ipad 4.2.1
B
3
G
1
Posts: 10
Reputation: 545

Post » Wed Apr 13, 2011 6:17 pm

that may be partly my fault, and partly the browser.

there are no 'speed' definitions in c2 right now. or i am not smart enough to find them, so i'm moving objects by incrementing their x/y values.

if there's a better way, please reprimand me immediately...lol.
B
52
S
17
G
15
Posts: 1,029
Reputation: 26,339

Post » Wed Apr 13, 2011 7:18 pm

iPads (and mobile devices in general) don't seem to have very fast Javascipt or HTML5 canvases yet. The problem is probably partly that you're running on an iPad.

Release 32.2 has a real delta-time, where supported, which should help - if you use dt in your movements, it keeps going at the same speed when the framerate struggles, rather than going in to slow-mo.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Wed Apr 13, 2011 8:00 pm

http://dl.dropbox.com/u/26111849/construct/index.html

here is my first try with construt , just trying to figure out how things work.

right click pick the head , left click drop it and hold down to shoot :)
B
9
S
1
G
2
Posts: 10
Reputation: 1,685

Post » Wed Apr 13, 2011 8:45 pm

[quote="Ashley":1dhqsl8b]
Release 32.2 has a real delta-time, where supported, which should help - if you use dt in your movements, it keeps going at the same speed when the framerate struggles, rather than going in to slow-mo.[/quote:1dhqsl8b]

thanks ash,

i guess i'll have to learn how to use delta time...lol. is it described in the wiki?
B
52
S
17
G
15
Posts: 1,029
Reputation: 26,339

Post » Wed Apr 13, 2011 9:23 pm

It's described on the 0.x wiki, but note the C2 expression is dt (standing for delta-time) rather than the 0.x timedelta.
Scirra Founder
B
359
S
214
G
72
Posts: 22,952
Reputation: 178,600

Post » Wed Apr 13, 2011 11:09 pm

[url:2m6c2y5c]http://www.wethesqueemish.com/construct/CarTest[/url:2m6c2y5c]

Here's my first C2 test. Nothing terribly exciting, got a few bugs. But it's a start :)
B
10
S
4
G
5
Posts: 136
Reputation: 2,977

Post » Wed Apr 13, 2011 11:28 pm

[quote="Ashley":2gfgq4m7]It's described on the 0.x wiki, but note the C2 expression is dt (standing for delta-time) rather than the 0.x timedelta.[/quote:2gfgq4m7]

thank you sir.

i'll get right on that. hope i can figure it out.
B
52
S
17
G
15
Posts: 1,029
Reputation: 26,339

Post » Wed Apr 13, 2011 11:31 pm

[quote="Squeemish":tse3sp3s]
Here's my first C2 test. Nothing terribly exciting, got a few bugs. But it's a start :)[/quote:tse3sp3s]

interesting mvt mechanic. are you using lerp for that?
B
52
S
17
G
15
Posts: 1,029
Reputation: 26,339

Post » Wed Apr 13, 2011 11:36 pm

[quote:zt0ofcbh]interesting mvt mechanic. are you using lerp for that?[/quote:zt0ofcbh]

No, I've got a waypoint that moves to where you click or touch and the car always turns towards it.

Then I just set it to move forward.
B
10
S
4
G
5
Posts: 136
Reputation: 2,977

PreviousNext

Return to Completed Creations

Who is online

Users browsing this forum: No registered users and 7 guests