Search found 19 matches

by Walka
August 25th, 2019, 7:59 pm
Forum: Everything
Topic: Camera Code For Scrolling Games
Replies: 0
Views: 36

Camera Code For Scrolling Games

Here is some code that will act as a camera for games that scroll. It's a modified version of the one Chili made a long time for the original poo game. //Make this its own header file //You don't need to initalize any of the variables for the camera, everything is ready to go, but if you want to mak...
by Walka
August 25th, 2019, 7:57 pm
Forum: Everything
Topic: Collision Functions
Replies: 6
Views: 81

Collision Functions

I haven't been on here in a long time, so I'm sharing stuff that I've been working on. I'm including some files with this that handles various forms of collision testing: circle collision, point in circle, point in rectangle, line intersecting and more.
by Walka
August 25th, 2019, 7:55 pm
Forum: Everything
Topic: Sprite Drawing Tools
Replies: 11
Views: 113

Sprite Drawing Tools

This a new project I've been working on. The purpose of this program is to make it easier for you to figure exact screen positions for drawing sprites, text, shapes etc. Instead of using trial and error, this program will allow you to get the perfect screen coordinates for all your drawing needs. I ...
by Walka
June 10th, 2018, 8:22 pm
Forum: Everything
Topic: Need a bit of help with VS2017
Replies: 1
Views: 185

Need a bit of help with VS2017

Never mind. I just saw that he has a video for this. I didnt see how to delete this post so if a mod wants to delete it that would be cool. My computer recently crashed so I'm having to reinstall everything. I went to download VS 2015 but I couldn't find a link anywhere so I went ahead and downloade...
by Walka
September 15th, 2017, 6:29 am
Forum: Everything
Topic: Need Help With 2D Rotation
Replies: 9
Views: 674

Re: Need Help With 2D Rotation

I will check it out soon, I am currently grinding out Destiny 2 ;) Thanks for the help
by Walka
September 15th, 2017, 5:55 am
Forum: Everything
Topic: Need Help With 2D Rotation
Replies: 9
Views: 674

Re: Need Help With 2D Rotation

@albinopapa what you did works great and that is exactly what I was looking for. I've been over looking you code and I am having trouble understanding exactly what is happening. So I am going to check out Chili's advanced tutorials to try to understand this stuff better.
by Walka
September 15th, 2017, 5:37 am
Forum: Everything
Topic: Need Help With 2D Rotation
Replies: 9
Views: 674

Re: Need Help With 2D Rotation

Yeah, it's going to be best to understand matrix transformations if you ever want to move on to 3D. I added a matrix class and a Vec3 class to your project. I changed the Vec2 class to a template class and renamed the GetNormalized to Normalize, but those were just for my sanity. The ship now point...
by Walka
September 15th, 2017, 5:35 am
Forum: Everything
Topic: Need Help With 2D Rotation
Replies: 9
Views: 674

Re: Need Help With 2D Rotation

Yes its just a triangle with a draw line function. I will definitely check out that tutorial chili. Most things I have found online haven't really explained it well
by Walka
September 13th, 2017, 5:28 am
Forum: Everything
Topic: Need Help With 2D Rotation
Replies: 9
Views: 674

Need Help With 2D Rotation

After a lot of googling and Youtube I am lost on how to make a 2D image rotate. It seems to more I search the more confused I get lol I am attaching a simple project where I have a triangle drawn on the screen. For the sake of argument we will pretend that the triangle is a "ship". I have draw 2 sid...
by Walka
September 13th, 2017, 2:28 am
Forum: Everything
Topic: Draw Line
Replies: 5
Views: 433

Re: Draw Line

I got a quick question for you. I am trying to load my old projects in VS15 that I wrote in VS10. I am getting this error "LNK1104 cannot open file ' dxerr.lib' " any idea how to fix this?