Top down template/example

Post your own tutorials, guides and demos.

Post » Sat Aug 03, 2013 10:38 pm

Hello everyone!
I've put together this for a game, and I thought that I'd share it with the community, it is a basic top down game with correct line of sight(cant see through walls or behind you) somewhat of a day/night cycle, correct lighting and camera rotation, and interaction with objects.

It's also easy to build more buildings!
Just add a wall with shadowcaster behaviour to the 'Shadows' layer. This creates opaque walls, also hit 'solid' to make sure you dont phase through them :P


How line of sight works

areas you cant see that is part of the terrain will lose saturation, any dynamic objects will disappear.

Need me to add something? Comment!

WASD to move, Q to snap to day, E to fade to night.
F to enter/exit car

https://www.dropbox.com/s/gzfdbeh2lopgs3o/Top%20down%20template.cap



EDIT: I've realised that the player can just phase through walls :PCrusade2013-08-03 22:45:02
B
4
S
1
Posts: 14
Reputation: 430

Post » Sat Aug 03, 2013 11:51 pm

Wow that looks nice Thanks for sharing!Jayjay2013-08-03 23:51:56
"Construct 4 lets YOU make advanced games! (but not play them)" Construct Classic - Examples Kit Dropbox is a pile of trash and if you need my old files PM me! :)
B
121
S
41
G
17
Posts: 2,217
Reputation: 19,696

Post » Sun Aug 04, 2013 9:27 am

No problem, I solved a bunch of problems with lighting and whatnot and I felt I needed to share :P
B
4
S
1
Posts: 14
Reputation: 430

Post » Sun Aug 04, 2013 12:28 pm

Looks awesome, where do I sign up? :)

~Sol
Tired of crappy file hosts that are crappy? Get DROPBOX - https://db.tt/uwjysXJF
Moderator
B
83
S
34
G
40
Posts: 3,032
Reputation: 30,474

Post » Sat Sep 28, 2013 10:09 pm

Do you have the capx file? I can't open your cap
Check out my games on Google Play:
BEAST ATTACK (1,000,000+ downloads!)
ZOMBIE BASH (Android) (Launched Feb 17)
ZOMBIE BASH (iOS) (Launched March 17)
B
56
S
18
G
2
Posts: 440
Reputation: 5,640

Post » Sat Sep 28, 2013 10:23 pm

@jook00

This for Construct Classic not Construct2, therefore it isn't a .capx and will not work in C2.
If your vision so exceeds your ability, then look to something closer.
Moderator
B
134
S
30
G
86
Posts: 5,419
Reputation: 59,524


Return to Your tutorials & example files

Who is online

Users browsing this forum: No registered users and 4 guests