stuck in beginners tutorial lesson 14

The Partridge Family were neither partridges nor a family. Discuss.
Post Reply
degines
Posts: 13
Joined: February 24th, 2015, 6:16 pm

stuck in beginners tutorial lesson 14

Post by degines » February 27th, 2015, 8:44 pm

everything is fine, but when the poos reach the right side of the screen the poos get transported to the bottom of the screen and only move horizontaly..

angrygamertv
Posts: 31
Joined: February 9th, 2015, 2:47 pm

Re: stuck in beginners tutorial lesson 14

Post by angrygamertv » February 27th, 2015, 9:54 pm

Could you upload your project? Read this message on how to clean your project up: http://www.planetchili.net/forum/viewto ... &t=2#p1293

degines
Posts: 13
Joined: February 24th, 2015, 6:16 pm

Re: stuck in beginners tutorial lesson 14

Post by degines » February 27th, 2015, 10:38 pm

here it is
Attachments
Chili DirectX poo game.rar
poo game
(5.48 MiB) Downloaded 178 times

cameron
Posts: 794
Joined: June 26th, 2012, 5:38 pm
Location: USA

Re: stuck in beginners tutorial lesson 14

Post by cameron » February 27th, 2015, 11:01 pm

Your solution is not cleaned...
Computer too slow? Consider running a VM on your toaster.

degines
Posts: 13
Joined: February 24th, 2015, 6:16 pm

Re: stuck in beginners tutorial lesson 14

Post by degines » February 27th, 2015, 11:09 pm

i deleted all the files?
edit: sorry here is the cleaner version
Attachments
Chili DirectX poo game.rar
s
(26.71 KiB) Downloaded 161 times

angrygamertv
Posts: 31
Joined: February 9th, 2015, 2:47 pm

Re: stuck in beginners tutorial lesson 14

Post by angrygamertv » February 28th, 2015, 12:07 am

No worries, this is an easy fix, if you look in game.cpp in the UpdatePoo() function, where it says else if( pooX [ index ]....) you have your stuff set to pooY instead of pooX, you just need to change those.

for example: pooY[ index ] = 799 - 24, needs to be pooX[ index ] = 799 - 24

degines
Posts: 13
Joined: February 24th, 2015, 6:16 pm

Re: stuck in beginners tutorial lesson 14

Post by degines » February 28th, 2015, 12:19 am

oh thanks alot!

Post Reply