• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 12:48
CEST 18:48
KST 01:48
  • 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 Tall9HomeStory 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 Hiatus From ASL62Weekly Cups (June 23-29): Reynor in world title form?13FEL Cracov 2025 (July 27) - $8000 live event21Esports World Cup 2025 - Final Player Roster16Weekly Cups (June 16-22): Clem strikes back1
StarCraft 2
General
Program: SC2 / XSplit / OBS Scene Switcher The SCII GOAT: A statistical Evaluation Statistics for vetoed/disliked maps Weekly Cups (June 23-29): Reynor in world title form? PiG Sty Festival #5: Playoffs Preview + Groups Recap
Tourneys
RSL: Revival, a new crowdfunded tournament series Sparkling Tuna Cup - Weekly Open Tournament WardiTV Mondays FEL Cracov 2025 (July 27) - $8000 live event Korean Starcraft League Week 77
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
Player “Jedi” cheat on CSL SC uni coach streams logging into betting site Flash Announces Hiatus From ASL Practice Partners (Official) ASL20 Preliminary Maps
Tourneys
The Casual Games of the Week Thread CSL Xiamen International Invitational [BSL20] Grand Finals - Sunday 20:00 CET [Megathread] Daily Proleagues
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Path of Exile Stormgate/Frost Giant Megathread Nintendo Switch Thread 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
Russo-Ukrainian War Thread Summer Games Done Quick 2025! US Politics Mega-thread Trading/Investing Thread Things Aren’t Peaceful in Palestine
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [\m/] Heavy Metal Thread
Sports
Formula 1 Discussion 2024 - 2025 Football Thread NBA General Discussion TeamLiquid Health and Fitness Initiative For 2023 NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
Blogs
Culture Clash in Video Games…
TrAiDoS
from making sc maps to makin…
Husyelt
Blog #2
tankgirl
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 670 users

Making a game (Gameplay, part 1)

Blogs > 0x64
Post a Reply
0x64
Profile Blog Joined September 2002
Finland4547 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
Finland4547 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
FEL
12:00
Cracov 2025: Qualifier #2
CranKy Ducklings562
IndyStarCraft 390
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
mouzHeroMarine 593
IndyStarCraft 390
Hui .275
MindelVK 32
StarCraft: Brood War
Calm 3360
Rain 3002
Shuttle 1288
Horang2 1034
Bisu 847
EffOrt 622
Stork 379
Mini 378
Hyuk 288
TY 270
[ Show more ]
GuemChi 189
Soma 159
hero 105
ToSsGirL 81
Barracks 79
Hyun 74
GoRush 68
sas.Sziky 46
PianO 41
Free 35
Terrorterran 21
HiyA 11
ivOry 6
Stormgate
BeoMulf153
Dota 2
qojqva3601
League of Legends
singsing2781
Dendi583
Counter-Strike
byalli237
kRYSTAL_53
edward49
Super Smash Bros
Mew2King77
Chillindude48
Westballz20
Heroes of the Storm
Khaldor876
Liquid`Hasu561
Other Games
Gorgc3550
FrodaN1622
KnowMe100
ArmadaUGS98
B2W.Neo1
Organizations
Other Games
gamesdonequick26372
EGCTV1422
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• Adnapsc2 19
• maralekos11
• OhrlRock 1
• IndyKCrew
• AfreecaTV YouTube
• sooper7s
• intothetv
• Kozan
• LaughNgamezSOOP
• Migwel
StarCraft: Brood War
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• C_a_k_e 3406
• Ler134
Other Games
• WagamamaTV446
• Shiphtur351
Upcoming Events
BSL: ProLeague
1h 13m
Dewalt vs Bonyth
Wardi Open
18h 13m
Monday Night Weeklies
23h 13m
Replay Cast
1d 7h
Sparkling Tuna Cup
1d 17h
WardiTV European League
1d 23h
PiGosaur Monday
2 days
The PondCast
2 days
WardiTV European League
2 days
Replay Cast
3 days
[ Show More ]
RSL Revival
3 days
ByuN vs SHIN
Clem vs Reynor
Replay Cast
4 days
RSL Revival
4 days
Classic vs Cure
FEL
4 days
RSL Revival
5 days
FEL
5 days
FEL
5 days
Sparkling Tuna Cup
6 days
RSL Revival
6 days
FEL
6 days
Liquipedia Results

Completed

BSL 2v2 Season 3
HSC XXVII
Heroes 10 EU

Ongoing

JPL Season 2
BSL Season 20
Acropolis #3
KCM Race Survival 2025 Season 2
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Jiahua Invitational
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

Upcoming

2025 ACS Season 2: Qualifier
CSLPRO Last Chance 2025
CSL Xiamen Invitational
2025 ACS Season 2
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.