• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 14:33
CEST 20:33
KST 03:33
  • 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
Code S RO12 Preview: GuMiho, Bunny, SHIN, ByuN3The Memories We Share - Facing the Final(?) GSL24Code S RO12 Preview: Cure, Zoun, Solar, Creator4[ASL19] Finals Preview: Daunting Task30[ASL19] Ro4 Recap : The Peak15
Community News
Code S RO12 Results + RO8 Groups (2025 Season 2)1Weekly Cups (May 19-25): Hindsight is 20/20?0DreamHack Dallas 2025 - Official Replay Pack8[BSL20] RO20 Group Stage2EWC 2025 Regional Qualifiers (May 28-June 1)27
StarCraft 2
General
Code S RO12 Results + RO8 Groups (2025 Season 2) CN community: Firefly accused of suspicious activities The Memories We Share - Facing the Final(?) GSL Karma, Domino Effect, and how it relates to SC2. How does the number of casters affect your enjoyment of esports?
Tourneys
EWC 2025 Regional Qualifiers (May 28-June 1) DreamHack Dallas 2025 Last Chance Qualifiers for OlimoLeague 2024 Winter [GSL 2025] Code S:Season 2 - RO12 - Group B [GSL 2025] Code S:Season 2 - RO12 - Group A
Strategy
Simple Questions Simple Answers [G] PvT Cheese: 13 Gate Proxy Robo
Custom Maps
[UMS] Zillion Zerglings
External Content
Mutation # 475 Hard Target Mutation # 474 Futile Resistance Mutation # 473 Cold is the Void Mutation # 472 Dead Heat
Brood War
General
BGH auto balance -> http://bghmmr.eu/ Will foreigners ever be able to challenge Koreans? Battle.net is not working BW General Discussion Which player typ excels at which race or match up?
Tourneys
[ASL19] Grand Finals [BSL 2v2] ProLeague Season 3 - Friday 21:00 CET [BSL20] RO20 Group D - Sunday 20:00 CET [BSL20] RO20 Group B - Saturday 20:00 CET
Strategy
[G] How to get started on ladder as a new Z player I am doing this better than progamers do.
Other Games
General Games
Monster Hunter Wilds Path of Exile Nintendo Switch Thread Beyond All Reason Battle Aces/David Kim RTS Megathread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
LiquidLegends to reintegrate into TL.net
Heroes of the Storm
Simple Questions, Simple Answers
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia TL Mafia Community Thread TL Mafia Plays: Diplomacy TL Mafia: Generative Agents Showdown Survivor II: The Amazon
Community
General
Things Aren’t Peaceful in Palestine US Politics Mega-thread Russo-Ukrainian War Thread All you football fans (soccer)! European Politico-economics QA Mega-thread
Fan Clubs
Serral Fan Club
Media & Entertainment
[Manga] One Piece Movie Discussion!
Sports
2024 - 2025 Football Thread Formula 1 Discussion NHL Playoffs 2024 NBA General Discussion
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread Cleaning My Mechanical Keyboard How to clean a TTe Thermaltake keyboard?
TL Community
The Automated Ban List TL.net Ten Commandments
Blogs
I was completely wrong ab…
jameswatts
Need Your Help/Advice
Glider
Trip to the Zoo
micronesia
Yes Sir! How Commanding Impr…
TrAiDoS
Poker
Nebuchad
Info SLEgma_12
SLEgma_12
SECOND COMMING
XenOsky
Customize Sidebar...

Website Feedback

Closed Threads



Active: 13395 users

Making a game (Gameplay, part 1)

Blogs > 0x64
Post a Reply
0x64
Profile Blog Joined September 2002
Finland4542 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
Finland4542 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
BSL Season 20
18:00
Round of 20 / Group B
Sziky vs Razz
Sziky vs StRyKeR
Sziky vs DragOn
Sziky vs Tech
Razz vs StRyKeR
Razz vs DragOn
Razz vs Tech
DragOn vs Tech
StRyKeR vs DragOn
StRyKeR vs Tech
LiquipediaDiscussion
Road to EWC
16:00
Europe Closed Qualifiers Day 1
CranKy Ducklings977
Fuzer 415
kabyraGe 271
EnkiAlexander 217
BRAT_OK 184
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Fuzer 415
BRAT_OK 184
Rex 139
StarCraft: Brood War
Britney 31124
Calm 5092
Rain 2730
Dewaltoss 121
ZZZero.O 109
Trikslyr51
Rock 41
sSak 41
Movie 39
GoRush 20
[ Show more ]
Sacsri 19
Backho 14
Shine 12
yabsab 8
Dota 2
Gorgc9006
qojqva2582
Dendi2095
LuMiX1
League of Legends
JimRising 848
Counter-Strike
Foxcn458
flusha383
Heroes of the Storm
Khaldor763
Liquid`Hasu601
Other Games
Grubby2248
FrodaN1904
Hui .164
Has155
KnowMe35
Organizations
Other Games
gamesdonequick891
BasetradeTV25
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 20 non-featured ]
StarCraft 2
• StrangeGG 121
• printf 69
• Kozan
• Migwel
• AfreecaTV YouTube
• sooper7s
• intothetv
• IndyKCrew
• LaughNgamezSOOP
StarCraft: Brood War
• blackmanpl 25
• 3DClanTV 6
• Michael_bg 4
• FirePhoenix3
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• C_a_k_e 2869
• WagamamaTV674
League of Legends
• Shiphtur618
Other Games
• imaqtpie1191
Upcoming Events
Online Event
9h 28m
Clem vs ShoWTimE
herO vs MaxPax
Road to EWC
14h 28m
Road to EWC
21h 28m
BSL Season 20
23h 28m
Bonyth vs Doodle
Bonyth vs izu
Bonyth vs MadiNho
Bonyth vs TerrOr
MadiNho vs TerrOr
Doodle vs izu
Doodle vs MadiNho
Doodle vs TerrOr
Replay Cast
2 days
Replay Cast
2 days
Bellum Gens Elite
3 days
The PondCast
4 days
Bellum Gens Elite
4 days
Replay Cast
5 days
[ Show More ]
Bellum Gens Elite
5 days
Replay Cast
6 days
CranKy Ducklings
6 days
SC Evo League
6 days
Bellum Gens Elite
6 days
Liquipedia Results

Completed

Proleague 2025-05-28
DreamHack Dallas 2025
Calamity Stars S2

Ongoing

JPL Season 2
BSL 2v2 Season 3
BSL Season 20
KCM Race Survival 2025 Season 2
NPSL S3
Rose Open S1
CSL Season 17: Qualifier 1
2025 GSL S2
Heroes 10 EU
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
ECL Season 49: Europe
BLAST Rivals Spring 2025
MESA Nomadic Masters
CCT Season 2 Global Finals
IEM Melbourne 2025
YaLLa Compass Qatar 2025
PGL Bucharest 2025
BLAST Open Spring 2025

Upcoming

CSL Season 17: Qualifier 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
CSLPRO Last Chance 2025
CSLAN 2025
K-Championship
SEL Season 2 Championship
Esports World Cup 2025
HSC XXVII
Championship of Russia 2025
Bellum Gens Elite Stara Zagora 2025
BLAST Bounty Fall Qual
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 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.