プレイ日記
Scientist Speedy1101
I would like to get past the borders. What lines should I comment out?
5そうだね
プレイ済み
返信[1]
親投稿
SıмΞоп SimeonW
That's a good question, and the answer would be to comment out the MAPCOLLIDE() function, make it always return 0... but the raycasting engine then tries to look for data outside the MAP%[Y,X] bounds giving an error, I tried approaching it differently, the only solution is to modify (fix) the entire raycasting engine to check if map data is in bounds. I am disappointed the dev didnt do this 1st.
0そうだね
プレイ済み
返信[2]
親投稿
SıмΞоп SimeonW
So this engine is very difficult to break into, because it cannot render inside-out blocks, since it really doesn't need to, considering the game file already handles not seeing behind walls. The solution gets more complicated, you'd have to replace each RAYCAST X,Y occurrence with MAX(0,MIN(X,MAPWIDTH%-1)),MAX(0,MIN(Y,MAPHEIGHT%-1)) Soon enough you will have completely rebuilt the raycast engine.
0そうだね
プレイ済み
返信[3]
親投稿
Scientist Speedy1101
I'll try that.
0そうだね
プレイ済み
返信[4]
親投稿
JCOOL marbleman2005
sorry to say it, but any key?
0そうだね
プレイ済み
返信[5]
親投稿
Scientist Speedy1101
You can find it on the smilebasicsource website. It is one of the most popular games so you'll immediately find it after clicking "submissions".
0そうだね
プレイ済み
返信[6]
親投稿
JCOOL marbleman2005
ok I will
0そうだね
プレイ済み
返信[7]
親投稿
Scientist Speedy1101
>>Simon (sorry, couldn't find the funny symbol) Could you post a screenshot of the file where you change raycast x,y?
1そうだね
プレイ済み
返信[8]
親投稿
Scientist Speedy1101
Still haven't figured out what to change or add in the raycast library.
0そうだね
プレイ済み
返信[9]
親投稿
SıмΞоп SimeonW
My bad, here, I made so many tweaks I reupload it, play it then type the Konami Code to toggle the ability to walk through walls. (Up Up Down Down Left Right Left Right B A) I put a '@@@ before every modification I made, so search for '@@@ if you want to see what was tweaked, both in the game, and the engine files.
0そうだね
プレイ済み
返信[10]
親投稿
SıмΞоп SimeonW
The key is [D5WXC23E] It will stay up probably for a few months, once I run out of my max upload space I'll delete it, if you ever want to share it, you should upload it yourself, to ensure it stays up permanently. It's pretty fun, levels become significantly easier... for some odd reason, lol.
1そうだね
プレイ済み
返信[11]
親投稿
SıмΞоп SimeonW
I find it quite strange how the movement is inverted upon walking into a wall, also in some places the walls bend into some sort of hyperbola (screenshot), but everything fixes when you go back into bounds.
0そうだね
プレイ済み
返信[12]
親投稿
Scientist Speedy1101
That's so cool!
0そうだね
プレイ済み