Search found 20 matches

by SamCam
May 28th, 2020, 7:13 pm
Forum: Everything
Topic: Vector of enemies, problems with a surface?
Replies: 4
Views: 1954

Re: Vector of enemies, problems with a surface?

Also, I thought I might try posting a question on Stack Overflow about this, better described for all the peoples who aren't working with the Chili Framework. But people there seem sooo harsh and a little esoteric if not harsh, any thoughts? For example people will say "DUPLICATE QUESTION" and then ...
by SamCam
May 28th, 2020, 6:53 pm
Forum: Everything
Topic: Vector of enemies, problems with a surface?
Replies: 4
Views: 1954

Vector of enemies, problems with a surface?

Hey guys, I was bimbling along quite happily trying to create this Space shooter type game, lots of inspiration taken from Project Twin. I have managed to make a vector of animated 'laser' sprites but despite the code being pretty darn similar for the actual enemies, I keep crashing hard. I think th...
by SamCam
April 11th, 2020, 7:06 pm
Forum: Everything
Topic: Intermediate 4 Homework Help
Replies: 10
Views: 4112

Re: Intermediate 4 Homework Help

Thanks so much, just sat down to get in a couple of hours coding, I'll be working through your pull request first!

Thanks again for your help, I think I owe you more than a couple of beers now.
by SamCam
April 9th, 2020, 7:37 pm
Forum: Everything
Topic: Intermediate 4 Homework Help
Replies: 10
Views: 4112

Re: Intermediate 4 Homework Help

Sorry, that must be a link to the master branch (which includes the correct solution from Chili)

https://github.com/SamuelLouisCampbell/ ... ree/SAMDEV

This hopefully links to mine. Thanks!!
by SamCam
April 9th, 2020, 12:48 pm
Forum: Everything
Topic: Intermediate 4 Homework Help
Replies: 10
Views: 4112

Intermediate 4 Homework Help

Hey Forum, Feels like I'm so nearly there with this, time to reach out before I go ahead and just cheat. Issue: Can seem to write to a file (can't verify but the file is getting padded with bytes.) but cannot read back successfully. The integers for the value field seem to load back into the array f...
by SamCam
March 16th, 2020, 6:46 pm
Forum: Everything
Topic: Trying the Snek game again, small issue.
Replies: 5
Views: 2642

Re: Trying the Snek game again, small issue.

Whoops, no, you were right. I was changing two things before testing. Bad form!
by SamCam
March 16th, 2020, 2:30 pm
Forum: Everything
Topic: Trying the Snek game again, small issue.
Replies: 5
Views: 2642

Re: Trying the Snek game again, small issue.

Thanks once again albinopapa!

It was an issue with pre vs post incrementing, I think I can get my head around that.

Be back soon with many more questions no doubt, thanks for your time :-)
by SamCam
March 13th, 2020, 11:00 am
Forum: Everything
Topic: Trying the Snek game again, small issue.
Replies: 5
Views: 2642

Trying the Snek game again, small issue.

Hey guys; Just working through these tutorials again after some time away, thought it would be good to rebuild the projects again before moving on. I was trying to watch then code (&peek); rather than code along this time which helps me learn but also helps me break things... Having a weird issue wi...
by SamCam
January 9th, 2020, 6:01 pm
Forum: Everything
Topic: A little Help beginner C++ series, Fart Annoyed - Ball trouble
Replies: 5
Views: 2412

Re: A little Help beginner C++ series, Fart Annoyed - Ball trouble

Thanks Albinopapa! a beginners wrong turn of phrase there, I did mean RectF is a class. Those links you sent me very much helped, I hadn't written the constructors correctly. Having 'solved' that, I'm now having trouble making the ball rebound properly, it feels as though my X and Y's are getting mi...
by SamCam
January 9th, 2020, 2:19 am
Forum: Everything
Topic: A little Help beginner C++ series, Fart Annoyed - Ball trouble
Replies: 5
Views: 2412

A little Help beginner C++ series, Fart Annoyed - Ball trouble

Hey there forum, I'm really enjoying the beginner C++ series. The immediate visual way into looking at C++ is soo much better than anything I've tried before. I'm just now trying to code up Fart Annoyed without peeking too much at the videos, I've got a pretty good start, I have the RectF function a...