stuck in beginners tutorial lesson 14
stuck in beginners tutorial lesson 14
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..
-
- Posts: 31
- Joined: February 9th, 2015, 2:47 pm
Re: stuck in beginners tutorial lesson 14
Could you upload your project? Read this message on how to clean your project up: http://www.planetchili.net/forum/viewto ... &t=2#p1293
Re: stuck in beginners tutorial lesson 14
here it is
- Attachments
-
- Chili DirectX poo game.rar
- poo game
- (5.48 MiB) Downloaded 178 times
Re: stuck in beginners tutorial lesson 14
Your solution is not cleaned...
Computer too slow? Consider running a VM on your toaster.
Re: stuck in beginners tutorial lesson 14
i deleted all the files?
edit: sorry here is the cleaner version
edit: sorry here is the cleaner version
- Attachments
-
- Chili DirectX poo game.rar
- s
- (26.71 KiB) Downloaded 161 times
-
- Posts: 31
- Joined: February 9th, 2015, 2:47 pm
Re: stuck in beginners tutorial lesson 14
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
for example: pooY[ index ] = 799 - 24, needs to be pooX[ index ] = 799 - 24
Re: stuck in beginners tutorial lesson 14
oh thanks alot!