• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 08:29
CEST 14:29
KST 21:29
  • 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
[ASL19] Finals Recap: Standing Tall2HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0TL Team Map Contest #5: Presented by Monster Energy6
Community News
Flash Announces Retirement From ASL18Weekly Cups (June 23-29): Reynor in world title form?12FEL Cracov 2025 (July 27) - $8000 live event16Esports World Cup 2025 - Final Player Roster14Weekly Cups (June 16-22): Clem strikes back1
StarCraft 2
General
The SCII GOAT: A statistical Evaluation What is Lactobacillus used for? Weekly Cups (June 23-29): Reynor in world title form? StarCraft Mass Recall: SC1 campaigns on SC2 thread How does the number of casters affect your enjoyment of esports?
Tourneys
FEL Cracov 2025 (July 27) - $8000 live event HomeStory Cup 27 (June 27-29) WardiTV Mondays SOOPer7s Showmatches 2025 $200 Biweekly - StarCraft Evolution League #1
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome Mutation # 478 Instant Karma Mutation # 477 Slow and Steady
Brood War
General
[ASL19] Finals Recap: Standing Tall Flash Announces Retirement From ASL ASL20 Preliminary Maps BW General Discussion BGH Auto Balance -> http://bghmmr.eu/
Tourneys
[Megathread] Daily Proleagues [BSL20] GosuLeague RO16 - Tue & Wed 20:00+CET The Casual Games of the Week Thread [BSL20] ProLeague LB Final - Saturday 20:00 CET
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Path of Exile What do you want from future RTS games? Beyond All Reason
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
Things Aren’t Peaceful in Palestine US Politics Mega-thread Trading/Investing Thread Stop Killing Games - European Citizens Initiative Russo-Ukrainian War Thread
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread Korean Music Discussion
Sports
2024 - 2025 Football Thread NBA General Discussion Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
from making sc maps to makin…
Husyelt
Blog #2
tankgirl
Game Sound vs. Music: The Im…
TrAiDoS
StarCraft improvement
iopq
Heero Yuy & the Tax…
KrillinFromwales
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 676 users

Making a game (Gameplay, part 1)

Blogs > 0x64
Post a Reply
0x64
Profile Blog Joined September 2002
Finland4545 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
Finland4545 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
Next event in 3h 31m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Harstem 294
RotterdaM 239
ForJumy 40
StarCraft: Brood War
Rain 5857
Sea 5008
Larva 638
EffOrt 509
Mini 382
Pusan 341
BeSt 317
Stork 316
Zeus 261
Last 205
[ Show more ]
Mind 152
ZerO 138
Snow 128
Hyun 116
Rush 89
Light 74
hero 58
JYJ44
Aegong 43
Movie 29
Sharp 22
sSak 16
NaDa 15
Barracks 11
Noble 11
IntoTheRainbow 9
scan(afreeca) 9
SilentControl 7
Icarus 7
ajuk12(nOOB) 7
HiyA 6
Hm[arnc] 2
Britney 0
Stormgate
NightEnD13
Dota 2
Gorgc4210
qojqva1665
BananaSlamJamma537
XcaliburYe421
febbydoto6
League of Legends
singsing2095
Counter-Strike
x6flipin619
markeloff71
Super Smash Bros
Mew2King193
Westballz10
Heroes of the Storm
Khaldor168
Other Games
B2W.Neo756
DeMusliM501
Fuzer 445
hiko274
Pyrionflax249
XaKoH 248
crisheroes225
SortOf87
ArmadaUGS41
ZerO(Twitch)8
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• StrangeGG 44
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• iopq 3
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 1057
Upcoming Events
uThermal 2v2 Circuit
3h 31m
OSC
6h 31m
Replay Cast
11h 31m
The PondCast
21h 31m
RSL Revival
21h 31m
ByuN vs Classic
Clem vs Cham
WardiTV European League
1d 3h
Replay Cast
1d 11h
RSL Revival
1d 21h
herO vs SHIN
Reynor vs Cure
WardiTV European League
2 days
FEL
2 days
[ Show More ]
Korean StarCraft League
2 days
CranKy Ducklings
2 days
RSL Revival
2 days
FEL
3 days
Sparkling Tuna Cup
3 days
RSL Revival
3 days
FEL
3 days
BSL: ProLeague
4 days
Dewalt vs Bonyth
Replay Cast
5 days
Replay Cast
5 days
The PondCast
6 days
Liquipedia Results

Completed

Proleague 2025-06-28
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL 2v2 Season 3
BSL Season 20
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Championship of Russia 2025
RSL Revival: Season 1
Murky Cup #2
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025
YaLLa Compass Qatar 2025

Upcoming

CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
K-Championship
uThermal 2v2 Main Event
SEL Season 2 Championship
FEL Cracov 2025
Esports World Cup 2025
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
FISSURE Playground #1
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.