DescriptionHappy Halloween! It's time for a raycaster game! This is a survival game filled with skellingtons, explosions, and of course, cats. Find the key and escape the maze, and if you rescue a cat you may get a reward... but watch your back! You never know what may be lurking in the shadows...InstructionsControls:
Circle Pad - Move
X/B - Look up/down
L/R - Strafe
A - Throw bomb (hold to cook if unlocked)
Y - Open gate
D-Pad - Zoom mapNotesIncludes the first release of the raycasting library.
107 Comment(s)randoIntermediate ProgrammerI can make programs, but I still have trouble here and there. Programming StrengthThird YearMy account is over 3 years oldWebsiteAvatar TabooI didn't change my avatar for 180 daysWebsiteUh
SBAPI Information
QK4N3PZF is not available.
Now I can't check downloads :(HTV04Forum LeaderHiddenAchievementsThird YearMy account is over 3 years oldWebsiteIntermediate ProgrammerI can make programs, but I still have trouble here and there. Programming StrengthMust've been a manual fix for Virtual Buffalo.VakoreI was just messing around with this, and then I realized looking up/down affected the bomb's projectory. Neato, but then I tried seeing what would happen if I threw it higher than the wall. I expected it to bounce off like there was a taller invisible wall because, raycasting, but it went over and killed a cat. So then I tried throwing it ON the wall, by aligning myself with a strip of wall. I expected it to clip onto one of the sides, but NOPE, it went ON the wall.
I'm pretty impressed by the fact that you took the time to add that, despite the fact that most people wouldn't even bother trying. Let alone make look9ng up and down affect the bombs trajectory.HTV04Forum LeaderHiddenAchievementsThird YearMy account is over 3 years oldWebsiteIntermediate ProgrammerI can make programs, but I still have trouble here and there. Programming StrengthAw man I wish the ceiling update came out ;(((((((()((((h267Third YearMy account is over 3 years oldWebsiteAvatar TabooI didn't change my avatar for 180 daysWebsiteMinecraft Is Awesome!I love Minecraft!Express YourselfSame...DFrostExpert ProgrammerProgramming no longer gives me any trouble. Come to me for help, if you like!Programming StrengthI'm actually working on something like that. At the very most, you could probably get the quality of DOOM 1993. All you have to do is apply perspective to sprite slices. It could have true z-axis support. I am not promising anything, though.HTV04Forum LeaderHiddenAchievementsThird YearMy account is over 3 years oldWebsiteIntermediate ProgrammerI can make programs, but I still have trouble here and there. Programming StrengthHey calc, I saw your Twitter post showing Spooky Maze being ported to SB4.
Where are the c e l i n g s, calc?
W h e r e a r e t h e c e l i n g s ?DFrostExpert ProgrammerProgramming no longer gives me any trouble. Come to me for help, if you like!Programming StrengthI did not know where to go so I went here because it seemed most relevant. What would a 3d dimensional raycasting(the custom function, not the engine) command look like? I looked over the code and saw it used cos and sin to work.Would it use tan to apply to up and down?
this is a makeshift version:
DEF RAYCAST X, Y, Z, XANG, YANG OUT X2, Y2, Z2
C=FALSE
REPEAT
INC X2, COS(XANG)
INC Y2, SIN(XANG)
INC Z2, TAN(YANG)
IF X2>0 AND X2<W AND Y2>0 AND Y2<H AND Z2>0 AND Z2<D
UNTIL C==TRUE
would it work?RNGesusWow, this actually released 2 years ago. Time sure does fly by fast.SimeonScholarReceived for knowing a great deal about programming topicsAchievementsAmazing PageHiddenAchievementsDrawingI like to draw!HobbiesThe ceiling update is coming soon! Can't wait
https://miiverse.nintendo.net/posts/AYMHAAADAAB2V0ftgMJZSgHTV04Forum LeaderHiddenAchievementsThird YearMy account is over 3 years oldWebsiteIntermediate ProgrammerI can make programs, but I still have trouble here and there. Programming StrengthGotta love those ceilingsDFrostExpert ProgrammerProgramming no longer gives me any trouble. Come to me for help, if you like!Programming Strength*never came out*photonegativemickeyMinecraft Is Awesome!I love Minecraft!Express YourselfIntermediate ProgrammerI can make programs, but I still have trouble here and there. Programming StrengthVideo GamesI like to play video games!HobbiesHow do I use raycaster to4oo4Intermediate ProgrammerI can make programs, but I still have trouble here and there. Programming StrengthZelda Is Awesome!I love The Legend Of Zelda!Express YourselfVideo GamesI like to play video games!HobbiesVery fun, but quite hard, too.MorganGreat PageHiddenAchievementsSpring 2017 Contest Runner UpI placed 2nd in the SmileBASIC Source Spring 2017 Contest!Programming ContestDeep SleepHiddenWebsiteHere's a video talking about raycasting, it's very informative .
https://www.youtube.com/watch?v=zb6Eo1D6VW8MorganGreat PageHiddenAchievementsSpring 2017 Contest Runner UpI placed 2nd in the SmileBASIC Source Spring 2017 Contest!Programming ContestDeep SleepHiddenWebsiteRaycasting is a real trick that a lot of programmers used back in the time of the SNES.
Raycasting makes a 2D game, look 3D. (yes that's right, this game is not 3D, it only looks like that)
It's an amazing trick that a lot of programmers pulled off, some of these games became famous!
Have you heard of the game doom? or wolfenstin 3D? those games used raycasting.
It's pretty amazing if you think about it!fluffyofqweamI saw this on cat simulater XD or something on the home page! print "neat game"YolkaiHead AdminWon the "Technical Award" in the 4th Ogiri contest: http://smilebasic.com/en/ogiri4/
Judges’ Comment
“Wow! How did they do that!? That skeleton is so scary!”
This excellent game had all the judges amazed by the programmer’s otherworldly skills.
The sense of anticipation while wandering around the maze and the panic when being chased by the skeletons are pulled off perfectly.
With graphics this polished, we felt we had no choice but to give this game the Technical Award!
Amazing, no matter how many times you see it!
snail_Power UserQSP Contest 1 Contest ParticipantI participated in the first SmileBASIC Source QSP Contest!HelperReceived for being very helpful around SmileBASIC SourceAchievementsAmazing ContributorSomeone thinks I'm an awesome person who has done so much for the community!Achievements"Wow, calc, great moves! Keep it up. Proud of you."randomousOwnerRobotHiddenEaster EggsSecond YearMy account is over 2 years oldWebsiteDrawingI like to draw!HobbiesHe deserves all the praise he gets. Nice work calcmystman12First DayJoined on the very first day of SmileBASIC SourceWebsiteIntermediate ProgrammerI can make programs, but I still have trouble here and there. Programming StrengthDeep SleepHiddenWebsiteCongrats! Glad you ended up submitting it! I need to go back and play this again... I think last time I got to about room 5 or 6... The skeletons really do make things tense in the later levels!atm959Avatar TabooI didn't change my avatar for 180 daysWebsiteThird YearMy account is over 3 years oldWebsiteZelda Is Awesome!I love The Legend Of Zelda!Express YourselfCongratulations!linkzCongratulations to calc84maniac!ChangeVExpert ProgrammerProgramming no longer gives me any trouble. Come to me for help, if you like!Programming StrengthStaff Pick"Your program is one of our favorites!" - StaffAchievementsCongratulations!LohadLAmazing ContributorSomeone thinks I'm an awesome person who has done so much for the community!AchievementsStaff Pick"Your program is one of our favorites!" - StaffAchievementsPokemon Is Awesome!I love Pokemon!Express YourselfCongratulations calc! Now (if there's no exception) this going to become part of a standalone download title and EVERYONE on eshop, regardless of whether they bought SB or not, can play it!LacksApril Fool's 2017 Contest ParticipantI participated in the SmileBASIC Source April Fool's 2017 Contest!Programming ContestDeep SleepHiddenWebsiteBeginner ProgrammerI'm just starting out! I'm still trying to grasp the basics.Programming StrengthWay to go!HTV04Forum LeaderHiddenAchievementsThird YearMy account is over 3 years oldWebsiteIntermediate ProgrammerI can make programs, but I still have trouble here and there. Programming StrengthCongrats! No surprise that this ended up winning the Technical Award, as when you first look at it, you can already see that it surpasses what the developers thought SmileBASIC was capable of.h267Third YearMy account is over 3 years oldWebsiteAvatar TabooI didn't change my avatar for 180 daysWebsiteMinecraft Is Awesome!I love Minecraft!Express YourselfThis game may never be surpassed due to its incredible popularity.randomousOwnerRobotHiddenEaster EggsSecond YearMy account is over 2 years oldWebsiteDrawingI like to draw!HobbiesThat's OK, at least it's a good game and a great engine.ElzoBroFirst DayJoined on the very first day of SmileBASIC SourceWebsiteVideo GamesI like to play video games!HobbiesDrawingI like to draw!Hobbies^YolkaiHead Adminhttp://d.hatena.ne.jp/eidaht/20160111/1452514722
Library explanation in Japaneseatm959Avatar TabooI didn't change my avatar for 180 daysWebsiteThird YearMy account is over 3 years oldWebsiteZelda Is Awesome!I love The Legend Of Zelda!Express YourselfThis is awesome!!ShadowdarknessNeat programElzoBroFirst DayJoined on the very first day of SmileBASIC SourceWebsiteVideo GamesI like to play video games!HobbiesDrawingI like to draw!HobbiesI wonder if this game will ever be updated?12Me21Syntax HighlighterReceived for creating the code syntax highlighter on SBSNight PersonI like the quiet night and sleep late.Express Yourself[Insert message that's shown at the end of the 3D dungeon game for PTC]ElzoBroFirst DayJoined on the very first day of SmileBASIC SourceWebsiteVideo GamesI like to play video games!HobbiesDrawingI like to draw!HobbiesTHAT GAME ENDS!!! :O12Me21Syntax HighlighterReceived for creating the code syntax highlighter on SBSNight PersonI like the quiet night and sleep late.Express YourselfIt says something like "now it is your job to make this game better"12Me21Syntax HighlighterReceived for creating the code syntax highlighter on SBSNight PersonI like the quiet night and sleep late.Express Yourself"You are the one who is going reprogram this game to make it better"12Me21Syntax HighlighterReceived for creating the code syntax highlighter on SBSNight PersonI like the quiet night and sleep late.Express YourselfThis is amzing. The only problem I have is that turning it too slow. I end up walking backwards away from skeletons.xXAlbertoXxFun to playKomodoPokemon Is Awesome!I love Pokemon!Express YourselfDrawingI like to draw!HobbiesIntermediate ProgrammerI can make programs, but I still have trouble here and there. Programming StrengthVery good game,but if you ever do a update you should make it so you can take a sword from one of the skeletons. But agian AMAZING GAME keep it up!
1
2
3
DEF RAYCAST X, Y, Z, XANG, YANG OUT X2, Y2, Z2 C=FALSE REPEAT INC X2, COS(XANG) INC Y2, SIN(XANG) INC Z2, TAN(YANG) IF X2>0 AND X2<W AND Y2>0 AND Y2<H AND Z2>0 AND Z2<D UNTIL C==TRUE
would it work?print "neat game"