• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 21:51
CEST 03:51
KST 10:51
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
[ASL20] Ro8 Preview Pt2: Holding On7Maestros of the Game: Live Finals Preview (RO4)5TL.net Map Contest #21 - Finalists4Team TLMC #5: Vote to Decide Ladder Maps!0[ASL20] Ro8 Preview Pt1: Mile High15
Community News
5.0.15 Balance Patch Notes (Live version)65$2,500 WardiTV TL Map Contest Tournament 151Stellar Fest: StarCraft II returns to Canada11Weekly Cups (Sept 22-28): MaxPax double, Zerg wins, PTR12BSL Season 218
StarCraft 2
General
5.0.15 Balance Patch Notes (Live version) Stellar Fest: StarCraft II returns to Canada Had to smile :) 2024/25 Off-Season Roster Moves SC2 5.0.15 PTR Patch Notes + Sept 22nd update
Tourneys
$2,500 WardiTV TL Map Contest Tournament 15 Stellar Fest Sparkling Tuna Cup - Weekly Open Tournament LANified! 37: Groundswell, BYOC LAN, Nov 28-30 2025 Maestros of The Game—$20k event w/ live finals in Paris
Strategy
Custom Maps
External Content
Mutation # 493 Quick Killers Mutation # 492 Get Out More Mutation # 491 Night Drive Mutation # 490 Masters of Midnight
Brood War
General
[ASL20] Ask the mapmakers — Drop your questions BSL Season 21 Any rep analyzer that shows resources situation? RepMastered™: replay sharing and analyzer site [ASL20] Ro8 Preview Pt2: Holding On
Tourneys
[ASL20] Ro8 Day 4 Small VOD Thread 2.0 [ASL20] Ro8 Day 3 3D!Community Brood War Super Cup №3
Strategy
Current Meta I am doing this better than progamers do. Simple Questions, Simple Answers Cliff Jump Revisited (1 in a 1000 strategy)
Other Games
General Games
Nintendo Switch Thread Dawn of War IV Stormgate/Frost Giant Megathread Path of Exile Liquipedia App: Now Covering SC2 and Brood War!
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread
Community
General
US Politics Mega-thread The Games Industry And ATVI Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine Canadian Politics Mega-thread
Fan Clubs
The herO Fan Club! The Happy Fan Club!
Media & Entertainment
Anime Discussion Thread Movie Discussion! [Manga] One Piece
Sports
MLB/Baseball 2023 2024 - 2026 Football Thread Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
Recent Gifted Posts The Automated Ban List BarCraft in Tokyo Japan for ASL Season5 Final
Blogs
Mental Health In Esports: Wo…
TrAiDoS
[AI] Sorry, Chill, My Bad :…
Peanutsc
Try to reverse getting fired …
Garnet
[ASL20] Players bad at pi…
pullarius1
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1843 users

Making a game (Gameplay, part 1)

Blogs > 0x64
Post a Reply
0x64
Profile Blog Joined September 2002
Finland4569 Posts
June 05 2012 01:43 GMT
#1
The role of light.
We could resume our game to two basic mechanics which works together well.

The one I'll be covering in this post is the Light mechanics.
Later I will write about the chain physics and finally about the interaction between the two.

First let's look a quick video.



You can get the basic elements of lightning.
The campfire is a temp graphic but you get the idea.
You have torches that you can move and fixed light sources. They both can light each other as long as one is burning to begin with (Yeah, that's how we use the english, in our mother finland)

The second thing you can notice on the video is the green fog. The player can't pass it but it will fade out if the area is lit.

What you can't see on the video are the interection with monsters. You also don't see much of the real-time shadows but let's focus on the mechanics.
The light eater is a little monster that won't kill you, it will simply run toward the light and turn it off.
The Ghost will be scared of the lights but will hunt you down if you go in the dark.

That's the whole short update of this evening.

Level design is progressing.
28/48 levels done.

7 days to the deadline

Our skeleton (who doesn't care about lights) now has a walking animation

Now follow us at: http://www.facebook.com/DungeonsOfHerwood
And if you haven't read previous blogs, there are 5 more already written this week, check them out

Love to TL

****
Dump of assembler code from 0xffffffec to 0x64: End of assembler dump.
fabiano
Profile Blog Joined August 2009
Brazil4644 Posts
Last Edited: 2012-06-05 02:08:50
June 05 2012 02:08 GMT
#2
5/5 Amazing

Reminds me of A Link to the Past :D

edit: english :s
"When the geyser died, a probe came out" - SirJolt
BlackSheep142
Profile Joined May 2012
5 Posts
June 05 2012 03:25 GMT
#3
Hey, this is looking great! What language was it programmed in? It's nice to see unique games that don't consist of holding down a trigger button still being developed! (SC2 excluded obviously )
I just have two things I want to ask:
1. Is the (rather low at < 30 in the second part) framerate due to the video capture?
2. Is there a way to detach the update method from the draw method? This would make the game look nicer by improving framerates on computers that can handle it while keeping a constant game world update speed.
0x64
Profile Blog Joined September 2002
Finland4569 Posts
June 05 2012 10:22 GMT
#4
@Fabiano: Thanks It would be a success if it even reached to the anckle of ALttP

@BlackSheep142
Thanks! It's made in C# with the XNA api so it can run in Windows, XBox360 and Windows Phone with almost the same code.
1. The Video Capture on my 2 years old, low-end pc is sluggish and make the emulator frame rate drop. The emulator frame rate is lower than on the actual device (Lumia 800) where we are around 50-60, and drop to 30 only on the heaviest maps with lots of fogs and chains and bigger 3d models (Skeletons, Blind Guardians) which are not really low poly (around 1700) but at the same time if you have a map where you can see more than 2 monsters at the same time, it is so crouded that it looks bad anyway.

2. The update method has the game time as a parameter, this means that no matter the fps, the character will move the same speed. The lag you see is due to the videocapture sadly. It is a bit accentuated by the current model animation that is not played fully, it is under work. The model is also a temp model that will soon be replaced.
But good that you remind us about that the update and draw are connected, this should be investigated.

Here is the quote from the documentation:
Update and Draw are called at different rates depending on whether IsFixedTimeStep is true or false. If IsFixedTimeStep is false, Update and Draw will be called sequentially as often as possible. If IsFixedTimeStep is true, Update will be called at the interval specified in TargetElapsedTime, while Draw will continue to be called as often as possible.


So just by changing that one parameter we can fix this. I'll give it a try right away.
Dump of assembler code from 0xffffffec to 0x64: End of assembler dump.
Please log in or register to reply.
Live Events Refresh
Online Event
23:00
L4S: Americas
SteadfastSC354
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SteadfastSC 354
RuFF_SC2 90
Jaeyun 21
StarCraft: Brood War
NaDa 31
Icarus 2
Dota 2
monkeys_forever475
League of Legends
JimRising 398
Counter-Strike
Stewie2K731
Super Smash Bros
hungrybox416
ArmadaUGS36
Other Games
summit1g7911
Day[9].tv701
C9.Mang0332
Maynarde286
ViBE169
UpATreeSC108
NeuroSwarm78
Models14
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• Ler45
Other Games
• Scarra1006
• Day9tv701
Upcoming Events
Wardi Open
9h 10m
Online Event
15h 10m
Online Event
1d 9h
[BSL 2025] Weekly
1d 16h
Safe House 2
1d 16h
Sparkling Tuna Cup
2 days
BSL Team Wars
2 days
Team Bonyth vs Team Dewalt
Dewalt vs kogeT
JDConan vs Tarson
RaNgeD vs DragOn
StRyKeR vs Bonyth
Aeternum vs Hejek
Replay Cast
3 days
The PondCast
6 days
Liquipedia Results

Completed

KCM Race Survival 2025 Season 3
Maestros of the Game
HCC Europe

Ongoing

BSL 20 Team Wars
BSL 21 Points
ASL Season 20
CSL 2025 AUTUMN (S18)
Acropolis #4 - TS2
EC S1
ESL Pro League S22
Frag Blocktober 2025
Urban Riga Open #1
FERJEE Rush 2025
Birch Cup 2025
DraculaN #2
LanDaLan #3
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
IEM Cologne 2025

Upcoming

IPSL Winter 2025-26
SC4ALL: Brood War
BSL Season 21
BSL 21 Team A
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
WardiTV TLMC #15
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2025 TLnet. All Rights Reserved.