Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
And I was wondering what to do to increase my C skills with random stuff. Thanks for an idea! ^^
-
genex4328y@bowvernon110391 sure :D controls are - going forwards, backwards and rotating a player while standing in place.
-
genex4328y@Lasse I had an array containing all the fieIds and I was constantly updating another array (based on the position) of squares on front of the player and drew images thanks to that. I created three functions for it - one for a left wall, one for the wall in front and one for the wall on the right. I passed various arguments such as size(based on the distance) and texture (based on the appropiate character in the txt file).
-
That could be done much simpler in ShellScript than C.... Of course with more limitations and less possibilities ...
-
genex4328y@BatchBearr We were told to use C, so no other choice ;) next project wasn't that interesting though
-
Baxos7968yThis as a first uni project? I mean, maybe as an assignment for a whole semester. I'm sure this would take me at least month to do even without other subjects to worry about..
-
would you be able to send me the code for that? I'm extremely intrigued as to how you went about doing this
-
Would you consider open sourcing this project? I would really love to try this out :o
-
Wow. Classes that require projects like this actually make you a better programmer.
-
wacheson378yCool :), this vaguely reminds me of wolfenstein 3D, it also had a level editor and would work similar to this.
-
nmunro31908yI hate to echo the same sentiments as others, but I'm building a web based text game in my spare time and this would go a long way to helping me figure out how navigating the world might work.
Course I'd have to rewrite the whole thing in front end Js, but the algorithm and example code would be a massive help! -
@KeyWeeUsr that's a great idea, for almost any language :) I may have to try swift that way...
Related Rants
-
xjose97x19Just saw a variable in C named like this: long time_ago; //in a galaxy far away I laughed no stop.
-
elgringo41Student - Teacher renaming .c to .exe make the program executable ? Teacher - Yes A group of people stand up...
-
bikerwhocodes23Client : How much for the project? Me : $10,000 Client : I will give you $72.
Loved the first project at the university. Your game had to load a map from txt file and create a labirynth with a player inside. It shoud include a bird's eye view and FPS-like - all using only console characters. There were some bonus points - for example for animation or built-in map editor. (language was C)
undefined
c
doom
3d
university
wolfenstein 3d
project