This website works better with JavaScript.
Explore
Help
Sign In
learn-code-the-hard-way
/
raycaster
Watch
1
Star
0
Fork
You've already forked raycaster
0
Code
Issues
26
Pull Requests
Packages
Projects
Releases
2
Wiki
Activity
555
Commits
1
Branch
2
Tags
32 MiB
Tag:
Branch:
Tree:
ff7111b006
master
version-0.1
version-0.2
Branches
Tags
${ item.name }
Create tag
${ searchTerm }
Create branch
${ searchTerm }
from 'ff7111b006'
${ noResults }
Commit Graph
13 Commits (ff7111b0064774b716831dfb8d622297f4c04c33)
Author
SHA1
Message
Date
Zed A. Shaw
ff7111b006
Icons now work way better and don't have the the 'Rayview cuts icons' bug. It actually was a bug in the lel-guecs Sprite class that was using the TextureRect from the source sprite. Now its initialized with the framesize from the .json. This also uses the new guecs::Icon, but I have to fix that as it doesn't scale correctly.
Closes
#2
.
4 days ago
Zed A. Shaw
6f91533950
Fog of War now works fairly normally, but I think I'll have to do something so people don't live in the map. Probably something like hearing distance is increased because you're louder with a map out, and you can't see enemies on the map.
5 days ago
Zed A. Shaw
2997dc363b
FoW is now moved into lighting so light determines what's seen not player's last position. Not sure if I like that though.
5 days ago
Zed A. Shaw
d264760405
Fog of War works but it's in the wrong place and needs to be based on light.
7 days ago
Zed A. Shaw
aa72cfe4a4
Now have a working compass based directional player sprite in the map, but using the compass isn't going to work long term. Need to move that into the raycaster.cpp and get real degrees for facing direction.
1 week ago
Zed A. Shaw
3b81959aa9
Map now displays way better. The paper is gone for now.
1 week ago
Zed A. Shaw
0272ba8540
Trying a bit of color changes.
2 weeks ago
Zed A. Shaw
75646619b3
Map now displays and works, just need to refine the colors and the compass directions.
2 weeks ago
Zed A. Shaw
dd541ae59d
Ripped out the string based map and created a Matrix map drawing function.
2 weeks ago
Zed A. Shaw
efdb0cb119
Just use get_if here instead.
4 weeks ago
Zed A. Shaw
5f1a453fb4
Refactored the maze functions to be a builder that can do different things to the maze. Also when I hit p in the game it'll save the map to a file. This was extremely hard for no reason.
2 months ago
Zed A. Shaw
d6e64dd06b
The log is now moved to the map, but changing StatusUI caused a weird compiler error so need to remove logs from that separate.
2 months ago
Zed A. Shaw
a2246d2b71
Move the map_view and mini_map into gui as well.
2 months ago
Zed A. Shaw
e6a8a8b338
Fixed the map so that it shows directional arrows instead of a compass.
4 months ago
Zed A. Shaw
c7c48658bd
Lots of dumb little edits to sort out what I'm aiming at. I'll next clean out most of this in a refactor.
4 months ago
Zed A. Shaw
72951f308f
Converted almost everything to use wstring so that it works better with SFML and the unicode/utf8 usage in the system.
4 months ago
Zed A. Shaw
d7ff7d6acf
Map view now displays a simple status message, more to come.
4 months ago
Zed A. Shaw
6fe343d82d
Bad commit previously, but not minimap updates.
4 months ago
Zed A. Shaw
322797f787
Now have a full map and a mini map, but I think the mini map will stop rendering sometimes.
4 months ago
Zed A. Shaw
2e79cf8781
Map is way better and components::Tile is _vastly_ improved by switching to a wchar_t on display and letting nlohmann::json auto convert it for me.
4 months ago
Zed A. Shaw
2b57552152
Not the greatest but this is kind of what I want for the map.
4 months ago
Zed A. Shaw
6c9016eb0f
After some prototyping I have what I think I want for the map. Just a simple piece of paper you take out that has the ASCII map on it.
4 months ago
Zed A. Shaw
a53f81715d
Have a basic map prototype gui working.
4 months ago
Zed A. Shaw
d3158291f7
Did a full code coverage review and improved many of the tests and a bunch of code. I'll do one more final walk through all the code before getting back to work on the new combat system.
4 months ago
Zed A. Shaw
54fbf22b6d
We can go down a level and there's a loading screen for it. The map and motion now matches the directions shown in the raycasting. There's now a compass that shows you the direction you're facing.
5 months ago
Zed A. Shaw
2a4ada81bb
Did some work checking the build on OSX. Looks like clang 14 is too old, will try later version.
5 months ago
Zed A. Shaw
ebaf4fc0ee
Fix map, it was moved over but scaled for the whole screen.
6 months ago
Zed A. Shaw
6da830595c
Clean up the GUI some by moving the map_view out into its own file.
6 months ago