Search found 8 matches

by Walkabp
September 13th, 2019, 6:02 pm
Forum: Everything
Topic: Collision Functions
Replies: 6
Views: 3394

Re: Collision Functions

DEM0N194 wrote:
September 10th, 2019, 9:06 am
Yeah, Discord is where all the cool kids hang out these days. . .
Where can I find a link to the discord
by Walkabp
September 13th, 2019, 5:56 pm
Forum: Everything
Topic: Sprite Drawing Tools
Replies: 11
Views: 4827

Re: Sprite Drawing Tools

Didn’t mean any disrespect. I did find a solution to the problem before your response but to be honest I didn’t understand exactly what the problem was until I read your response. I was thinking that it worked the same way as when you declare an array. So your response was actually very helpful. 😊
by Walkabp
September 6th, 2019, 7:42 am
Forum: Everything
Topic: Collision Functions
Replies: 6
Views: 3394

Re: Collision Functions

I kinda surprised this doesn’t haven’t but 1 download. This is actually pretty nifty and quick as well.
by Walkabp
September 6th, 2019, 7:36 am
Forum: Everything
Topic: Sprite Drawing Tools
Replies: 11
Views: 4827

Re: Sprite Drawing Tools

You are reserving, but not resizing. rects.reserve(NUMRECTS); All this does is allocates space for NUMRECTS, but the size is still 0. You can use rects.resize(NUMRECTS) Or, you can call .emplace_back() or .push_back() on all the new elements. Thanks for the response but I did solve the issue. I exp...
by Walkabp
September 6th, 2019, 6:38 am
Forum: Everything
Topic: Sprite Drawing Tools
Replies: 11
Views: 4827

Re: Sprite Drawing Tools

ok I found a solution that works though I don’t think it’s the best. Right after my reserve call. I call rects.emplace_back(0,0,0,0); and that fixed the assertion error
by Walkabp
September 6th, 2019, 6:14 am
Forum: Everything
Topic: Sprite Drawing Tools
Replies: 11
Views: 4827

Re: Sprite Drawing Tools

Chili you think can help solve this issue. If you compile in debug it throws the error vector subscript out of range. I’m only using one vector. It’s declared in tools.h. In my tools constructor I’m reserving 17. The program will run just fine in release.
by Walkabp
September 6th, 2019, 6:11 am
Forum: Everything
Topic: Sprite Drawing Tools
Replies: 11
Views: 4827

Re: Sprite Drawing Tools

Nice program. There is some sort of assertion fail in debug mode(vector subscript out of range) but release works fine. I thought it would be useful to use this in combination with s0llys Excel tilemap stuff . Will try to use this when i finally got enough willpower to proceed with my next game pro...
by Walkabp
September 6th, 2019, 6:05 am
Forum: Everything
Topic: Sprite Drawing Tools
Replies: 11
Views: 4827

Re: Sprite Drawing Tools

Oh shit, sounds neat. What is the new project about? :D Chili buddy ole pal long time no talk. I’ve doing a lot of coding but I don’t have internet at home. So I haven’t been active here. I’ve manage to lock myself out my account again. Can’t remember my login info. The project is just a utility al...