Author |
Message |
Forum: General Topic: Converter from old maps to new |
Erik |
Posted: Wed Jun 25, 2008 11:36 pm
|
|
Replies: 19 Views: 6939
|
Grr.. you guys aren't reading what I said. I said I did a straight load->save. I didn't add anything. It increased in size from a straight memory load and a memory save with no changes, so I know there's something wrong with that part. Adding the new layers is the next part I have to fix, but first ... |
|
|
Forum: General Topic: Converter from old maps to new |
Erik |
Posted: Wed Jun 25, 2008 9:40 pm
|
|
Replies: 19 Views: 6939
|
I originally had a zero there, but after seeing grim's tutorial, I though it might've been necessary. When they are zeros and everything else is default, it still goes from 4.56MB to 4.62MB. |
|
|
Forum: General Topic: Converter from old maps to new |
Erik |
Posted: Wed Jun 25, 2008 8:52 pm
|
|
Replies: 19 Views: 6939
|
Yup. I did test it, and it doesn't work. The increase in size was from a straight conversion from old->old with no extra changes, just the same stuff. I made sure to not change the recs or anything. I basically loaded it into memory and saved it again, but the folder size went from 4.56MB to 4.62MB ... |
|
|
Forum: General Topic: Converter from old maps to new |
Erik |
Posted: Wed Jun 25, 2008 12:29 pm
|
|
Replies: 19 Views: 6939
|
I've been working on adding some more layers lately, and I can't seem to get a converter correctly. I've seen the one posted by grim and messed around with it, but I haven't had much luck with that one so I went back to the one I made. Old TileRec and MapRec: Type OldTileRec Ground As Integer Mask A... |
|
|
Forum: General Topic: bltTransparent |
Erik |
Posted: Thu Sep 27, 2007 11:47 pm
|
|
Replies: 21 Views: 6686
|
I'm still curious as to why people are blitting into many picboxes -- it's much easier to just make a formula to blit all the items into one picbox, and making the entire picbox clickable by dividing sections up into 32 x 32 boxes and making an array for the item numbers.. Hmm. Maybe I should make a... |
|
|
Forum: General Topic: MySQL Dump |
Erik |
Posted: Sat Jun 02, 2007 3:07 am
|
|
Replies: 19 Views: 6294
|
If you need a guide to Apache / PHP / MySQL / CGI then go HERE (http://ricocheting.com/server/).
PS: If you use this guide, don't forget to change everything to your drive. (In their tutorial, they used E:\; it's usually C:\.) |
|
|
Forum: General Topic: Nothing is being loaded. |
Erik |
Posted: Sat May 26, 2007 3:11 am
|
|
Replies: 66 Views: 25208
|
Ahh, yeah. This happened to me once before as well.. I can't remember what the problem was. I think it had to do with the maps on the client and server. I deleted them all, and I think it fixes it as odd as it may seem. This at least fixed my earlier problem. I also had this happen to me once after ... |
|
|
Forum: General Topic: MySQL Dump |
Erik |
Posted: Sat May 26, 2007 3:08 am
|
|
Replies: 19 Views: 6294
|
There's an online one that you could use.. it's called phpMyAdmin, and you set it up on your localhost. You can edit MySql tables and such with it, so it's really nice to have. Website Address: http://www.phpmyadmin.net/home_page/index.php PS: If you already haven't noticed, you must have PHP instal... |
|
|
Forum: General Topic: FPS Cap (Tutorial / Question [at the bottom]) |
Erik |
Posted: Tue May 22, 2007 9:25 pm
|
|
Replies: 20 Views: 6946
|
The upper part of the post is just a section explaining how to unlimit how many times the GameLoop sub is allowed to do its events, and instead just limit things that need to be limited. Now, graphical wise.. yes, there's a big difference in a player walking 1 pixel per ProcessMovement(), or 8. The ... |
|
|
Forum: General Topic: FPS Cap (Tutorial / Question [at the bottom]) |
Erik |
Posted: Tue May 22, 2007 1:25 am
|
|
Replies: 20 Views: 6946
|
First and foremost, I'm not sure where this should have gone, so I placed it in the General Chit Chat section. It's basically an optimization tutorial, but also a question, so I wasn't sure... There is an FPS cap over the entire client-side MS engine, in the GameLoop Sub. Why the whole GameLoop? ' L... |
|
|
Forum: Resources Topic: BltPlayer() |
Erik |
Posted: Fri Mar 16, 2007 8:47 pm
|
|
Replies: 23 Views: 10941
|
I know what you're saying, but it makes it look worse in my opinion. 32 x 32 can't get very perspective, I don't believe.
Unless you have many more layers, and a hell of some kind of lighting system, it's not going to look very "real". |
|
|
Forum: Resources Topic: BltPlayer() |
Erik |
Posted: Fri Mar 16, 2007 8:30 pm
|
|
Replies: 23 Views: 10941
|
I'm not going to argue with you, I understand your perspective, and I respect it, but I'm just simply stating that it's not neccessary and it can mess people up if they think that they've calculated blitting wrong. Now please, take into consideration my effort and respect me. This can be taken as a ... |
|
|
Forum: Resources Topic: BltPlayer() |
Erik |
Posted: Fri Mar 16, 2007 8:14 pm
|
|
Replies: 23 Views: 10941
|
I know that the character is 32 x 32.. it's being blitted in a 32 x 32 square, but the character... nevermind. Lol. Call it what you may, but if someone's wondering why that's happening -- this is the reason. Also: Some mappers seem to just randomly (and sometimes accidentally) use fringe instead of... |
|
|
Forum: Resources Topic: BltPlayer() |
Erik |
Posted: Fri Mar 16, 2007 11:09 am
|
|
Replies: 23 Views: 10941
|
Well, if you're using 32 x 32 tiles, then a character can be as tall as 32 x 32. If the player is moved up 4 pixels, it effectively makes him or her 32 x 36, reaching up into the next tile a bit. When walking one tile lower than fringe, the head of the character will be cut short a bit, and if you'r... |
|
|
Forum: Resources Topic: BltPlayer() |
Erik |
Posted: Fri Mar 16, 2007 5:51 am
|
|
Replies: 23 Views: 10941
|
[ Client Side Only ] In a blank MS, BltPlayer has a Y coordinate that gets set as "GetPlayerX(Index) * PIC_X + Player(index) - 4" y = GetPlayerY(index) * PIC_Y + Player(index).YOffset - 4 It shouldn't be - 4 because if it is, the character gets blitting 4 pixels above where... |
|
|
Forum: Resources Topic: Weather System |
Erik |
Posted: Mon Mar 12, 2007 10:37 am
|
|
Replies: 55 Views: 27032
|
You forgot to include the DropRainRec...
Code: Type DropRainRec x As Long y As Long Randomized As Boolean Speed As Byte End Type |
|
|
Forum: Resources Topic: The darned ALT key... |
Erik |
Posted: Tue Nov 28, 2006 12:50 pm
|
|
Replies: 18 Views: 6879
|
Well.. how do I remove the menu other than taking out the entire control box? |
|
|
Forum: Resources Topic: The darned ALT key... |
Erik |
Posted: Tue Nov 28, 2006 3:43 am
|
|
Replies: 18 Views: 6879
|
Okay, now.. there's this little key in the bottom left hand side of your keyboard, beside the space bar named the ALT key. This little key likes to "freeze" your game when pressed by opening a menu on the top left of your screen. If you've taken out the controls (eg: Minimize, Maximize / R... |
|
|
Forum: Show Off Topic: Some tree's i made |
Erik |
Posted: Mon Aug 14, 2006 8:28 pm
|
|
Replies: 24 Views: 10445
|
I like 'em all! |
|
|
Sort by: |