Author |
Message |
Forum: Resources Topic: Optimized Main Loop, Tizela |
Tizela |
Posted: Sat Aug 18, 2007 1:30 am
|
|
Replies: 25 Views: 10220
|
Hehe, I'll see what I'll put together. I'll post it around the <EDIT> 24th. I'm way too stupid for my own good. </EDIT>. |
|
![](images/spacer.gif) |
Forum: Resources Topic: Optimized Main Loop, Tizela |
Tizela |
Posted: Thu Aug 16, 2007 12:00 am
|
|
Replies: 25 Views: 10220
|
Thats all in how you load them. My game will use maps more like regions, large exteriorcells so I only load what I need to see anyway basiclly. |
|
![](images/spacer.gif) |
Forum: Resources Topic: Optimized Main Loop, Tizela |
Tizela |
Posted: Wed Aug 15, 2007 11:19 pm
|
|
Replies: 25 Views: 10220
|
Your thinking of something like this. Though you do no't want to check all 8 tiles, since its not supposed to leak at corners. sub filltiles(x,y, filltile,seedtile) If seedtile = GetTile(x, y) Then ChangeTile x, y, fill Call filltiles(x - 1, y, filltile,seedtile) Call filltiles(x + 1, y, filltile,se... |
|
![](images/spacer.gif) |
Forum: Resources Topic: Optimized Main Loop, Tizela |
Tizela |
Posted: Wed Aug 15, 2007 9:25 pm
|
|
Replies: 25 Views: 10220
|
Hehe, sure, but if you want to use line scans methods the code gets slightly more complex, but line scan methods uses far less levels of recussion than a pixel scan method. And I did a line scan function for my visual basic mapeditor I could post. |
|
![](images/spacer.gif) |
Forum: Resources Topic: Optimized Main Loop, Tizela |
Tizela |
Posted: Wed Aug 15, 2007 9:05 pm
|
|
Replies: 25 Views: 10220
|
Thanks a bunch. I'll add a bit more optimazation and feature tutorials later for fun. Think I'll go for a "paint style fill tool" for the mapeditor next if there isn't a tutorial for that already. |
|
![](images/spacer.gif) |
Forum: Resources Topic: Optimized Main Loop, Tizela |
Tizela |
Posted: Wed Aug 15, 2007 8:48 pm
|
|
Replies: 25 Views: 10220
|
I saw there were some other guy that did this, mine might be better, migth not. Also I havn't really looked through the Mirage Engine Source that much so this might not be complete but anyone knowing what I'm talking about should easily get this to work. Add this under any global scope Public Online... |
|
![](images/spacer.gif) |
Forum: General Topic: Seamless/Scrolling Maps |
Tizela |
Posted: Sun Feb 25, 2007 5:37 pm
|
|
Replies: 261 Views: 17321
|
William I'll add that to your engine. , SÃ¥g att du var svensk by the way. |
|
![](images/spacer.gif) |
Forum: General Topic: Hello |
Tizela |
Posted: Sun Feb 25, 2007 7:22 am
|
|
Replies: 252 Views: 17514
|
Actually he not only run like crazy, he (after I partially added physX), now falls to infinity. Pretty funny, you can use WASD, to propel him too, kind like if he wore a jetpack or something. |
|
![](images/spacer.gif) |
Forum: General Topic: Hello |
Tizela |
Posted: Sun Feb 25, 2007 4:01 am
|
|
Replies: 252 Views: 17514
|
Back, been a few years. Started off my programming career here, and it feels like its time to give you guys what you gave me, damn much. Might make a bunch of tutorials or work on some project that I'll release open source. Making a C++ 3d mmorpg along with Grim, but c++ can be a pain and relaxing w... |
|
![](images/spacer.gif) |
Sort by: |